1 | // $Id$ |
---|
2 | // Author: fenu2 2009/10/29 |
---|
3 | |
---|
4 | /***************************************************************************** |
---|
5 | * ESAF: Euso Simulation and Analysis Framework * |
---|
6 | * * |
---|
7 | * Id: ECCB_LTTTriggerSegment * |
---|
8 | * Package: <packagename> * |
---|
9 | * Coordinator: <coordinator> * |
---|
10 | * * |
---|
11 | *****************************************************************************/ |
---|
12 | |
---|
13 | #ifndef __ECCB_LTTTRIGGERSEGMENT_HH__ |
---|
14 | #define __ECCB_LTTTRIGGERSEGMENT_HH__ |
---|
15 | |
---|
16 | #include "TObject.h" |
---|
17 | #include "EFillable.hh" |
---|
18 | |
---|
19 | //////////////////////////////////////////////////////////////////////////////// |
---|
20 | // // |
---|
21 | // ECCB_LTTTriggerSegment // |
---|
22 | // // |
---|
23 | // <brief class description> // |
---|
24 | // // |
---|
25 | //////////////////////////////////////////////////////////////////////////////// |
---|
26 | |
---|
27 | class ECCB_LTTTriggerSegment : public TObject { |
---|
28 | public: |
---|
29 | ECCB_LTTTriggerSegment(); |
---|
30 | virtual ~ECCB_LTTTriggerSegment(); |
---|
31 | |
---|
32 | ECCB_LTTTriggerSegment ( const ECCB_LTTTriggerSegment& other ); |
---|
33 | virtual void Copy( TObject& other ) const; |
---|
34 | |
---|
35 | inline Int_t GetNumEvt() const { return fNumEvt; } |
---|
36 | inline void SetNumEvt(Int_t v) { fNumEvt=v; } |
---|
37 | |
---|
38 | inline Int_t GetMaxCount() const { return fMaxCount; } |
---|
39 | inline void SetMaxCount(Int_t v) { fMaxCount=v; } |
---|
40 | |
---|
41 | inline void SetMaxGtu(Int_t v) { fMaxGtu=v; } |
---|
42 | inline Int_t GetMaxGtu() {return fMaxGtu;} |
---|
43 | |
---|
44 | inline void SetMaxRow(Int_t v) { fMaxRow=v; } |
---|
45 | inline Int_t GetMaxRow() {return fMaxRow; } |
---|
46 | |
---|
47 | inline void SetMaxCol(Int_t v) { fMaxCol=v; } |
---|
48 | inline Int_t GetMaxCol() {return fMaxCol;} |
---|
49 | |
---|
50 | inline void SetMaxChipID(Int_t v) { fMaxChipID=v; } |
---|
51 | inline Int_t GetMaxChipID(){return fMaxChipID;} |
---|
52 | |
---|
53 | inline void SetMaxDir(Int_t v) { fMaxDir=v; } |
---|
54 | inline Int_t GetMaxDir(){return fMaxDir;} |
---|
55 | |
---|
56 | inline void SetPdmID(Int_t v) { fPdmID=v; } |
---|
57 | inline Int_t GetPdmID(){return fPdmID;} |
---|
58 | |
---|
59 | |
---|
60 | private: |
---|
61 | |
---|
62 | Int_t fNumEvt;// tells how many PDMs are triggering in one event |
---|
63 | Int_t fMaxCount;//maximum counts integrated in casse of trigger |
---|
64 | Int_t fMaxGtu;// gtu of maximum trigger |
---|
65 | Int_t fMaxRow;// EC row of trigger |
---|
66 | Int_t fMaxCol;// EC column of trigger |
---|
67 | Int_t fMaxChipID;// Chip (Elementary Cell) where the trigger happened |
---|
68 | Int_t fMaxDir;// direction under which the maximum intergration was obtained |
---|
69 | Int_t fPdmID;// PDM id where the trigger happened |
---|
70 | SetEVisitable() |
---|
71 | ClassDef(ECCB_LTTTriggerSegment,1) |
---|
72 | |
---|
73 | //friend class ThirdLevelTrigger; |
---|
74 | |
---|
75 | |
---|
76 | }; |
---|
77 | |
---|
78 | #endif /* __EBERTATRIGGERSEGMENT_HH__ */ |
---|
79 | |
---|