Back to home page

sPhenix code displayed by LXR

 
 

    


File indexing completed on 2025-08-03 08:20:03

0001 /*************************************************************************************
0002 * Copyright (c) The JETSCAPE Collaboration, 2018
0003 *
0004 * Modular, task-based framework for simulating all aspects of heavy-ion collisions
0005 * 
0006 * For the list of contributors see AUTHORS.
0007 *
0008 * Report issues at https://github.com/JETSCAPE/JETSCAPE/issues
0009 *
0010 * or via email to bugs.jetscape@gmail.com
0011 *
0012 * Distributed under the GNU General Public License 3.0 (GPLv3 or later).
0013 * See COPYING for details.
0014 *
0015 *************************************************************************************/
0016 
0017 #ifndef ADSCFT_H
0018 #define ADSCFT_H
0019 
0020 #include "JetEnergyLossModule.h"
0021 using namespace Jetscape;
0022 
0023 class AdSCFTUserInfo : public fjcore::PseudoJet::UserInfoBase {
0024 public:
0025   AdSCFTUserInfo(double ei, double f_dist, double l_dist)
0026       : _part_ei(ei), _f_dist(f_dist), _l_dist(l_dist){};
0027   double part_ei() const { return _part_ei; }
0028   double f_dist() const { return _f_dist; }
0029   double l_dist() const { return _l_dist; }
0030   double _part_ei;
0031   double _f_dist;
0032   double _l_dist;
0033   ~AdSCFTUserInfo(){};
0034 };
0035 
0036 class AdSCFT : public JetEnergyLossModule<AdSCFT> {
0037 public:
0038   AdSCFT();
0039   virtual ~AdSCFT();
0040 
0041   void Init();
0042   void Clear();
0043 
0044   void DoEnergyLoss(double deltaT, double time, double Q2, vector<Parton> &pIn,
0045                     vector<Parton> &pOut);
0046   double Drag(double f_dist, double deltaT, double Efs, double temp, double CF);
0047   void WriteTask(weak_ptr<JetScapeWriter> w);
0048 
0049 private:
0050   double tStart = 0.6; //Hydro starting time
0051   double T0;           //End of quenching temperature
0052   double Q0;           //Switching virtuality
0053   bool in_vac;         //In vacuum or not switch
0054   double kappa;        //Drag strength parameter
0055 
0056   // Allows the registration of the module so that it is available to be used by the Jetscape framework.
0057   static RegisterJetScapeModule<AdSCFT> reg;
0058 };
0059 
0060 #endif // ADSCFT_H