Hall C ROOT/C++ Analyzer (hcana)
TIBlobModule.h
Go to the documentation of this file.
1 #ifndef TIBlobModule_
2 #define TIBlobModule_
3 
4 
6 //
7 // TIBlobModule
8 // TI Trigger information
9 // This version just pulls out
10 // Trigger type
11 // Event number (just bottum 32 bits)
12 // 4ns clock
13 //
15 
16 #include "PipeliningModule.h"
17 
18 namespace Decoder {
19 
21 
22 public:
23 
25  TIBlobModule(UInt_t crate, UInt_t slot);
26  virtual ~TIBlobModule();
27 
28  using Module::GetData;
29 
30  virtual UInt_t GetData(UInt_t chan) const;
31  virtual void Init();
32  virtual void Clear(const Option_t *opt="");
33  virtual Int_t Decode(const UInt_t*) { return 0; }
34  virtual UInt_t LoadSlot( THaSlotData *sldat, const UInt_t *evbuffer, const UInt_t *pstop );
35  virtual UInt_t LoadSlot( THaSlotData *sldat, const UInt_t* evbuffer, UInt_t pos, UInt_t len);
36  virtual UInt_t LoadNextEvBuffer(THaSlotData *sldat);
37  virtual UInt_t LoadThisBlock( THaSlotData *sldat, const std::vector<UInt_t>& evbuffer);
38 
39  protected:
40  virtual Int_t SplitBuffer( const std::vector<UInt_t>& bigbuffer);
41 
42  private:
43 
44  static const size_t NTICHAN = 3;
45 
47  ClassDef(TIBlobModule,0) // TIBlob of a module;
48 
49 };
50 
51 }
52 
53 #endif
54 
const char Option_t
virtual void Clear(const Option_t *opt="")
int Int_t
TypeSet_t::iterator TypeIter_t
virtual Int_t SplitBuffer(const std::vector< UInt_t > &bigbuffer)
#define ClassDef(name, id)
static TypeIter_t fgThisType
Definition: TIBlobModule.h:46
virtual UInt_t GetData(UInt_t chan) const
static const size_t NTICHAN
Definition: TIBlobModule.h:44
unsigned int UInt_t
virtual UInt_t LoadNextEvBuffer(THaSlotData *sldat)
virtual UInt_t LoadThisBlock(THaSlotData *sldat, const std::vector< UInt_t > &evbuffer)
virtual UInt_t LoadSlot(THaSlotData *sldat, const UInt_t *evbuffer, const UInt_t *pstop)
string::size_type pos
virtual void Init()
virtual Int_t Decode(const UInt_t *)
Definition: TIBlobModule.h:33
virtual UInt_t GetData(UInt_t) const