HYDRA_development_version
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
hstart2trb3unpacker.h
Go to the documentation of this file.
1 #ifndef HSTART2TRB3UNPACKER_H
2 #define HSTART2TRB3UNPACKER_H
3 
4 #include "hlocation.h"
5 #include "htrb3tdcunpacker.h"
6 
7 #include <vector>
9 
10 class HStart2Trb3Unpacker: public HTrb3TdcUnpacker {
11 protected:
12  HLocation loc; // location of raw cell object
13  HStart2Trb3Lookup* lookup; // TRB3 lookup table
14  Bool_t timeRef; // use reference time ?
15  static Bool_t fHasPrintedTDC;
16 public:
17  HStart2Trb3Unpacker(vector<UInt_t>& ids);
19 
20  Bool_t init(void);
21  Int_t execute(void);
22  Bool_t reinit(void);
23 
24  void disableTimeRef(void) {
25  timeRef = kFALSE ;
26  }
27 
28  ClassDef(HStart2Trb3Unpacker, 0) // TRB3 unpacker for the start detector
29 };
30 
31 #endif /* !HSTART2TRB3UNPACKER_H */
32 
33 
34 
35 
36 
37 
38 
static Bool_t fHasPrintedTDC
HStart2Trb3Unpacker(vector< UInt_t > &ids)
HStart2Trb3Lookup * lookup