Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AdSCFT.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file AdSCFT.h
1 /*************************************************************************************
2 * Copyright (c) The JETSCAPE Collaboration, 2018
3 *
4 * Modular, task-based framework for simulating all aspects of heavy-ion collisions
5 *
6 * For the list of contributors see AUTHORS.
7 *
8 * Report issues at https://github.com/JETSCAPE/JETSCAPE/issues
9 *
10 * or via email to bugs.jetscape@gmail.com
11 *
12 * Distributed under the GNU General Public License 3.0 (GPLv3 or later).
13 * See COPYING for details.
14 *
15 *************************************************************************************/
16 
17 #ifndef ADSCFT_H
18 #define ADSCFT_H
19 
20 #include "JetEnergyLossModule.h"
21 using namespace Jetscape;
22 
23 class AdSCFTUserInfo : public fjcore::PseudoJet::UserInfoBase {
24 public:
25  AdSCFTUserInfo(double ei, double f_dist, double l_dist)
26  : _part_ei(ei), _f_dist(f_dist), _l_dist(l_dist){};
27  double part_ei() const { return _part_ei; }
28  double f_dist() const { return _f_dist; }
29  double l_dist() const { return _l_dist; }
30  double _part_ei;
31  double _f_dist;
32  double _l_dist;
34 };
35 
36 class AdSCFT : public JetEnergyLossModule<AdSCFT> {
37 public:
38  AdSCFT();
39  virtual ~AdSCFT();
40 
41  void Init();
42  void Clear();
43 
44  void DoEnergyLoss(double deltaT, double time, double Q2, vector<Parton> &pIn,
45  vector<Parton> &pOut);
46  double Drag(double f_dist, double deltaT, double Efs, double temp, double CF);
47  void WriteTask(weak_ptr<JetScapeWriter> w);
48 
49 private:
50  double tStart = 0.6; //Hydro starting time
51  double T0; //End of quenching temperature
52  double Q0; //Switching virtuality
53  bool in_vac; //In vacuum or not switch
54  double kappa; //Drag strength parameter
55 
56  // Allows the registration of the module so that it is available to be used by the Jetscape framework.
58 };
59 
60 #endif // ADSCFT_H