forked from JeffersonLab/SBS-offline
-
Notifications
You must be signed in to change notification settings - Fork 0
/
SBSHCal.h
34 lines (29 loc) · 1.22 KB
/
SBSHCal.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#ifndef SBSHCal_h
#define SBSHCal_h
///////////////////////////////////////////////////////////////////////////////
// //
// SBSHCal //
// //
// A sub-class of SBSCalorimeter that has Multi-valued ADC + TDC //
// //
///////////////////////////////////////////////////////////////////////////////
#include "SBSCalorimeter.h"
class SBSHCal : public SBSCalorimeter {
public:
explicit SBSHCal( const char* name, const char* description = "",
THaApparatus* a = nullptr);
virtual ~SBSHCal();
virtual Int_t ReadDatabase( const TDatime& date );
virtual Int_t Decode( const THaEvData& evdata );
virtual Int_t CoarseProcess(TClonesArray& tracks );
virtual Int_t DefineVariables( EMode mode = kDefine );
virtual void Clear( Option_t* opt="" );
protected:
Bool_t fWithLED;
Int_t fLEDCrate;
Int_t fLEDSlot;
Int_t fLEDBit;
Int_t fLEDCount;
ClassDef(SBSHCal,0) // HCal detector class
};
#endif // SBSHCal_h