1 #ifndef ALIVERTEXGENFILE_H
2 #define ALIVERTEXGENFILE_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
8 #include "AliVertexGenerator.h"
15 class AliVertexGenFile: public AliVertexGenerator {
18 AliVertexGenFile(const char* fileName, Int_t eventsPerEntry = 1);
19 virtual ~AliVertexGenFile();
21 virtual TVector3 GetVertex();
24 TFile* fFile; //! galice file with vertices
25 TTree* fTree; //! tree with headers
26 AliHeader* fHeader; //! event header
27 Int_t fEventsPerEntry; // number of events with same vertex
28 Int_t fEvent; //! current event number
30 ClassDef(AliVertexGenFile, 1) // generator for vertices taken from a file