Hall A ROOT/C++ Analyzer (podd)
Loading...
Searching...
No Matches
THaHelicity.h
Go to the documentation of this file.
1#ifndef Podd_THaHelicity_h_
2#define Podd_THaHelicity_h_
3
5//
6// THaHelicity
7//
8// In-time helicity detector - both from ADC and G0 electronics
9// (with delay=0).
10// Provides redundancy for cross-checks.
11//
13
14
15#include "THaADCHelicity.h"
16#include "THaG0HelicityReader.h"
17
19
20public:
21 THaHelicity( const char* name, const char* description,
22 THaApparatus* a = nullptr );
23 virtual ~THaHelicity();
24
25 virtual void Clear( Option_t* opt = "" );
26 virtual Int_t Decode( const THaEvData& evdata );
27
28 THaHelicity(); // For ROOT RTTI
29
30protected:
31
32 // Event-by-event data
33 Int_t fG0_Hel; // G0 helicity reading
34 Bool_t fGoodHel; // ADC and G0 helicities agree
35 Bool_t fGoodHel2; // ADC and G0 helicities agree unless one unknown
36
37 virtual Int_t DefineVariables( EMode mode = kDefine );
38 virtual Int_t ReadDatabase( const TDatime& date );
39
40 ClassDef(THaHelicity,2) // In-time helicity from ADC and G0 readout
41
42};
43
44#endif
45
#define kDefine
Definition BdataLoc.cxx:38
int Int_t
bool Bool_t
const char Option_t
#define ClassDef(name, id)
char name[80]
virtual Int_t ReadDatabase(const TDatime &date)
Bool_t fGoodHel2
Definition THaHelicity.h:35
Bool_t fGoodHel
Definition THaHelicity.h:34
virtual Int_t DefineVariables(EMode mode=kDefine)
Int_t fG0_Hel
Definition THaHelicity.h:33
virtual void Clear(Option_t *opt="")
virtual ~THaHelicity()
virtual Int_t Decode(const THaEvData &evdata)
TArc a