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