Changeset a2983ec in git for cards/delphes_card_LHCb.tcl
- Timestamp:
- Dec 22, 2014, 11:38:33 AM (10 years ago)
- Branches:
- ImprovedOutputFile, Timing, dual_readout, llp, master
- Children:
- 8c72f09
- Parents:
- 4e09c3a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cards/delphes_card_LHCb.tcl
r4e09c3a ra2983ec 8 8 9 9 set ExecutionPath { 10 10 11 11 ParticlePropagator 12 12 13 13 ChargedHadronMomentumSmearing 14 14 ElectronEnergySmearing … … 17 17 TrackMerger 18 18 ImpactParameterSmearing 19 19 20 20 IdentificationMap 21 21 22 22 ECal 23 23 HCal … … 41 41 42 42 # radius of the magnetic field coverage, in m 43 43 44 44 set Radius 3.31 45 46 45 46 47 47 # half-length of the magnetic field coverage, in m 48 48 set HalfLength 12.0 … … 53 53 # Need to veto anything with theta > 0.269 rad -> eta = 2 54 54 # theta < 0.0135 rad -> eta = 5 55 56 # tracker and calos are at approx 0.269 rad, R = 12*tan(0.269) 57 58 } 59 60 55 56 # tracker and calos are at approx 0.269 rad, R = 12*tan(0.269) 57 58 } 59 60 61 61 ######################################## 62 62 # Momentum resolution for charged tracks … … 84 84 85 85 # resolution formula for electrons 86 set ResolutionFormula { (eta > 2.0 && eta <= 5.0) * (energy > 0.1 && energy <= 8.0) * (energy*0.05) + \86 set ResolutionFormula { (eta > 2.0 && eta <= 5.0) * (energy > 0.1 && energy <= 8.0) * (energy*0.05) + 87 87 (eta > 2.0 && eta <= 5.0) * (energy > 8.0) * sqrt(energy^2*0.015^2 + energy*0.10^2)} 88 88 } … … 139 139 set InputArray ImpactParameterSmearing/tracks 140 140 set OutputArray tracks 141 141 142 142 # {PID in} {PID out} {formula} 143 143 # make sure "PID in" and "PID out" have the same charge (e.g {-13} {211} or {-321} {211}) 144 144 # {211} {-13} is equivalent to {-211} {13} (and needs to be written once only...) 145 146 147 148 149 150 151 # --- pions --- 152 153 add EfficiencyFormula {211} {211} { (eta <= 2.0) * (0.00) + \154 (eta > 2.0 && eta <= 5.0) * (pt < 0.8) * (0.00) + \155 (eta > 2.0 && eta <= 5.0) * (pt >= 0.8)* (0.95) + \145 146 147 148 149 150 151 # --- pions --- 152 153 add EfficiencyFormula {211} {211} { (eta <= 2.0) * (0.00) + 154 (eta > 2.0 && eta <= 5.0) * (pt < 0.8) * (0.00) + 155 (eta > 2.0 && eta <= 5.0) * (pt >= 0.8)* (0.95) + 156 156 (eta > 5.0) * (0.00)} 157 158 add EfficiencyFormula {211} {-13} { (eta <= 2.0) * (0.00) + \159 (eta > 2.0 && eta <= 5.0) * (pt < 0.8) * (0.00) + \160 (eta > 2.0 && eta <= 5.0) * (pt >= 0.8)* (0.005 + 0.0663*exp(-0.13*pt*cosh(eta))) + \157 158 add EfficiencyFormula {211} {-13} { (eta <= 2.0) * (0.00) + 159 (eta > 2.0 && eta <= 5.0) * (pt < 0.8) * (0.00) + 160 (eta > 2.0 && eta <= 5.0) * (pt >= 0.8)* (0.005 + 0.0663*exp(-0.13*pt*cosh(eta))) + 161 161 (eta > 5.0) * (0.00)} 162 162 163 163 164 164 # --- kaons --- 165 166 167 add EfficiencyFormula {321} {321} { (eta <= 2.0) * (0.00) + \168 (eta > 2.0 && eta <= 5.0) * (pt < 0.8) * (0.00) + \169 (eta > 2.0 && eta <= 5.0) * (pt >= 0.8)* (0.95) + \165 166 167 add EfficiencyFormula {321} {321} { (eta <= 2.0) * (0.00) + 168 (eta > 2.0 && eta <= 5.0) * (pt < 0.8) * (0.00) + 169 (eta > 2.0 && eta <= 5.0) * (pt >= 0.8)* (0.95) + 170 170 (eta > 5.0) * (0.00)} 171 172 add EfficiencyFormula {321} {-13} { (eta <= 2.0) * (0.00) + \173 (eta > 2.0 && eta <= 5.0) * (pt < 0.8) * (0.00) + \174 (eta > 2.0 && eta <= 5.0) * (pt >= 0.8)* (0.005 + 0.086*exp(-0.11*pt*cosh(eta))) + \171 172 add EfficiencyFormula {321} {-13} { (eta <= 2.0) * (0.00) + 173 (eta > 2.0 && eta <= 5.0) * (pt < 0.8) * (0.00) + 174 (eta > 2.0 && eta <= 5.0) * (pt >= 0.8)* (0.005 + 0.086*exp(-0.11*pt*cosh(eta))) + 175 175 (eta > 5.0) * (0.00)} 176 176 177 177 178 178 # --- protons --- 179 180 181 add EfficiencyFormula {2212} {2212} { (eta <= 2.0) * (0.00) + \182 (eta > 2.0 && eta <= 5.0) * (pt < 0.8) * (0.00) + \183 (eta > 2.0 && eta <= 5.0) * (pt >= 0.8)* (0.95) + \179 180 181 add EfficiencyFormula {2212} {2212} { (eta <= 2.0) * (0.00) + 182 (eta > 2.0 && eta <= 5.0) * (pt < 0.8) * (0.00) + 183 (eta > 2.0 && eta <= 5.0) * (pt >= 0.8)* (0.95) + 184 184 (eta > 5.0) * (0.00)} 185 186 add EfficiencyFormula {2212} {-13} { (eta <= 2.0) * (0.00) + \187 (eta > 2.0 && eta <= 5.0) * (pt < 0.8) * (0.00) + \188 (eta > 2.0 && eta <= 5.0) * (pt >= 0.8)* (0.002) + \185 186 add EfficiencyFormula {2212} {-13} { (eta <= 2.0) * (0.00) + 187 (eta > 2.0 && eta <= 5.0) * (pt < 0.8) * (0.00) + 188 (eta > 2.0 && eta <= 5.0) * (pt >= 0.8)* (0.002) + 189 189 (eta > 5.0) * (0.00)} 190 190 … … 195 195 196 196 197 add EfficiencyFormula {-13} {-13} { (eta <= 2.0) * (0.00) + \198 (eta > 2.0 && eta <= 5.0) * (pt < 0.8)* (0.00) + \199 (eta > 2.0 && eta <= 5.0) * (pt >= 0.8)* (0.97) + \197 add EfficiencyFormula {-13} {-13} { (eta <= 2.0) * (0.00) + 198 (eta > 2.0 && eta <= 5.0) * (pt < 0.8)* (0.00) + 199 (eta > 2.0 && eta <= 5.0) * (pt >= 0.8)* (0.97) + 200 200 (eta > 5.0) * (0.00)} 201 201 202 202 203 203 # efficiency for other charged particles (should be always {0} {0} {formula}) 204 205 add EfficiencyFormula {0} {0} { (eta <= 2.0) * (0.00) + \206 (eta > 2.0 && eta <= 5.0) * (pt < 0.8) * (0.00) + \207 (eta > 2.0 && eta <= 5.0) * (pt > 0.8) * (0.95) + \204 205 add EfficiencyFormula {0} {0} { (eta <= 2.0) * (0.00) + 206 (eta > 2.0 && eta <= 5.0) * (pt < 0.8) * (0.00) + 207 (eta > 2.0 && eta <= 5.0) * (pt > 0.8) * (0.95) + 208 208 (eta > 5.0) * (0.00)} 209 209 … … 223 223 set TowerOutputArray ecalTowers 224 224 set EFlowTowerOutputArray eflowPhotons 225 225 226 set EnergyMin 0.0 227 set EnergySignificanceMin 0.0 228 229 set SmearTowerCenter true 230 226 231 set pi [expr {acos(-1)}] 227 232 … … 241 246 add EtaPhiBins $eta $PhiBins 242 247 } 243 248 244 249 # 1.25 degree towers 245 250 set PhiBins {} … … 285 290 add EnergyFraction {3122} {0.3} 286 291 287 292 set ResolutionFormula {(eta <= 5.0 && eta > 2.0) * sqrt(energy^2*0.015^2 + energy*0.10^2)} 288 293 } 289 294 … … 298 303 set TowerOutputArray hcalTowers 299 304 set EFlowTowerOutputArray eflowNeutralHadrons 300 305 306 set EnergyMin 0.0 307 set EnergySignificanceMin 0.0 308 309 set SmearTowerCenter true 310 301 311 set pi [expr {acos(-1)}] 302 312 … … 330 340 331 341 332 342 333 343 # default energy fractions {abs(PDG code)} {Fecal Fhcal} 334 344 add EnergyFraction {0} {1.0} … … 352 362 353 363 set ResolutionFormula { (eta <= 5.0 && eta > 2.0) * sqrt(energy^2*0.05^2 + energy*0.80^2)} 354 364 } 355 365 356 366 … … 360 370 361 371 # tracks, towers and eflow objects are not stored by default in the output. 362 # if needed (for jet constituent or other studies), uncomment the relevant 363 # "add Branch ..." lines. 372 # if needed (for jet constituent or other studies), uncomment the relevant 373 # "add Branch ..." lines. 364 374 365 375 module TreeWriter TreeWriter { 366 376 # add Branch InputArray BranchName BranchClass 367 377 368 378 add Branch Delphes/allParticles Particle GenParticle 369 379 … … 371 381 add Branch HCal/eflowNeutralHadrons NeutralHadron Tower 372 382 add Branch ECal/eflowPhotons Photon Photon 373 374 } 375 383 384 } 385
Note:
See TracChangeset
for help on using the changeset viewer.