Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
MbdVertexFastSimReco.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file MbdVertexFastSimReco.h
1 #ifndef G4MBD_MBDVERTEXFASTSIMRECO_H
2 #define G4MBD_MBDVERTEXFASTSIMRECO_H
3 
4 //===========================================================
8 //===========================================================
9 
10 #include <fun4all/SubsysReco.h>
11 
12 #include <gsl/gsl_rng.h>
13 
14 #include <string> // for string
15 
16 class PHCompositeNode;
17 
23 {
24  public:
25  MbdVertexFastSimReco(const std::string &name = "MbdVertexFastSimReco");
26  ~MbdVertexFastSimReco() override;
27 
28  int Init(PHCompositeNode *topNode) override;
29  int InitRun(PHCompositeNode *topNode) override;
30  int process_event(PHCompositeNode *topNode) override;
31  int End(PHCompositeNode *topNode) override;
32 
33  void set_t_smearing(const float t_smear) { m_T_Smear = t_smear; }
34  void set_z_smearing(const float z_smear) { m_Z_Smear = z_smear; }
35 
36  private:
37  int CreateNodes(PHCompositeNode *topNode);
38 
39  float m_T_Smear;
40  float m_Z_Smear;
41 
42  gsl_rng *RandomGenerator;
43 };
44 
45 #endif // G4MBD_MBDVERTEXFASTSIMRECO_H