HYDRA_development_version
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
hrpctrbunpacker.h
Go to the documentation of this file.
1 #ifndef HRPCTRBUNPACKER_H
2 #define HRPCTRBUNPACKER_H
3 
4 #include "htrbbaseunpacker.h"
5 #include "hlocation.h"
6 
7 #include "TH2F.h"
8 
9 
10 class HTrbLookup;
11 
12 class HRpcTrbUnpacker: public HTrbBaseUnpacker {
13 
14 protected:
15  HLocation loc;
16 
17  Int_t debugRpcFlag;
18  Bool_t fNoTimeRefCorr; // Switch of Reference Time substraction (debugging)
19  Bool_t fControlHistograms; // flag for control histograms
20  TH2F *histdbos, *histdbombo, *histmbotrb, *histtrbchan; // control histos
21 
22 public:
23  HRpcTrbUnpacker(UInt_t id);
24  ~HRpcTrbUnpacker(void) { }
25 
26  Int_t execute(void);
27  Bool_t init(void);
28  Bool_t finalize(void);
29 
30  void setDebugRpcFlag(Int_t db) { debugRpcFlag = db;}
31  void disableTimeRef(void) { fNoTimeRefCorr=true; }; // Switch off Reference Time substraction (debugging)
32  void enableControlHistograms() { fControlHistograms = kTRUE; } // Switch on control histos
33 
34 
35 public:
36  ClassDef(HRpcTrbUnpacker,0) // Unpacker for Rpc data
37 };
38 
39 #endif /* !HRPCTRBUNPACKER_H */
Bool_t init(void)
Bool_t fControlHistograms
Int_t execute(void)
void enableControlHistograms()
void disableTimeRef(void)
void setDebugRpcFlag(Int_t db)
HRpcTrbUnpacker(UInt_t id)
Bool_t finalize(void)