1 | // ESAF : Euso Simulation and Analysis Framework |
---|
2 | // $Id: RecoPhotoElectronData.hh 1012 2004-09-14 12:40:23Z naumov $ |
---|
3 | // R. Pesce created Jan, 16 2004 |
---|
4 | // this class manages data about photons counted by front end electronics |
---|
5 | |
---|
6 | #ifndef __RECOPHOTOELECTRONDATA_HH_ |
---|
7 | #define __RECOPHOTOELECTRONDATA_HH_ |
---|
8 | |
---|
9 | #include "euso.hh" |
---|
10 | |
---|
11 | |
---|
12 | class RecoPhotoElectronData { |
---|
13 | public: |
---|
14 | // ctor |
---|
15 | RecoPhotoElectronData(Int_t fe, Int_t fech, Int_t gtu, Int_t cell, Bool_t fastor, |
---|
16 | Int_t xc, Int_t yc, Float_t xpos, Float_t ypos); |
---|
17 | |
---|
18 | // dtor |
---|
19 | virtual ~RecoPhotoElectronData(); |
---|
20 | |
---|
21 | // Getters |
---|
22 | inline Int_t GetFe() const { return fFe; } |
---|
23 | inline Int_t GetFeCh() const { return fFeCh; } |
---|
24 | inline Int_t GetGtu() const { return fGtu; } |
---|
25 | inline Int_t GetMacroCell() const { return fMacroCell; } |
---|
26 | inline Bool_t GetMadeFastOR() const { return fMadeFastOR; } |
---|
27 | inline Int_t GetXCell() const { return fXCell; } |
---|
28 | inline Int_t GetYCell() const { return fYCell; } |
---|
29 | inline Float_t GetXPos() const { return fXPos; } |
---|
30 | inline Float_t GetYPos() const { return fYPos; } |
---|
31 | |
---|
32 | private: |
---|
33 | |
---|
34 | Int_t fFe; // front end chip |
---|
35 | Int_t fFeCh; // front end channel |
---|
36 | Int_t fGtu; // GTU photon belong to |
---|
37 | Int_t fMacroCell; // macrocell number it |
---|
38 | Bool_t fMadeFastOR; // true if photon in counted in macrocell |
---|
39 | Int_t fXCell; // X coordinate in macrocell |
---|
40 | Int_t fYCell; // Y coordinate in macrocell |
---|
41 | Float_t fXPos; // X pos in focal surface |
---|
42 | Float_t fYPos; // Y pos in focal surface |
---|
43 | |
---|
44 | friend class RootInputModule; |
---|
45 | ClassDef(RecoPhotoElectronData,0) |
---|
46 | }; |
---|
47 | |
---|
48 | #endif /* __RECOPHOTOELECTRONDATA_HH_ */ |
---|
49 | |
---|