1 | // $Id: RecoShowerStepData.hh 2387 2005-11-23 16:02:40Z moreggia $ |
---|
2 | // Author: Sylvain Moreggia 2005/11/17 |
---|
3 | |
---|
4 | /***************************************************************************** |
---|
5 | * ESAF: Euso Simulation and Analysis Framework * |
---|
6 | * * |
---|
7 | * Id: RecoShowerStepData * |
---|
8 | * Package: <packagename> * |
---|
9 | * Coordinator: <coordinator> * |
---|
10 | * * |
---|
11 | *****************************************************************************/ |
---|
12 | |
---|
13 | #ifndef __RECOSHOWERSTEPDATA_HH__ |
---|
14 | #define __RECOSHOWERSTEPDATA_HH__ |
---|
15 | |
---|
16 | #include "euso.hh" |
---|
17 | #include "EarthVector.hh" |
---|
18 | |
---|
19 | class RecoShowerTrackData; |
---|
20 | |
---|
21 | //////////////////////////////////////////////////////////////////////////////// |
---|
22 | // // |
---|
23 | // RecoShowerStepData // |
---|
24 | // // |
---|
25 | // <brief class description> // |
---|
26 | // // |
---|
27 | //////////////////////////////////////////////////////////////////////////////// |
---|
28 | |
---|
29 | class RecoShowerStepData { |
---|
30 | public: |
---|
31 | // ctor |
---|
32 | RecoShowerStepData(Float_t,Float_t,Float_t,EarthVector,EarthVector); |
---|
33 | |
---|
34 | // dtor |
---|
35 | virtual ~RecoShowerStepData(); |
---|
36 | |
---|
37 | //getters |
---|
38 | inline Float_t GetXi() const {return fXi;} |
---|
39 | inline Float_t GetXf() const {return fXf;} |
---|
40 | inline const EarthVector& GetPosi() const {return fPosi;} |
---|
41 | inline const EarthVector& GetPosf() const {return fPosf;} |
---|
42 | inline Float_t GetNe() const {return fNe;} |
---|
43 | |
---|
44 | //setters |
---|
45 | inline void SetXi( Float_t xi ) { fXi = xi; } |
---|
46 | inline void SetXf( Float_t xf ) { fXf = xf; } |
---|
47 | inline void SetPosi(const EarthVector& posi) {fPosi = posi;} |
---|
48 | inline void SetPosf(const EarthVector& posf) {fPosf = posf;} |
---|
49 | inline void SetNe( Float_t ne ) { fNe = ne; } |
---|
50 | |
---|
51 | |
---|
52 | private: |
---|
53 | |
---|
54 | Float_t fXi; // Slant Depth of the first point of the step |
---|
55 | Float_t fXf; // Slant Depth of the last point of the step |
---|
56 | EarthVector fPosi; // 3D coordinates in MES of the first point of the step |
---|
57 | EarthVector fPosf; // 3D coordinates in MES of the last point of the step |
---|
58 | Float_t fNe; // Number of electrons at (fXf+fXi)/2 |
---|
59 | |
---|
60 | ClassDef(RecoShowerStepData,0) |
---|
61 | }; |
---|
62 | |
---|
63 | #endif /* __RECOSHOWERSTEPDATA_HH__ */ |
---|
64 | |
---|