Bug fix. Removed delete statement
[u/mrichter/AliRoot.git] / STEER / AliVertexGenFile.h
CommitLineData
14248849 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 */
5
6/* $Id$ */
7
af7ba10c 8// Generator for vertices taken from a file
9// The file name of the galice file is passed as argument
10// to the constructor.
11
14248849 12#include "AliVertexGenerator.h"
13
14class TFile;
15class TTree;
16class AliHeader;
17
18
19class AliVertexGenFile: public AliVertexGenerator {
20 public:
21 AliVertexGenFile();
22 AliVertexGenFile(const char* fileName, Int_t eventsPerEntry = 1);
23 virtual ~AliVertexGenFile();
24
25 virtual TVector3 GetVertex();
26
27 private:
90e48c0c 28 AliVertexGenFile(const AliVertexGenFile &vgf);
29 //: AliVertexGenerator(vgf) {Fatal("copy ctor","Not implemented\n");}
30 AliVertexGenFile & operator=(const AliVertexGenFile &);
31 // {Fatal("= operator","Not implemented\n"); return *this;}
14248849 32 TFile* fFile; //! galice file with vertices
33 TTree* fTree; //! tree with headers
34 AliHeader* fHeader; //! event header
35 Int_t fEventsPerEntry; // number of events with same vertex
36 Int_t fEvent; //! current event number
37
38 ClassDef(AliVertexGenFile, 1) // generator for vertices taken from a file
39};
40
41#endif
42
43
44
45
46
47
48
49
50
51
52
53
54
55