ATLAS Offline Software
Loading...
Searching...
No Matches
SCTCalibConfig.py
Go to the documentation of this file.
2#--------------------------------------------------------------
3# JobOptions for user setting in SCTCalib/SCTCalibWriteSvc
4# - Minimum inputs to run each algorithm
5#--------------------------------------------------------------
6
7#--------------------------------------------------------------
8# RunNumber and number of events
9#--------------------------------------------------------------
10#RunNumber = 364204
11#RunNumber = 364214
12RunNumber = 384813
13#RunNumber = 384896
14EvtMax = -1
15
16#--------------------------------------------------------------
17# Geometry and Conditons Tag
18# - If empty, one tag is automatically chosen in topOptions
19#--------------------------------------------------------------
20GeometryTag = '' # empty in default
21ConditionsTag = '' # empty in default
22
23#--------------------------------------------------------------
24# Global flags and beam flag
25#--------------------------------------------------------------
26DataSource = 'data' # 'data' or 'geant4'
27beamType = 'cosmics' # 'cosmics', 'singlebeam' or 'collisions'
28
29#------------------------------------------------------------
30# Flags for input
31# - TrkVal/BS : NoisyStrips, HV, DeadChip, DeadStrip
32# - HIST : NoiseOccupancy, RawOccupancy, Efficiency, BSErrorDB, LorentzAngle
33#------------------------------------------------------------
34ReadBS = True
35#------------------------------------------------------------
36# Algorithm turned on
37# - Set only one flag to True and others to False
38#------------------------------------------------------------
39#--- Algs using TrkVal or BS
40DoHitMaps = False
41DoHitMapsLB = False
42DoHV = False
43DoNoisyStrip = True
44DoDeadStrip = False
45DoDeadChip = False
46DoQuietStrip = False
47DoQuietChip = False
48#--- Algs using HIST
49DoNoiseOccupancy = False
50DoRawOccupancy = False
51DoEfficiency = False
52DoBSErrorDB = False
53DoLorentzAngle = False
54
55#------------------------------------------------------------
56# Default setup for specific flags in SCTCalib
57# - This default is for NoisyStrips
58#------------------------------------------------------------
59UseDCS = False
60UseConfiguration = True
61UseCalibration = True
62UseMajority = True
63UseBSError = False
64ReadHitMaps = True # True = 2 steps of HitMap production and analysis, False = simultaneous production and analysis
65DoBSErrors = False
66
67#------------------------------------------------------------
68# Properties in SCTCalib
69#------------------------------------------------------------
70#--- local DB
71WriteToCool = True
72
73# hitmaps
74LbsPerWindow = 30
75
76#--- Noisy strips
77NoisyUpdate = False # True = Write out difference from the existing data, False = Write out all
78NoisyWriteAllModules = True
79NoisyMinStat = 10000 # 50000 (enough), 10000 (still possible), 5000 (for commissioning)
80NoisyStripAll = True # True = All noisy strips into DB, False = Only newly found strips
81NoisyStripThrDef = True # True = Offline, False = Calib
82NoisyStripThrOffline = 1.500E-2 # Threshold in Offline
83NoisyStripThrOnline = 1.500E-3 # Threshold in Online/Calibration (TBD)
84NoisyWaferFinder = True # True = turn on noisy wafer criteria, False = turn off
85NoisyWaferWrite = True # True = include noisy wafer, False = do not include
86NoisyWaferAllStrips = False # True = write out all strips, False = only noisy strips
87NoisyWaferThrBarrel = 1.000E-3
88NoisyWaferThrECA = 1.000E-3
89NoisyWaferThrECC = 1.000E-3
90NoisyWaferFraction = 0.500
91NoisyChipFraction = 0.500
92NoisyUploadTest = True #only false during the first few runs
93NoisyModuleAverageInDB = -1.
94NoisyStripLastRunInDB = -999
95NoisyStripAverageInDB = -999.
96NoisyModuleList = 5000
97NoisyModuleDiff = 0.300
98NoisyStripDiff = 0.300
99
100#--- Dead strips/chips
101DeadStripMinStat = 5000
102DeadStripMinStatBusy = 5000
103DeadChipMinStat = 5000
104DeadStripSignificance = 6
105DeadChipSignificance = 6
106BusyThr4DeadFinding = 1E-4
107NoisyThr4DeadFinding = 5.0E-2
108DeadChipUploadTest = True
109DeadStripUploadTest = True
110DeadNotQuiet = False
111QuietThresholdStrip = 0.5
112QuietThresholdChip = 0.5
113
114#--- Efficiency
115EfficiencyDoChips = False
116
117#--- HIST
118NoiseOccupancyTriggerAware = False
119NoiseOccupancyMinStat = 5000
120RawOccupancyMinStat = 5000
121EfficiencyMinStat = 5000
122BSErrorDBMinStat = 5000
123LorentzAngleMinStat = 5000
124
125#--- Lorentz Angle Debug Mode
126LorentzAngleDebugMode = True
127
128#--------------------------------------------------------------
129# Tags for local DB and XML files in SCTCalib/SCTCalibWriteSvc
130#--------------------------------------------------------------
131TagID4NoisyStrips = 'SctDerivedMonitoring-RUN2-UPD4-005' # UPD4, open IOV for BLK
132TagID4DeadStrips = 'SctDerivedDeadStrips-003-00'
133TagID4DeadChips = 'SctDerivedDeadChips-003-00'
134TagID4NoiseOccupancy = 'SctDerivedNoiseOccupancy-003-01'
135TagID4RawOccupancy = 'SctDerivedRawOccupancy-003-00'
136TagID4Efficiency = 'SctDerivedEfficiency-003-00'
137TagID4BSErrors = 'SctDerivedBSErrorsRun2-001-00'
138TagID4LorentzAngle = 'SctDerivedLorentzAngleRun2_v2-001-00'
139
140#--------------------------------------------------------------
141# A list of GeometryTags
142# - One tag is chosen in topOptions from magnet current info
143#--------------------------------------------------------------
144GeometryTagSTF = 'ATLAS-R2-2015-03-00-00' # Solenoid=ON, BarrelToroid=ON
145GeometryTagNTF = 'ATLAS-R2-2015-03-00-00' # Solenoid=ON, BarrelToroid=OFF
146GeometryTagNSF = 'ATLAS-R2-2015-03-00-00' # Solenoid=OFF, BarrelToroid=ON
147GeometryTagNF = 'ATLAS-R2-2015-03-00-00' # Solenoid=OFF, BarrelToroid=OFF
148GeometryTagMC = 'ATLAS-R2-2015-03-00-00' # MC
149
150
151#--------------------------------------------------------------
152# A list of ConditionsTags
153# - One tag is chosen in topOptions from magnet current info
154#--------------------------------------------------------------
155#--- MC
156ConditionsTagMC = 'OFLCOND-DR-BS7T-ANom-00' # digi+rec for MC09 - Nominal
157#--- BLK : bulk production
158ConditionsTagSTF = 'CONDBR2-ES1PA-2016-03' # Solenoid=ON, BarrelToroid=ON
159ConditionsTagNTF = 'CONDBR2-ES1PA-2016-03' # Solenoid=ON, BarrelToroid=OFF
160ConditionsTagNSF = 'CONDBR2-ES1PA-2016-03' # Solenoid=OFF, BarrelToroid=ON
161ConditionsTagNF = 'CONDBR2-ES1PA-2016-03' # Solenoid=OFF, BarrelToroid=OFF
162
163#--------------------------------------------------------------
164# Read /SCT/Derived/Monotoring in COOL
165NoisyReadNumRuns = 3 # Used in a criteria for upload of NoisyStrips
166TagID4NoisyUploadTest = 'SctDerivedMonitoring-RUN2-UPD4-005'