Changeset 1362 for trunk/WuerzburgSoft/Thomas/mphys
- Timestamp:
- 06/13/02 16:28:53 (23 years ago)
- Location:
- trunk/WuerzburgSoft/Thomas/mphys
- Files:
-
- 2 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WuerzburgSoft/Thomas/mphys/MParticle.h
r1360 r1362 15 15 { 16 16 public: 17 typedef enum { kEGamma, kEElectron, kEPositron } ParticleType_t;17 typedef enum { kEGamma, kEElectron, kEPositron, kENone } ParticleType_t; 18 18 enum { kEIsPrimary = BIT(14) }; 19 19 … … 32 32 33 33 public: 34 MParticle(ParticleType_t t , const char *name=NULL, const char *title=NULL);34 MParticle(ParticleType_t t=kENone, const char *name=NULL, const char *title=NULL); 35 35 36 36 static Double_t ZofR(Double_t *x, Double_t *k=NULL); … … 51 51 // ---------------------------------------------------------------- 52 52 53 virtual Double_t GetInteractionLength() const = 0;53 virtual Double_t GetInteractionLength() const { AbstractMethod("GetInteractionLength"); return 0; } 54 54 55 55 void SetEnergy(Double_t e) { fEnergy = e; }
Note:
See TracChangeset
for help on using the changeset viewer.