Changeset 8765 for trunk/MagicSoft/Mars/mreflector
- Timestamp:
- 10/27/07 21:59:05 (17 years ago)
- Location:
- trunk/MagicSoft/Mars/mreflector
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mreflector/MRflEvtHeader.cc
r7430 r8765 30 30 #include "MRflEvtHeader.h" 31 31 32 #include "MLog.h" 33 #include "MLogManip.h" 34 32 35 ClassImp(MRflEvtHeader); 36 37 using namespace std; 33 38 34 39 // -------------------------------------------------------------------------- … … 40 45 } 41 46 47 void MRflEvtHeader::Print(Option_t *) const 48 { 49 *fLog << all; 50 *fLog << "Event Number: " << fEvtNumber << endl; 51 *fLog << "Energy: " << fEnergy << "GeV" << endl; 52 *fLog << "Height of first intercation: " << fHeightFirstInt << "cm" << endl; 53 *fLog << "Momentum X/Y/Z: " << fMomentum.X() << "/" << fMomentum.Y() << "/" << fMomentum.Z() << endl; 54 *fLog << "Zenith/Azimuth angle: " << fTheta*TMath::RadToDeg() << "/" << fPhi*TMath::RadToDeg() << endl; 55 *fLog << endl; 56 } -
trunk/MagicSoft/Mars/mreflector/MRflEvtHeader.h
r7430 r8765 72 72 void SetPhi(Float_t x) { fPhi = x; } 73 73 void SetTheta(Float_t x) { fTheta = x; } 74 74 75 75 void SetNmax(Float_t x) { fNmax = x ; } 76 76 void SetT0(Float_t x) { fT0 = x; } 77 77 void SetTmax(Float_t x) { fTmax = x ; } 78 78 void SetChi2(Float_t x) { fChi2 = x ; } 79 79 80 80 void SetEFraction(Float_t x) { fEFraction = x ; } 81 81 void SetMFraction(Float_t x) { fMFraction = x ; } 82 82 void SetOFraction(Float_t x) { fOFraction = x ; } 83 83 84 // TObject 85 void Print(Option_t *o="") const; 86 84 87 ClassDef(MRflEvtHeader, 1) // Header of an event from the reflector program 85 88 };
Note:
See TracChangeset
for help on using the changeset viewer.