Skip to content

Commit

Permalink
Add configuration with only central barrel tracking and PID detectors
Browse files Browse the repository at this point in the history
  • Loading branch information
fprino committed Mar 24, 2021
1 parent b5d5294 commit ca43112
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions MC/DetectorConfig.C
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ enum EDetector_t {
kDetectorMuon,
kDetectorPhosOnly,
kDetectorNoZDC,
kDetectorCentralBarrelTracking,
kDetectorRun3,
kDetectorCustom,
kNDetectors
Expand All @@ -23,6 +24,7 @@ const Char_t *DetectorName[kNDetectors] = {
"Muon",
"PhosOnly",
"NoZDC",
"CentralBarrelTracking",
"Run3",
"Custom"
};
Expand Down Expand Up @@ -105,6 +107,22 @@ DetectorConfig(Int_t tag)
DetectorDefault();
iZDC = 0;
break;

// kDetectorCentralBarrelTracking
case kDetectorCentralBarrelTracking:
DetectorDefault();
iZDC = 0;
iABSO = 0;
iACORDE = 0;
iAD = 0;
iDIPO = 0;
iEMCAL = 0;
iFMD = 0;
iMUON = 0;
iPHOS = 0;
iPMD = 0;
iHMPID = 0;
break;

// kDetectorRun3
case kDetectorRun3:
Expand Down

0 comments on commit ca43112

Please sign in to comment.