source: JEM-EUSO/esaf_cc_at_lal/packages/common/root/include/EPTTTriggerSegment.hh @ 114

Last change on this file since 114 was 114, checked in by moretto, 11 years ago

actual version of ESAF at CCin2p3

File size: 2.8 KB
Line 
1// $Id$
2// Author: fenu2   2009/10/29
3
4/*****************************************************************************
5 * ESAF: Euso Simulation and Analysis Framework                              *
6 *                                                                           *
7 *  Id: EPTTTriggerSegment                                                           *
8 *  Package: <packagename>                                                   *
9 *  Coordinator: <coordinator>                                               *
10 *                                                                           *
11 *****************************************************************************/
12
13#ifndef __EPTTTRIGGERSEGMENT_HH__
14#define __EPTTTRIGGERSEGMENT_HH__
15
16#include "TObject.h"
17#include "EFillable.hh"
18
19////////////////////////////////////////////////////////////////////////////////
20//                                                                            //
21// EPTTTriggerSegment                                                                 //
22//                                                                            // 
23// <brief class description>                                                  // 
24//                                                                            // 
25////////////////////////////////////////////////////////////////////////////////
26
27class EPTTTriggerSegment:public TObject
28{
29public:
30  EPTTTriggerSegment ();
31  virtual ~ EPTTTriggerSegment ();
32
33  EPTTTriggerSegment (const EPTTTriggerSegment & other);
34  virtual void Copy (TObject & other) const;
35
36  inline Int_t GetNumEvt () const
37  {
38    return fNumEvt;
39  }
40  inline void SetNumEvt (Int_t v)
41  {
42    fNumEvt = v;
43  }
44
45  inline Int_t GetMaxCount () const
46  {
47    return fMaxCount;
48  }
49  inline void SetMaxCount (Int_t v)
50  {
51    fMaxCount = v;
52  }
53
54  inline void SetMaxGtu (Int_t v)
55  {
56    fMaxGtu = v;
57  }
58  inline Int_t GetMaxGtu ()
59  {
60    return fMaxGtu;
61  }
62
63  inline void SetMaxRow (Int_t v)
64  {
65    fMaxRow = v;
66  }
67  inline Int_t GetMaxRow ()
68  {
69    return fMaxRow;
70  }
71
72  inline void SetMaxCol (Int_t v)
73  {
74    fMaxCol = v;
75  }
76  inline Int_t GetMaxCol ()
77  {
78    return fMaxCol;
79  }
80
81  inline void SetMaxChipID (Int_t v)
82  {
83    fMaxChipID = v;
84  }
85  inline Int_t GetMaxChipID ()
86  {
87    return fMaxChipID;
88  }
89
90  inline void SetPdmID (Int_t v)
91  {
92    fPdmID = v;
93  }
94  inline Int_t GetPdmID ()
95  {
96    return fPdmID;
97  }
98private:
99
100  Int_t fNumEvt;//tells how many PDMs were triggering each event
101  Int_t fMaxCount;//integration value
102  Int_t fMaxGtu;//GTU where the trig occurred
103  Int_t fMaxRow;//EC row of the trigger
104  Int_t fMaxCol;//EC col of the trigger
105  Int_t fMaxChipID;// EC id of the trigger
106  Int_t fPdmID;//PDM id of the trigger
107
108SetEVisitable ()ClassDef (EPTTTriggerSegment, 1)};
109
110#endif /* __EPTTTRIGGERSEGMENT_HH__ */
Note: See TracBrowser for help on using the repository browser.