]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
NOt all run type reconstructed with beam type UNKNOWN
authorcoppedis <coppedis@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 24 Nov 2009 08:28:51 +0000 (08:28 +0000)
committercoppedis <coppedis@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 24 Nov 2009 08:28:51 +0000 (08:28 +0000)
ZDC/AliZDCReconstructor.cxx

index 143656294599392a5a73a5aa1136c69ad50c1d17..5c504afd1c50253c2b5dd765c05b65be329894d1 100644 (file)
@@ -90,7 +90,8 @@ void AliZDCReconstructor::Init()
     
   TString beamType = GetRunInfo()->GetBeamType();
   // This is a temporary solution to allow reconstruction in tests without beam
-  if(((beamType.CompareTo("UNKNOWN"))==0)){
+  if(((beamType.CompareTo("UNKNOWN"))==0) && 
+     ((runType.CompareTo("PHYSICS"))==0 || (runType.CompareTo("CALIBRATION_BC"))==0)){
     fRecoMode=1;
   }
   /*else if((beamType.CompareTo("UNKNOWN"))==0){