22#define DEFAULT_FADCTHRESHOLD 8000
28 : fTITime(0), fTITime_last(0), fTITime_rollovers(0), fFADCModule(0),
29 fTTimeDiff(0), fHaveROCs(
kFALSE)
63 cout <<
"THcHelicityReader: Helicity information from ROC 2 (SHMS)" << endl;
109 static const char* here =
"THcHelicityReader::ReadData";
123 ::Error( here,
"ROC data (detector map) not properly set up." );
161 cout <<
"Event " << evdata.
GetEvNum() <<
" TI Trigger time missing." << endl;
162 cout <<
"Event " << evdata.
GetEvNum() <<
" TI Trigger time missing. Using FADC trigger time" << endl;
179 cout <<
"THcHelicityReader: ROC 2 not found" << endl;
180 cout <<
"Changing to ROC 1 (HMS)" << endl;
209 Int_t helpraw, helmraw, mpsraw, qrtraw;
227 if(helpraw <= 0 && helmraw <=0) {
277 if( which<kHel || which>=
kCount )
279 if( roc <= 0 || roc > 255 )
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t index
R__EXTERN class THaRunBase * gHaRun
ClassImp(VDC::AnalyticTTDConv) using namespace std
R__EXTERN class THcParmList * gHcParms
#define DEFAULT_FADCTHRESHOLD
virtual UInt_t GetTriggerTime() const
virtual ULong64_t GetEvTime() const
UInt_t GetData(Decoder::EModuleType type, UInt_t crate, UInt_t slot, UInt_t chan, UInt_t hit) const
virtual Decoder::Module * GetModule(UInt_t roc, UInt_t slot) const
virtual Int_t GetDataVersion()
virtual void Clear(Option_t *opt="")
Int_t SetROCinfo(EROC which, Int_t roc, Int_t slot, Int_t index)
Decoder::Fadc250Module * fFADCModule
virtual Int_t ReadData(const THaEvData &evdata)
virtual ~THcHelicityReader()
Int_t ReadDatabase(const char *dbfilename, const char *prefix, const TDatime &date, int debug_flag=0)
Int_t LoadParmValues(const DBRequest *list, const char *prefix="")
Retrieve parameter values from the parameter cache.
unsigned long long ULong64_t
Double_t Power(Double_t x, Double_t y)