1 void AliITSDumpVertices(Int_t firstEv=0, Int_t noev=1,
2 TString fileimp="galice.root"){
3 // This is a simple example on how to access the vertex objects
4 Int_t evmax = firstEv+noev;
5 AliRunLoader *rl = AliRunLoader::Open(fileimp.Data());
6 AliITSLoader* ITSloader = (AliITSLoader*) rl->GetLoader("ITSLoader");
7 ITSloader->LoadVertices();
8 for(Int_t i=firstEv; i<evmax; i++){
10 AliESDVertex *vert = ITSloader->GetVertex();
12 cout <<"===============================================\n";
13 cout <<" Event n. "<<i<<endl;