Class Reference for E1039 Core & Analysis Software
PHG4GenHit.h
Go to the documentation of this file.
1 #ifndef PHG4GenHit_H__
2 #define PHG4GenHit_H__
3 
4 #include <fun4all/SubsysReco.h>
5 
6 class PHG4GenHit: public SubsysReco
7 {
8  public:
9  PHG4GenHit(const std::string &name = "PHG4GenHit");
10  virtual ~PHG4GenHit() {}
11 
12  int process_event(PHCompositeNode *topNode);
13 
14  void set_phi(const double d) {phi = d;}
15  void set_theta(const double d) {theta = d;}
16  void set_eloss(const double d) {eloss = d;}
17  void set_layer(const int i) {layer = i;}
18  void Detector(const std::string &n) {detector = n;}
19 
20  protected:
21  double phi;
22  double theta;
23  double eloss;
24  int layer;
25  std::string detector;
26 
27 };
28 
29 #endif
void Detector(const std::string &n)
Definition: PHG4GenHit.h:18
std::string detector
Definition: PHG4GenHit.h:25
double phi
Definition: PHG4GenHit.h:21
virtual ~PHG4GenHit()
Definition: PHG4GenHit.h:10
void set_phi(const double d)
Definition: PHG4GenHit.h:14
PHG4GenHit(const std::string &name="PHG4GenHit")
Definition: PHG4GenHit.cc:16
void set_layer(const int i)
Definition: PHG4GenHit.h:17
double theta
Definition: PHG4GenHit.h:22
void set_eloss(const double d)
Definition: PHG4GenHit.h:16
void set_theta(const double d)
Definition: PHG4GenHit.h:15
int process_event(PHCompositeNode *topNode)
Definition: PHG4GenHit.cc:25
double eloss
Definition: PHG4GenHit.h:23