- Bool_t StatusInside() {if((fStatus&0x0001)==0) return kFALSE;
- else return kTRUE;}
- Bool_t StatusEntering() {if((fStatus&0x0002)==0) return kFALSE;
- else return kTRUE;}
- Bool_t StatusExiting() {if((fStatus&0x0004)==0) return kFALSE;
- else return kTRUE;}
- Bool_t StatusOut() {if((fStatus&0x0008)==0) return kFALSE;
- else return kTRUE;}
- Bool_t StatusDisappeared() {if((fStatus&0x00010)==0) return kFALSE;
- else return kTRUE;}
- Bool_t StatusStop() {if((fStatus&0x00020)==0) return kFALSE;
- else return kTRUE;}
- Bool_t StatusAlive() {if((fStatus&0x00030)==0) return kFALSE;
- else return kTRUE;}
+
+ Bool_t StatusInside() {
+ // checks if the particle is "inside"
+ if((fStatus&0x0001)==0) return kFALSE;
+ else return kTRUE;
+ }
+ Bool_t StatusEntering() {
+ // checks if the particle is "entering"
+ if((fStatus&0x0002)==0) return kFALSE;
+ else return kTRUE;
+ }
+ Bool_t StatusExiting() {
+ // checks if the particle is "exiting"
+ if((fStatus&0x0004)==0) return kFALSE;
+ else return kTRUE;
+ }
+ Bool_t StatusOut() {
+ // checks if the particle is "out"
+ if((fStatus&0x0008)==0) return kFALSE;
+ else return kTRUE;
+ }
+ Bool_t StatusDisappeared() {
+ // checks if the particle is "disappeared"
+ if((fStatus&0x00010)==0) return kFALSE;
+ else return kTRUE;
+ }
+ Bool_t StatusStop() {
+ // checks if the particle is "stopped"
+ if((fStatus&0x00020)==0) return kFALSE;
+ else return kTRUE;
+ }
+ Bool_t StatusAlive() {
+ // checks if the particle is "alive"
+ if((fStatus&0x00030)==0) return kFALSE;
+ else return kTRUE;
+ }
+
+ protected:
+ Int_t fStatus; // Track Status
+ Int_t fLayer; // Layer number
+ Int_t fLadder; // Ladder number
+ Int_t fDet; // Detector number
+ Float_t fPx; // PX of particle at the point of the hit
+ Float_t fPy; // PY of particle at the point of the hit
+ Float_t fPz; // PZ of particle at the point of the hit
+ Float_t fDestep; // Energy deposited in the current step
+ Float_t fTof; // Time of flight at the point of the hit