From 979e3647d297f4e39f6568bb17199cd807227d9c Mon Sep 17 00:00:00 2001 From: masera Date: Wed, 21 Jan 2004 11:35:48 +0000 Subject: [PATCH] minor protections added --- ITS/AliITSGeoPlot.C | 1 + ITS/AliITSVertexer.cxx | 2 +- ITS/AliITSVertexerZ.cxx | 5 +++-- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/ITS/AliITSGeoPlot.C b/ITS/AliITSGeoPlot.C index 27cf5dd8983..39c216dd67c 100644 --- a/ITS/AliITSGeoPlot.C +++ b/ITS/AliITSGeoPlot.C @@ -12,6 +12,7 @@ #include #include #include +#include "AliGenEventHeader.h" #include #include #include diff --git a/ITS/AliITSVertexer.cxx b/ITS/AliITSVertexer.cxx index d8c88efd059..c186ae700ca 100644 --- a/ITS/AliITSVertexer.cxx +++ b/ITS/AliITSVertexer.cxx @@ -37,7 +37,7 @@ AliITSVertexer::AliITSVertexer(TString filename) { SetLastEvent(0); rl->LoadHeader(); AliITSLoader* itsLoader = (AliITSLoader*) rl->GetLoader("ITSLoader"); - if(filename.Data()!="default")itsLoader->SetVerticesFileName(filename); + if(!filename.Contains("default"))itsLoader->SetVerticesFileName(filename); itsLoader->LoadVertices("recreate"); itsLoader->LoadRecPoints(); Int_t lst; diff --git a/ITS/AliITSVertexerZ.cxx b/ITS/AliITSVertexerZ.cxx index 574b247c705..5df3e729627 100644 --- a/ITS/AliITSVertexerZ.cxx +++ b/ITS/AliITSVertexerZ.cxx @@ -257,11 +257,12 @@ AliITSVertex* AliITSVertexerZ::FindVertexForCurrentEvent(Int_t evnumber){ fZsig+=fZCombf->GetBinCenter(n)*fZCombf->GetBinCenter(n)*fZCombf->GetBinContent(n); } if(num<2){ - cout<<"ATTENZIONE: num = "<