Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
JetEnergyLossManager.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file JetEnergyLossManager.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 #ifndef JETENERGYLOSSMANAGER_H
17 #define JETENERGYLOSSMANAGER_H
18 
19 #include "JetScapeTask.h"
20 #include "JetClass.h"
21 #include "sigslot.h"
22 
23 #include <vector>
24 
25 namespace Jetscape {
29  : public JetScapeTask,
30  public std::enable_shared_from_this<JetEnergyLossManager> {
31 
32 public:
36 
39  virtual ~JetEnergyLossManager();
40 
44  virtual void Init();
45 
48  virtual void Exec();
49 
52  virtual void Clear();
53 
58  virtual void WriteTask(weak_ptr<JetScapeWriter> w);
59 
60  int GetNumSignals();
61 
65  void CreateSignalSlots();
66 
70 
74  void SetGetHardPartonListConnected(bool m_GetHardPartonListConnected) {
75  GetHardPartonListConnected = m_GetHardPartonListConnected;
76  }
77 
82  }
83 
84 private:
86  vector<shared_ptr<Parton>> hp;
87 };
88 
89 } // end namespace Jetscape
90 
91 #endif