52 cout<<
"================================================\n";
53 cout<<
" THaQWEAKHelicityReader::Print() \n";
55 cout<<
"fPatternTir, fHelicityTir, fTSettleTir="<<
fPatternTir
58 cout<<
"fIRing="<<
fIRing<<endl<<endl;
61 cout<<j<<
"Pattern, helicity, time, T3, U3, T5, T10="
72 cout<<0<<
"Pattern, helicity, time, T3, U3, T5, T10="
81 cout<<
"================================================\n";
152 fHistoR[0]=
new TH1F(
"hel.Pattern.TIR",
"hel.Pattern.TIR",5,-0.75, 1.75);
153 fHistoR[1]=
new TH1F(
"hel.TSettle.TIR",
"hel.TSettle.TIR",5,-0.75, 1.75);
154 fHistoR[2]=
new TH1F(
"hel.Reported.Helicity.TIR",
"hel.Reported.Helicity.TIR"
156 fHistoR[3]=
new TH1F(
"hel.dTimestamp.TIR",
"hel.dTimestamp.TIR",1000,-50,49950);
157 fHistoR[4]=
new TH1F(
"hel.Pattern.Ring",
"hel.Pattern.Ring",5,-0.75, 1.75);
158 fHistoR[5]=
new TH1F(
"hel.Reported.Helicity.Ring",
"hel.Reported.Helicity.Ring"
160 fHistoR[6]=
new TH1F(
"hel.Timestamp.Ring",
"hel.Timestamp.Ring",100,-10,490);
161 fHistoR[7]=
new TH1F(
"hel.T3.Ring",
"hel.T3.Ring",53,-1.5, 50.5);
162 fHistoR[8]=
new TH1F(
"hel.U3.Ring",
"hel.U3.Ring",100,-0.5, 99.5);
163 fHistoR[9]=
new TH1F(
"hel.T5.Ring",
"hel.T5.Ring",53,-1.5, 50.5);
164 fHistoR[10]=
new TH1F(
"hel.T10.Ring",
"hel.T10.Ring",53,-1.5, 50.5);
165 fHistoR[11]=
new TH1F(
"hel.NRing",
"hel.NRing",503,-1.5, 501.5);
183 static const char*
here =
"THaQWEAKHelicityReader::ReadData";
197 ::Error(
here,
"ROC data (detector map) not properly set up." );
207 ::Error(
here ,
"Cannot find helicity" );
219 ::Error(
here,
"length of roc event not matching expectation ");
224 ::Error(
here,
"Cannot find timestamp" );
238 ::Error(
here,
"length of roc event not matching expectation (message 2)");
247 if ((header & 0xffff0000) == 0xfb1b0000)
258 ::Error(
here,
"Ring depth to large ");
317 if( which<kHel || which>
kROC3 )
319 if( roc <= 0 || roc > 255 )
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 index
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
virtual Int_t Fill(const char *name, Double_t w)
UInt_t GetRawData(UInt_t crate, UInt_t slot, UInt_t hit) const
UInt_t GetRocLength(UInt_t crate) const
ROCinfo fROCinfo[kROC3+1]
UInt_t fTimeStampRing[kHelRingDepth]
static UInt_t FindWord(const THaEvData &evdata, const ROCinfo &info)
UInt_t fPatternRing[kHelRingDepth]
UInt_t fT3Ring[kHelRingDepth]
UInt_t fHelicityRing[kHelRingDepth]
UInt_t fT10Ring[kHelRingDepth]
virtual void Clear(Option_t *opt="")
UInt_t fU3Ring[kHelRingDepth]
virtual Int_t ReadData(const THaEvData &evdata)
UInt_t fT5Ring[kHelRingDepth]
Int_t SetROCinfo(EROC which, UInt_t roc, UInt_t header, UInt_t index)
Int_t ReadDatabase(const char *dbfilename, const char *prefix, const TDatime &date, int debug_flag=0)
static const UInt_t MAXROC