8 #ifndef BEAMTIME_ERNXYTERTREESOURCE_H_ 9 #define BEAMTIME_ERNXYTERTREESOURCE_H_ 11 #include "FairSource.h" 17 #include "cls_RootEvent.h" 18 #include "WCalEvent.h" 32 virtual Bool_t Init();
34 virtual Int_t ReadEvent(UInt_t=0);
40 virtual Source_Type GetSourceType(){
return kFILE;}
41 virtual void SetParUnpackers(){}
42 virtual Bool_t InitUnpackers(){
return kTRUE;}
43 virtual Bool_t ReInitUnpackers(){
return kTRUE;}
45 void SetInFile(TString path, TString treeName, TString branchName);
47 void SetCalParameters(
const char* p_filename);
48 void SetNonLinGraphs(
const char* graph_filename);
49 void PrintCalParameters();
52 void ImportCalParameters();
53 void ImportNonLinGraphs();
62 TString fCalParFileName;
63 TString fNonLinGraphsFileName;
74 const Float_t f1ePosCorrection = 1.18;
75 Float_t fPedestalsCorrection[64];
ClassDef(ERNXyterTreeSource, 1) virtual Bool_t Init()