| 1 | #ifndef __MMcEvt__
|
|---|
| 2 | #define __MMcEvt__
|
|---|
| 3 |
|
|---|
| 4 | #ifndef MARS_MParContainer
|
|---|
| 5 | #include "MParContainer.h"
|
|---|
| 6 | #endif
|
|---|
| 7 |
|
|---|
| 8 | class MMcEvt : public MParContainer
|
|---|
| 9 | {
|
|---|
| 10 | private:
|
|---|
| 11 | UShort_t fPartId; // Type of particle
|
|---|
| 12 | Float_t fEnergy; // [GeV] Energy
|
|---|
| 13 |
|
|---|
| 14 | Float_t fTheta; // [rad] Theta angle of event
|
|---|
| 15 | Float_t fPhi; // [rad] Phi angle of event
|
|---|
| 16 |
|
|---|
| 17 | Float_t fCoreD; // Core d pos
|
|---|
| 18 | Float_t fCoreX; // Core x pos
|
|---|
| 19 | Float_t fCoreY; // Core y pos
|
|---|
| 20 | Float_t fImpact; // [mm] impact parameter
|
|---|
| 21 |
|
|---|
| 22 | UInt_t fPhotIni; // Initial number of photons
|
|---|
| 23 | UInt_t fPassPhotAtm; // Passed atmosphere
|
|---|
| 24 | UInt_t fPassPhotRef; // Passed reflector(reflectivity + effective area)
|
|---|
| 25 | UInt_t fPassPhotCone; // Passed glas
|
|---|
| 26 | UInt_t fPhotElfromShower; // Passed qe coming from the shower
|
|---|
| 27 | UInt_t fPhotElinCamera; // usPhotElfromShower + mean of phe
|
|---|
| 28 | // from NSB
|
|---|
| 29 |
|
|---|
| 30 | public:
|
|---|
| 31 | MMcEvt() ;
|
|---|
| 32 |
|
|---|
| 33 | MMcEvt( UShort_t,
|
|---|
| 34 | Float_t, Float_t, Float_t, Float_t, Float_t, Float_t, Float_t,
|
|---|
| 35 | UInt_t, UInt_t, UInt_t, UInt_t, UInt_t, UInt_t ) ;
|
|---|
| 36 |
|
|---|
| 37 | ~MMcEvt();
|
|---|
| 38 |
|
|---|
| 39 | void Clear(Option_t *opt=NULL);
|
|---|
| 40 |
|
|---|
| 41 | void Fill( UShort_t,
|
|---|
| 42 | Float_t, Float_t, Float_t, Float_t, Float_t, Float_t, Float_t,
|
|---|
| 43 | UInt_t, UInt_t, UInt_t, UInt_t, UInt_t, UInt_t ) ;
|
|---|
| 44 |
|
|---|
| 45 | //virtual void AsciiWrite(ofstream &fout) const;
|
|---|
| 46 |
|
|---|
| 47 | void Print(Option_t *opt=NULL) const;
|
|---|
| 48 |
|
|---|
| 49 | Short_t GetPartId() const { return fPartId; } //Get Type of particle
|
|---|
| 50 | Float_t GetEnergy() const { return fEnergy; } //Get Energy
|
|---|
| 51 |
|
|---|
| 52 | Float_t GetTheta() const { return fTheta; } //Get Theta angle
|
|---|
| 53 | Float_t GetPhi() const { return fPhi ; } //Get Phi angle
|
|---|
| 54 |
|
|---|
| 55 | /* Float_t GetCoreD() { return fCoreD; } //Get Core d pos */
|
|---|
| 56 | /* Float_t GetCoreX() { return fCoreX; } //Get Core x pos */
|
|---|
| 57 | /* Float_t GetCoreY() { return fCoreY; } //Get Core y pos */
|
|---|
| 58 | Float_t GetImpact() const { return fImpact;} //Get impact parameter
|
|---|
| 59 |
|
|---|
| 60 | /* UInt_t GetPhotIni() { return fPhotIni; } //Get Initial photons */
|
|---|
| 61 | /* UInt_t GetPassPhotAtm() { return fPassPhotAtm;} //Get Passed atmosphere */
|
|---|
| 62 | /* UInt_t GetPassPhotRef() { return fPassPhotRef; } //Get Passed reflector */
|
|---|
| 63 | /* UInt_t GetPassPhotCone() { return fPassPhotCone; } //Get Passed glas */
|
|---|
| 64 | UInt_t GetPhotElfromShower() { return fPhotElfromShower; } //Get Passed qe from shower
|
|---|
| 65 | /* UInt_t GetPhotElinCamera() { return fPhotElinCamera; } //Get Passed qe total*/
|
|---|
| 66 |
|
|---|
| 67 |
|
|---|
| 68 | void SetPartId(Short_t PartId)
|
|---|
| 69 | {fPartId=PartId;} //Set Type of particle
|
|---|
| 70 |
|
|---|
| 71 | void SetEnergy(Float_t Energy)
|
|---|
| 72 | { fEnergy=Energy; } //Set Energy
|
|---|
| 73 |
|
|---|
| 74 | void SetTheta(Float_t Theta)
|
|---|
| 75 | { fTheta=Theta; } //Set Theta angle
|
|---|
| 76 |
|
|---|
| 77 | void SetPhi(Float_t Phi)
|
|---|
| 78 | { fPhi=Phi; } //Set Phi angle
|
|---|
| 79 |
|
|---|
| 80 | void SetCoreD(Float_t CoreD)
|
|---|
| 81 | { fCoreD=CoreD; } //Set Core d pos
|
|---|
| 82 |
|
|---|
| 83 | void SetCoreX(Float_t CoreX)
|
|---|
| 84 | { fCoreX=CoreX; } //Set Core x pos
|
|---|
| 85 |
|
|---|
| 86 | void SetCoreY(Float_t CoreY )
|
|---|
| 87 | { fCoreY=CoreY; } //Set Core y pos
|
|---|
| 88 |
|
|---|
| 89 | void SetImpact(Float_t Impact)
|
|---|
| 90 | { fImpact=Impact;} //Set impact parameter
|
|---|
| 91 |
|
|---|
| 92 | /* void SetPhotIni(Short_t PhotIni) */
|
|---|
| 93 | /* { fPhotIni=PhotIni; } //Set Initial photons */
|
|---|
| 94 | /* void SetPassPhotAtm(Short_t PassPhotAtm) */
|
|---|
| 95 | /* { fPassPhotAtm=PassPhotAtm;} //Set Passed atmosphere */
|
|---|
| 96 | /* void SetPassPhotRef(Short_t PassPhotRef) */
|
|---|
| 97 | /* { fPassPhotRef=PassPhotRef ; } //Set Passed reflector */
|
|---|
| 98 | /* void SetPassPhotCone(Short_t PhotCon) */
|
|---|
| 99 | /* { fPassPhotCone=PhotCon; } //Set Passed glas */
|
|---|
| 100 |
|
|---|
| 101 |
|
|---|
| 102 | ClassDef(MMcEvt, 1) //Stores Montecarlo Information of one event (eg. the energy)
|
|---|
| 103 |
|
|---|
| 104 | };
|
|---|
| 105 |
|
|---|
| 106 | #endif
|
|---|