Changeset 1357 for trunk/WuerzburgSoft/Thomas/mphys/MParticle.h
- Timestamp:
- 06/12/02 14:34:27 (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WuerzburgSoft/Thomas/mphys/MParticle.h
r1356 r1357 2 2 #define MARS_MParticle 3 3 4 #ifndef MARS_MParContainer5 #include "MParContainer.h"4 #ifndef ROOT_TObject 5 #include <TObject.h> 6 6 #endif 7 7 8 class MParticle : public MParContainer 8 /* 9 #ifndef MARS_MParContainer 10 #include "MParContainer.h" 11 #endif 12 */ 13 14 class MParticle : public TObject 9 15 { 10 16 public: … … 16 22 protected: 17 23 Double_t fEnergy; // [GeV] Energy 18 // Double_t fBeta; // [1] beta19 24 20 25 Double_t fZ; // [1] Red shift … … 27 32 public: 28 33 MParticle(ParticleType_t t, const char *name=NULL, const char *title=NULL); 29 // ~MParticle(); 34 35 static Double_t ZofR(Double_t *x, Double_t *k=NULL); 36 static Double_t RofZ(Double_t *x, Double_t *k=NULL); 30 37 31 38 void operator=(MParticle &p) … … 38 45 } 39 46 40 static Double_t MParticle::ZofR(Double_t *x, Double_t *k=NULL);41 static Double_t MParticle::RofZ(Double_t *x, Double_t *k=NULL);42 43 // void Fill(const MParContainer *inp);44 45 // void Draw(Option_t *opt=NULL);46 47 virtual Double_t GetInteractionLength() const = 0; 47 48 48 49 void SetEnergy(Double_t e) { fEnergy = e; } 49 // void SetBeta(Double_t b) { fBeta = b; }50 51 50 void SetZ(Double_t z) { fZ = z; } 52 /*53 void SetPhi(Double_t p) { fPhi = p; }54 void SetR(Double_t r) { fR = r; }55 void SetTheta(Double_t t) { fTheta = t; }56 void SetPsi(Double_t p) { fPsi = p; }57 */58 51 59 52 void SetNewDirection(Double_t theta, Double_t phi);
Note:
See TracChangeset
for help on using the changeset viewer.