- void SetPrimary(Int_t index) { fPrimary = index ; }
- void SetType(Int_t type) { fType = type ; }
- void SetIndexInList(Int_t val) { fIndexInList = val ; }
-
-protected:
+ void SetPrimary(Int_t index) {
+ // sets the primary particle index
+ fPrimary = index ;
+ }
+ void SetType(Int_t type) {
+ // sets the particle type
+ fType = type ;
+ }
+ void SetIndexInList(Int_t val) {
+ // sets the value of the index in the list
+ fIndexInList = val ;
+ }
+
+ enum EParticleType { kUNDEFINED=-1, kNEUTRALEM, kNEUTRALHA, kGAMMA , kGAMMAHA ,
+ kABSURDEM, kABSURDHA , kELECTRON, kCHARGEDHA } ;
+
+ protected: