1 | // $Id$ |
---|
2 | // Author: fenu2 2009/10/29 |
---|
3 | |
---|
4 | /***************************************************************************** |
---|
5 | * ESAF: Euso Simulation and Analysis Framework * |
---|
6 | * * |
---|
7 | * Id: ELTTTriggerSegment * |
---|
8 | * Package: <packagename> * |
---|
9 | * Coordinator: <coordinator> * |
---|
10 | * * |
---|
11 | *****************************************************************************/ |
---|
12 | |
---|
13 | #ifndef __ELTTTRIGGERSEGMENT_HH__ |
---|
14 | #define __ELTTTRIGGERSEGMENT_HH__ |
---|
15 | |
---|
16 | #include "TObject.h" |
---|
17 | #include "EFillable.hh" |
---|
18 | |
---|
19 | //////////////////////////////////////////////////////////////////////////////// |
---|
20 | // // |
---|
21 | // ELTTTriggerSegment // |
---|
22 | // // |
---|
23 | // <brief class description> // |
---|
24 | // // |
---|
25 | //////////////////////////////////////////////////////////////////////////////// |
---|
26 | |
---|
27 | class ELTTTriggerSegment : public TObject { |
---|
28 | public: |
---|
29 | ELTTTriggerSegment(); |
---|
30 | virtual ~ELTTTriggerSegment(); |
---|
31 | |
---|
32 | ELTTTriggerSegment ( const ELTTTriggerSegment& 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 were triggering each event |
---|
63 | Int_t fMaxCount;//integrated counts for the triggering event |
---|
64 | Int_t fMaxGtu;//gtu where the trigger has been generated |
---|
65 | Int_t fMaxRow; //row of the pixel where the trigger has been generated |
---|
66 | Int_t fMaxCol;//col of the pixel where the trigger has been generated |
---|
67 | Int_t fMaxChipID;// PMT where the trigger has been generated |
---|
68 | Int_t fMaxDir;// direction under which the trigger has been generated |
---|
69 | Int_t fPdmID; |
---|
70 | SetEVisitable() |
---|
71 | ClassDef(ELTTTriggerSegment,1) |
---|
72 | }; |
---|
73 | |
---|
74 | #endif /* __ELTTTRIGGERSEGMENT_HH__ */ |
---|
75 | |
---|