68 static const char*
const here =
"THaG0HelicityReader::ReadDatabase";
70 FILE*
file = Podd::OpenDBFile(dbfilename, date,
here,
"r", debug_flag);
73 Int_t invert_gate = 0;
80 {
"neg_g0_gate", &invert_gate,
kInt, 0,
true, -2 },
96 ::Error(
here,
"Invalid ROC data. Fix database." );
111 static const char*
here =
"THaG0HelicityReader::ReadData";
114 ::Error(
here,
"ROC data (detector map) not properly set up." );
124 ::Error(
here ,
"Cannot find helicity" );
129 ::Error(
here,
"Cannot find timestamp" );
158 ::Warning(
here,
"Clock 1 disagrees with 2, 3; using 2: %lf %lf %lf",
163 cout <<
"Clocks: " <<
t1
164 <<
" " << t2 <<
"->" << t2t1
165 <<
" " << t3 <<
"->" << t3t1
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void data
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char Pixmap_t Pixmap_t PictureAttributes_t attr const char char ret_data h unsigned char height h Atom_t Int_t ULong_t ULong_t unsigned char prop_list Atom_t Atom_t Atom_t Time_t UChar_t len
static const char *const here
static Int_t LoadDB(FILE *file, const TDatime &date, const DBRequest *request, const char *prefix, Int_t search=0, const char *here="THaAnalysisObject::LoadDB")
UInt_t GetRawData(UInt_t crate, UInt_t slot, UInt_t hit) const
UInt_t GetRocLength(UInt_t crate) const
virtual Int_t ReadData(const THaEvData &evdata)
Int_t ReadDatabase(const char *dbfilename, const char *prefix, const TDatime &date, int debug_flag=0)
ROCinfo fROCinfo[kROC3+1]
static UInt_t FindWord(const THaEvData &evdata, const ROCinfo &info)
virtual void Clear(Option_t *opt="")
static const UInt_t MAXROC