// default constructor
AliITSVertexer();
// standard constructor
- AliITSVertexer(TFile *infile, TFile *outfile);
+ AliITSVertexer(TString filename);
// destructor
virtual ~AliITSVertexer();
// computes the vertex for the current event
virtual AliITSVertex* FindVertexForCurrentEvent(Int_t evnumb)=0;
- // computes the vetex for each event and stores it on fOutFile
+ // computes the vetex for each event and stores it on file
virtual void FindVertices()= 0;
virtual void PrintStatus() const = 0;
virtual void SetDebug(Int_t debug = 0){fDebug = debug;}
virtual void SetFirstEvent(Int_t ev){fFirstEvent = ev;}
virtual void SetLastEvent(Int_t ev){fLastEvent = ev;}
- virtual void SetInputFile(TFile *infile){fInFile = infile;}
- virtual void SetOutputFile(TFile *outfile){fOutFile = outfile;}
virtual void WriteCurrentVertex();
protected:
AliITSVertex *fCurrentVertex; //! pointer to the vertex of the current
// event
- TFile *fInFile; //! pointer to the input file
- TFile *fOutFile; //! pointer to the output file
Int_t fFirstEvent; // First event to be processed by FindVertices
Int_t fLastEvent; // Last event to be processed by FindVertices
Int_t fDebug; //! debug flag - verbose printing if >0