9 #ifndef ERTektronixSource_H 10 #define ERTektronixSource_H 20 #include "FairSource.h" 22 #include "ERNeuRadRawEvent.h" 43 virtual Bool_t Init();
45 virtual Int_t ReadEvent(UInt_t=0);
51 virtual Source_Type GetSourceType(){
return kFILE;}
53 virtual void SetParUnpackers(){}
55 virtual Bool_t InitUnpackers(){
return kTRUE;}
57 virtual Bool_t ReInitUnpackers(){
return kTRUE;}
59 void AddFile(Int_t chanel, TString path);
60 void SetNPoints(Int_t pointsNb){fNPoints = pointsNb;}
61 void SetNChanels(Int_t chanels){fNChanels = chanels;}
63 map<Int_t, vector<TString> > fPaths;
64 map<Int_t, ifstream*> fCurrenStream;
66 Int_t fNProcessedFiles;
69 map<Int_t, Int_t> fCurrentFiles;
task for reading raw data from text files
class for raw data obtained from measurements or simulations