1 #include <AliITSVertex.h>
2 #include <AliITSVertexer.h>
4 ClassImp(AliITSVertexer)
6 //////////////////////////////////////////////////////////////////////
7 // Base class for primary vertex reconstruction //
8 // AliITSVertex is a class for full 3D primary vertex finding //
9 //////////////////////////////////////////////////////////////////////
11 //______________________________________________________________________
12 AliITSVertexer::AliITSVertexer() {
13 // Default Constructor
23 AliITSVertexer::AliITSVertexer(TFile *infile, TFile *outfile) {
24 // Standard constructor
27 SetOutputFile(outfile);
34 lst = static_cast<Int_t>(gAlice->TreeE()->GetEntries());
40 //______________________________________________________________________
41 AliITSVertexer::~AliITSVertexer() {
43 // The objects poited by the following pointers are not owned
44 // by this class and are not deleted
51 //______________________________________________________________________
52 void AliITSVertexer::WriteCurrentVertex(){
53 // Write the current AliVertex object to file fOutFile
55 Error("WriteCurrentEvent","The output file is not defined");
58 TDirectory *curdir = gDirectory;
60 fCurrentVertex->Write();