]> git.uio.no Git - u/mrichter/AliRoot.git/blame - ITS/AliITSDumpVertices.C
Adaption to new fluka common blocks (E. Futo)
[u/mrichter/AliRoot.git] / ITS / AliITSDumpVertices.C
CommitLineData
1621ded2 1void AliITSDumpVertices(Int_t firstEv=0, Int_t noev=1,
2 TString fileimp="AliITSVertices.root",
d4221964 3 TString objbasename="Vertex_"){
1621ded2 4 // This is a simple example on how to access the vertex objects
1621ded2 5 Int_t evmax = firstEv+noev;
6 TFile *file = new TFile(fileimp);
7 for(Int_t i=firstEv; i<evmax; i++){
8 TString name = objbasename;
9 name += i;
10 vert = (AliITSVertex*)file->Get(name.Data());
11 if(vert){
12 cout <<"===============================================\n";
13 cout <<" Event n. "<<i<<endl;
14 vert->PrintStatus();
15 }
16 }
17}