]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Add a RecoParameter to switch off the check of triggered sub-detectors in the tracker
authorprino <prino@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 21 Jan 2010 18:28:44 +0000 (18:28 +0000)
committerprino <prino@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 21 Jan 2010 18:28:44 +0000 (18:28 +0000)
ITS/AliITSRecoParam.cxx
ITS/AliITSRecoParam.h
ITS/AliITStrackerMI.cxx

index fe6ecc6d9698900b94c0954ccbd8fa00d664bd3a..b6f973f983dfcac5b9d60fe4f6f3ad41449b882e 100644 (file)
@@ -109,6 +109,7 @@ fZWindowDeadZone(0),
 fSigmaXDeadZoneHit2(0),
 fSigmaZDeadZoneHit2(0),
 fXPassDeadZoneHits(0),
+fSkipSubdetsNotInTriggerCluster(kTRUE),
 fUseTGeoInTracker(3),
 fStepSizeTGeo(5.),
 fAllowSharedClusters(kTRUE),
index 8d6e96b9055d8da87df78adf861442b79346e259..81e9422e47088abe8215c0fd4a1d38ad9e0cdad7 100644 (file)
@@ -183,7 +183,8 @@ class AliITSRecoParam : public AliDetectorRecoParam
   Double_t GetSigmaZDeadZoneHit2() const { return fSigmaZDeadZoneHit2; }
   Double_t GetXPassDeadZoneHits() const { return fXPassDeadZoneHits; }
 
-
+  Bool_t   GetSkipSubdetsNotInTriggerCluster() const { return fSkipSubdetsNotInTriggerCluster; }
+  void     SetSkipSubdetsNotInTriggerCluster(Bool_t flag=kTRUE) { fSkipSubdetsNotInTriggerCluster=flag; }
 
   void   SetUseTGeoInTracker(Int_t use=1) { fUseTGeoInTracker=use; return; }
   Int_t  GetUseTGeoInTracker() const { return fUseTGeoInTracker; }
@@ -495,6 +496,7 @@ class AliITSRecoParam : public AliDetectorRecoParam
   Double_t fSigmaZDeadZoneHit2; // z error virtual cls
   Double_t fXPassDeadZoneHits;  // x distance between clusters
 
+  Bool_t fSkipSubdetsNotInTriggerCluster; // skip the subdetectors that are not in the trigger cluster
 
   Int_t fUseTGeoInTracker; // use TGeo to get material budget in tracker MI
   Double_t fStepSizeTGeo; // step size (cm)
@@ -605,7 +607,7 @@ class AliITSRecoParam : public AliDetectorRecoParam
   AliITSRecoParam(const AliITSRecoParam & param);
   AliITSRecoParam & operator=(const AliITSRecoParam &param);
 
-  ClassDef(AliITSRecoParam,26) // ITS reco parameters
+  ClassDef(AliITSRecoParam,27) // ITS reco parameters
 };
 
 #endif
index 8a3e2fbb3ccb634387f3143bb447933c9e9e4a41..f586de63b26dd5c6e889ba7ea767b69ccc361986 100644 (file)
@@ -4290,7 +4290,8 @@ void AliITStrackerMI::SetForceSkippingOfLayer() {
     if(AliITSReconstructor::GetRecoParam()->GetLayersToSkip(l)) fForceSkippingOfLayer[l] = 1;
     // check run info
 
-    if(eventInfo) {
+    if(eventInfo && 
+       AliITSReconstructor::GetRecoParam()->GetSkipSubdetsNotInTriggerCluster()) {
       AliDebug(2,Form("GetEventInfo->GetTriggerCluster: %s",eventInfo->GetTriggerCluster()));
       if(l==0 || l==1)  {
        if(!strstr(eventInfo->GetTriggerCluster(),"ITSSPD")) fForceSkippingOfLayer[l] = 1;