Hall-D Software  alpha
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
CereHit.h
Go to the documentation of this file.
1 /*
2  * CereHit.h
3  *
4  * Created on: Oct 11, 2012
5  * Author: yqiang
6  */
7 
8 #ifndef CEREHIT_H_
9 #define CEREHIT_H_
10 
11 #include <TObject.h>
12 
13 class CereHit: public TObject {
14 
15 public:
16 
17  CereHit() {
18  pe = 0;
19  t = 0;
20  }
21  ;
23  }
24  ;
25 
26  // Data members
27  Int_t sector; // sector hit
28  Double_t pe; // number of photoelectrons
29  Double_t t; // hit time
30 
31  // Copy constructor
32  CereHit& operator=(const CereHit &prt) {
33  this->sector = prt.sector;
34  this->pe = prt.pe;
35  this->t = prt.t;
36  return *this;
37  }
38 
39 private:
40  ClassDef(CereHit,1);
41 
42 };
43 
44 #endif /* CEREHIT_H_ */
Double_t pe
Definition: CereHit.h:28
~CereHit()
Definition: CereHit.h:22
CereHit & operator=(const CereHit &prt)
Definition: CereHit.h:32
CereHit()
Definition: CereHit.h:17
ClassDef(CereHit, 1)
Double_t t
Definition: CereHit.h:29
Int_t sector
Definition: CereHit.h:24