Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PHG4Prototype2HcalCellReco.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file PHG4Prototype2HcalCellReco.h
1 // Tell emacs that this is a C++ source
2 // -*- C++ -*-.
3 #ifndef G4CALOPROTOTYPE_PHG4PROTOTYPE2HCALCELLRECO_H
4 #define G4CALOPROTOTYPE_PHG4PROTOTYPE2HCALCELLRECO_H
5 
6 #include <phparameter/PHParameterInterface.h>
7 
8 #include <fun4all/SubsysReco.h>
9 #include <string>
10 
11 class PHCompositeNode;
12 
14 {
15  public:
16  PHG4Prototype2HcalCellReco(const std::string &name = "Prototype2HcalCELLRECO");
17 
20  int InitRun(PHCompositeNode *topNode);
21 
23  int process_event(PHCompositeNode *topNode);
24 
25  void SetDefaultParameters();
26 
27  void Detector(const std::string &d) { m_Detector = d; }
28  void checkenergy(const int i = 1) { m_CheckEnergyConservationFlag = i; }
29  void set_timing_window(const double tmi, const double tma);
30 
31  private:
32  int CheckEnergy(PHCompositeNode *topNode);
37 
38  double m_Tmin;
39  double m_Tmax;
40 };
41 
42 #endif // G4DETECTORS_PHG4PROTOTYPE2HCALCELLRECO_H