]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - STEER/AliReconstruction.cxx
Bug #56691: Switch off vertex finder only in case ALL the ITS detectors are off ...
[u/mrichter/AliRoot.git] / STEER / AliReconstruction.cxx
index a341e5c6507386680c3bb22c0385a86ffc864cee..019b63572f16fd4c23e1fe2540d1ee0c4df8b3df 100644 (file)
@@ -1010,9 +1010,11 @@ Bool_t AliReconstruction::InitGRP() {
                  fFillESD.Data(),
                  fQADetectors.Data());
     fLoadCDB = MatchDetectorList(fLoadCDB,detMask);
-    if (!((detMask >> AliDAQ::DetectorID("ITSSPD")) & 0x1)) {
+    if (!((detMask >> AliDAQ::DetectorID("ITSSPD")) & 0x1) &&
+       !((detMask >> AliDAQ::DetectorID("ITSSDD")) & 0x1) &&
+       !((detMask >> AliDAQ::DetectorID("ITSSSD")) & 0x1) ) {
       // switch off the vertexer
-      AliInfo("SPD is not in the list of active detectors. Vertexer switched off.");
+      AliInfo("SPD,SDD,SSD is not in the list of active detectors. Vertexer switched off.");
       fRunVertexFinder = kFALSE;
     }
     if (!((detMask >> AliDAQ::DetectorID("TRG")) & 0x1)) {