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