source: trunk/MagicSoft/include-Classes/MMcFormat/MMcEvt.hxx@ 991

Last change on this file since 991 was 991, checked in by tbretz, 23 years ago
*** empty log message ***
File size: 3.6 KB
Line 
1#ifndef __MMcEvt__
2#define __MMcEvt__
3
4#ifndef MPARCONTAINER_H
5#include "MParContainer.h"
6#endif
7
8class MMcEvt : public MParContainer
9{
10 private:
11 UShort_t fPartId; // Type of particle
12 Float_t fEnergy; // Energy in GeV
13
14 Float_t fTheta; // Theta angle of event
15 Float_t fPhi; // 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; // 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
46 void Print(Option_t *opt=NULL) const;
47
48 Short_t GetPartId() const { return fPartId; } //Get Type of particle
49 Float_t GetEnergy() const { return fEnergy; } //Get Energy
50
51 Float_t GetTheta() const { return fTheta; } //Get Theta angle
52 Float_t GetPhi() const { return fPhi ; } //Get Phi angle
53
54/* Float_t GetCoreD() { return fCoreD; } //Get Core d pos */
55/* Float_t GetCoreX() { return fCoreX; } //Get Core x pos */
56/* Float_t GetCoreY() { return fCoreY; } //Get Core y pos */
57 Float_t GetImpact() const { return fImpact;} //Get impact parameter
58
59/* UInt_t GetPhotIni() { return fPhotIni; } //Get Initial photons */
60/* UInt_t GetPassPhotAtm() { return fPassPhotAtm;} //Get Passed atmosphere */
61/* UInt_t GetPassPhotRef() { return fPassPhotRef; } //Get Passed reflector */
62/* UInt_t GetPassPhotCone() { return fPassPhotCone; } //Get Passed glas */
63 UInt_t GetPhotElfromShower() { return fPhotElfromShower; } //Get Passed qe from shower
64/* UInt_t GetPhotElinCamera() { return fPhotElinCamera; } //Get Passed qe total*/
65
66
67 void SetPartId(Short_t PartId)
68 {fPartId=PartId;} //Set Type of particle
69
70 void SetEnergy(Float_t Energy)
71 { fEnergy=Energy; } //Set Energy
72
73 void SetTheta(Float_t Theta)
74 { fTheta=Theta; } //Set Theta angle
75
76 void SetPhi(Float_t Phi)
77 { fPhi=Phi; } //Set Phi angle
78
79 void SetCoreD(Float_t CoreD)
80 { fCoreD=CoreD; } //Set Core d pos
81
82 void SetCoreX(Float_t CoreX)
83 { fCoreX=CoreX; } //Set Core x pos
84
85 void SetCoreY(Float_t CoreY )
86 { fCoreY=CoreY; } //Set Core y pos
87
88 void SetImpact(Float_t Impact)
89 { fImpact=Impact;} //Set impact parameter
90
91/* void SetPhotIni(Short_t PhotIni) */
92/* { fPhotIni=PhotIni; } //Set Initial photons */
93/* void SetPassPhotAtm(Short_t PassPhotAtm) */
94/* { fPassPhotAtm=PassPhotAtm;} //Set Passed atmosphere */
95/* void SetPassPhotRef(Short_t PassPhotRef) */
96/* { fPassPhotRef=PassPhotRef ; } //Set Passed reflector */
97/* void SetPassPhotCone(Short_t PhotCon) */
98/* { fPassPhotCone=PhotCon; } //Set Passed glas */
99
100
101 ClassDef(MMcEvt, 1) //Stores Montecarlo Information of one event (eg. the energy)
102
103};
104
105#endif
Note: See TracBrowser for help on using the repository browser.