Hall A ROOT/C++ Analyzer (podd)
Loading...
Searching...
No Matches
Caen775Module.h
Go to the documentation of this file.
1#ifndef Podd_Caen775Module_h_
2#define Podd_Caen775Module_h_
3
5//
6// Caen775Module
7// Single Hit TDC with adjustable FSR and resolution
8//
10
11#include "VmeModule.h"
12
13namespace Decoder {
14
15class Caen775Module : public VmeModule {
16
17public:
18
19 Caen775Module() = default;
20 Caen775Module( UInt_t crate, UInt_t slot );
21 virtual ~Caen775Module() = default;
22
24 using VmeModule::Init;
25
26 virtual UInt_t GetData( UInt_t chan) const;
27 virtual void Init();
28 virtual void Clear(Option_t *opt="");
29 virtual Int_t Decode(const UInt_t*) { return 0; }
30 virtual UInt_t LoadSlot( THaSlotData *sldat, const UInt_t *evbuffer, const UInt_t *pstop );
31 virtual UInt_t LoadSlot( THaSlotData *sldat, const UInt_t* evbuffer, UInt_t pos, UInt_t len );
32 virtual const char* MyModType() {return "tdc";}
33 virtual const char* MyModName() {return "775";}
34
35private:
36
37 static const size_t NTDCCHAN = 32;
38
40 ClassDef(Caen775Module,0) // Caen775 of a module; make your replacements
41
42};
43
44}
45
46#endif
int Int_t
unsigned int UInt_t
uint32_t chan
const char Option_t
#define ClassDef(name, id)
virtual UInt_t GetData(UInt_t chan) const
virtual ~Caen775Module()=default
static const size_t NTDCCHAN
virtual const char * MyModType()
virtual void Clear(Option_t *opt="")
static TypeIter_t fgThisType
virtual UInt_t LoadSlot(THaSlotData *sldat, const UInt_t *evbuffer, const UInt_t *pstop)
virtual const char * MyModName()
virtual Int_t Decode(const UInt_t *)
virtual void Init()
Definition Module.cxx:51
TypeSet_t::iterator TypeIter_t
Definition Module.h:40
virtual UInt_t GetData(UInt_t) const
Definition Module.h:51