Changeset 618 for trunk/MagicSoft/include-Classes/MMcFormat
- Timestamp:
- 02/22/01 20:07:17 (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/include-Classes/MMcFormat/MMcEvt.hxx
r574 r618 9 9 10 10 #include <iostream.h> 11 #include " TObject.h"11 #include "MParContainer.h" 12 12 13 13 14 class MMcEvt : public TObject{14 class MMcEvt : public MParContainer{ 15 15 private: 16 UShort_t usPartId; // Type of particle16 UShort_t fPartId; // Type of particle 17 17 Float_t fEnergy; // Energy in GeV 18 18 … … 25 25 Float_t fImpact; // impact parameter 26 26 27 UShort_t usPhotIni; // Initial number of photons 28 UShort_t usPassPhotAtm; // Passed atmosphere 29 UShort_t usPassPhotRef; // Passed reflector 30 UShort_t usPassPhotCone; // Passed glas 31 UShort_t usPhotEl ; // Passed qe 32 27 UInt_t fPhotIni; // Initial number of photons 28 UInt_t fPassPhotAtm; // Passed atmosphere 29 UInt_t fPassPhotRef; // Passed reflector(reflectivity + effective area) 30 UInt_t fPassPhotCone; // Passed glas 31 UInt_t fPhotElfromShower; // Passed qe coming from the shower 32 UInt_t fPhotElinCamera; // usPhotElfromShower + mean of phe 33 // from NSB 33 34 34 35 public: … … 37 38 MMcEvt( UShort_t, 38 39 Float_t, Float_t, Float_t, Float_t, Float_t, Float_t, Float_t, 39 U Short_t, UShort_t, UShort_t, UShort_t, UShort_t ) ;40 UInt_t, UInt_t, UInt_t, UInt_t, UInt_t, UInt_t ) ; 40 41 41 42 ~MMcEvt(); … … 45 46 void Fill( UShort_t, 46 47 Float_t, Float_t, Float_t, Float_t, Float_t, Float_t, Float_t, 47 U Short_t, UShort_t, UShort_t, UShort_t, UShort_t ) ;48 UInt_t, UInt_t, UInt_t, UInt_t, UInt_t, UInt_t ) ; 48 49 49 50 50 51 void Print(Option_t *); 51 52 52 53 54 Short_t GetPartId() const { return usPartId; } //Get Type of particle 53 Short_t GetPartId() const { return fPartId; } //Get Type of particle 55 54 Float_t GetEnergy() const { return fEnergy; } //Get Energy 56 55 … … 63 62 Float_t GetImpact() const { return fImpact;} //Get impact parameter 64 63 65 /* Short_t GetPhotIni() { return usPhotIni; } //Get Initial photons */ 66 /* Short_t GetPassPhotAtm() { return usPassPhotAtm;} //Get Passed atmosphere */ 67 /* Short_t GetPassPhotRef() { return usPassPhotRef; } //Get Passed reflector */ 68 /* Short_t GetPassPhotCone() { return usPassPhotCone; } //Get Passed glas */ 69 /* Short_t GetPhotEl() { return usPhotEl; } //Get Passed qe */ 64 /* UInt_t GetPhotIni() { return fPhotIni; } //Get Initial photons */ 65 /* UInt_t GetPassPhotAtm() { return fPassPhotAtm;} //Get Passed atmosphere */ 66 /* UInt_t GetPassPhotRef() { return fPassPhotRef; } //Get Passed reflector */ 67 /* UInt_t GetPassPhotCone() { return fPassPhotCone; } //Get Passed glas */ 68 /* UInt_t GetPhotElfromShower() { return fPhotElfromShower; } //Get Passed qe from shower*/ 69 /* UInt_t GetPhotElinCamera() { return fPhotElinCamera; } //Get Passed qe total*/ 70 70 71 71 72 void SetPartId(Short_t PartId) 73 {fPartId=PartId;} //Set Type of particle 72 74 73 /* void SetPartId(Short_t PartId) */ 74 /* { usPartId=PartId; } //Set Type of particle */ 75 /* void SetEnergy(Float_t Energy) */ 76 /* { fEnergy=Energy; } //Set Energy */ 75 void SetEnergy(Float_t Energy) 76 { fEnergy=Energy; } //Set Energy 77 77 78 /* void SetTheta(Float_t Theta) */ 79 /* { fTheta=Theta; } //Set Theta angle */ 80 /* void SetPhi(Float_t Phi) */ 81 /* { fPhi=Phi; } //Set Phi angle */ 78 void SetTheta(Float_t Theta) 79 { fTheta=Theta; } //Set Theta angle 80 81 void SetPhi(Float_t Phi) 82 { fPhi=Phi; } //Set Phi angle 82 83 83 /* void SetCoreD(Float_t CoreD) */ 84 /* { fCoreD=CoreD; } //Set Core d pos */ 85 /* void SetCoreX(Float_t CoreX) */ 86 /* { fCoreX=CoreX; } //Set Core x pos */ 87 /* void SetCoreY(Float_t CoreY ) */ 88 /* { fCoreY=CoreY; } //Set Core y pos */ 89 /* void SetImpact(Float_t Impact) */ 90 /* { fImpact=Impact;} //Set impact parameter */ 84 void SetCoreD(Float_t CoreD) 85 { fCoreD=CoreD; } //Set Core d pos 86 87 void SetCoreX(Float_t CoreX) 88 { fCoreX=CoreX; } //Set Core x pos 89 90 void SetCoreY(Float_t CoreY ) 91 { fCoreY=CoreY; } //Set Core y pos 92 93 void SetImpact(Float_t Impact) 94 { fImpact=Impact;} //Set impact parameter 91 95 92 96 /* void SetPhotIni(Short_t PhotIni) */ 93 /* { usPhotIni=PhotIni; } //Set Initial photons */97 /* { fPhotIni=PhotIni; } //Set Initial photons */ 94 98 /* void SetPassPhotAtm(Short_t PassPhotAtm) */ 95 /* { usPassPhotAtm=PassPhotAtm;} //Set Passed atmosphere */99 /* { fPassPhotAtm=PassPhotAtm;} //Set Passed atmosphere */ 96 100 /* void SetPassPhotRef(Short_t PassPhotRef) */ 97 /* { usPassPhotRef=PassPhotRef ; } //Set Passed reflector */101 /* { fPassPhotRef=PassPhotRef ; } //Set Passed reflector */ 98 102 /* void SetPassPhotCone(Short_t PhotCon) */ 99 /* { usPassPhotCone=PhotCon; } //Set Passed glas */ 100 /* void SetPhotEl(Short_t PhotEl) */ 101 /* { usPhotEl=PhotEl; } //Set Passed qe */ 103 /* { fPassPhotCone=PhotCon; } //Set Passed glas */ 102 104 103 105
Note:
See TracChangeset
for help on using the changeset viewer.