1 void AliITSDumpVertices(Int_t firstEv=0, Int_t noev=1,
2 TString fileimp="AliITSVertices.root",
3 TString objbasename="VertexTracks_"){
4 // This is a simple example on how to access the vertex objects
5 // The default object base name is VertexTracks_ for AliITSVertexerTracks
6 // Vertex_ for AliITSVertexerPPZ
7 // Vertex_ for AliITSVertexerIons
8 Int_t evmax = firstEv+noev;
9 TFile *file = new TFile(fileimp);
10 for(Int_t i=firstEv; i<evmax; i++){
11 TString name = objbasename;
13 vert = (AliITSVertex*)file->Get(name.Data());
15 cout <<"===============================================\n";
16 cout <<" Event n. "<<i<<endl;