[d7d2da3] | 1 | #######################################
|
---|
| 2 | # Order of execution of various modules
|
---|
| 3 | #######################################
|
---|
| 4 |
|
---|
| 5 | set ExecutionPath {
|
---|
| 6 | ParticlePropagator
|
---|
| 7 |
|
---|
| 8 | ChargedHadronTrackingEfficiency
|
---|
| 9 | ElectronTrackingEfficiency
|
---|
| 10 | MuonTrackingEfficiency
|
---|
| 11 |
|
---|
| 12 | ChargedHadronMomentumSmearing
|
---|
[934d037] | 13 | ElectronMomentumSmearing
|
---|
[d7d2da3] | 14 | MuonMomentumSmearing
|
---|
| 15 |
|
---|
| 16 | TrackMerger
|
---|
| 17 | Calorimeter
|
---|
| 18 | EFlowMerger
|
---|
| 19 |
|
---|
| 20 | PhotonEfficiency
|
---|
| 21 | PhotonIsolation
|
---|
| 22 |
|
---|
[934d037] | 23 | ElectronFilter
|
---|
[d7d2da3] | 24 | ElectronEfficiency
|
---|
| 25 | ElectronIsolation
|
---|
| 26 |
|
---|
| 27 | MuonEfficiency
|
---|
| 28 | MuonIsolation
|
---|
| 29 |
|
---|
| 30 | MissingET
|
---|
| 31 |
|
---|
[be2222c] | 32 | NeutrinoFilter
|
---|
[d7d2da3] | 33 | GenJetFinder
|
---|
[59d6164] | 34 | GenMissingET
|
---|
| 35 |
|
---|
[d7d2da3] | 36 | FastJetFinder
|
---|
[fe3908f] | 37 | FastCaloJetFinder
|
---|
[d7d2da3] | 38 |
|
---|
[8839353] | 39 | JetEnergyScale
|
---|
[d7d2da3] | 40 |
|
---|
[6153fb0] | 41 | JetFlavorAssociation
|
---|
| 42 |
|
---|
[d7d2da3] | 43 | BTagging
|
---|
| 44 | TauTagging
|
---|
| 45 |
|
---|
| 46 | UniqueObjectFinder
|
---|
| 47 |
|
---|
| 48 | ScalarHT
|
---|
| 49 |
|
---|
| 50 | TreeWriter
|
---|
| 51 | }
|
---|
| 52 |
|
---|
| 53 | #################################
|
---|
| 54 | # Propagate particles in cylinder
|
---|
| 55 | #################################
|
---|
| 56 |
|
---|
| 57 | module ParticlePropagator ParticlePropagator {
|
---|
| 58 | set InputArray Delphes/stableParticles
|
---|
| 59 |
|
---|
| 60 | set OutputArray stableParticles
|
---|
| 61 | set ChargedHadronOutputArray chargedHadrons
|
---|
| 62 | set ElectronOutputArray electrons
|
---|
| 63 | set MuonOutputArray muons
|
---|
| 64 |
|
---|
| 65 | # radius of the magnetic field coverage, in m
|
---|
| 66 | set Radius 1.29
|
---|
| 67 | # half-length of the magnetic field coverage, in m
|
---|
| 68 | set HalfLength 3.00
|
---|
| 69 |
|
---|
| 70 | # magnetic field
|
---|
| 71 | set Bz 3.8
|
---|
| 72 | }
|
---|
| 73 |
|
---|
| 74 | ####################################
|
---|
| 75 | # Charged hadron tracking efficiency
|
---|
| 76 | ####################################
|
---|
| 77 |
|
---|
| 78 | module Efficiency ChargedHadronTrackingEfficiency {
|
---|
| 79 | set InputArray ParticlePropagator/chargedHadrons
|
---|
| 80 | set OutputArray chargedHadrons
|
---|
| 81 |
|
---|
| 82 | # add EfficiencyFormula {efficiency formula as a function of eta and pt}
|
---|
| 83 |
|
---|
| 84 | # tracking efficiency formula for charged hadrons
|
---|
[a2983ec] | 85 | set EfficiencyFormula { (pt <= 0.1) * (0.00) +
|
---|
| 86 | (abs(eta) <= 1.5) * (pt > 0.1 && pt <= 1.0) * (0.70) +
|
---|
| 87 | (abs(eta) <= 1.5) * (pt > 1.0) * (0.95) +
|
---|
| 88 | (abs(eta) > 1.5 && abs(eta) <= 2.5) * (pt > 0.1 && pt <= 1.0) * (0.60) +
|
---|
| 89 | (abs(eta) > 1.5 && abs(eta) <= 2.5) * (pt > 1.0) * (0.85) +
|
---|
[d7d2da3] | 90 | (abs(eta) > 2.5) * (0.00)}
|
---|
| 91 | }
|
---|
| 92 |
|
---|
| 93 | ##############################
|
---|
| 94 | # Electron tracking efficiency
|
---|
| 95 | ##############################
|
---|
| 96 |
|
---|
| 97 | module Efficiency ElectronTrackingEfficiency {
|
---|
| 98 | set InputArray ParticlePropagator/electrons
|
---|
| 99 | set OutputArray electrons
|
---|
| 100 |
|
---|
| 101 | # set EfficiencyFormula {efficiency formula as a function of eta and pt}
|
---|
| 102 |
|
---|
| 103 | # tracking efficiency formula for electrons
|
---|
[a2983ec] | 104 | set EfficiencyFormula { (pt <= 0.1) * (0.00) +
|
---|
| 105 | (abs(eta) <= 1.5) * (pt > 0.1 && pt <= 1.0) * (0.73) +
|
---|
| 106 | (abs(eta) <= 1.5) * (pt > 1.0 && pt <= 1.0e2) * (0.95) +
|
---|
| 107 | (abs(eta) <= 1.5) * (pt > 1.0e2) * (0.99) +
|
---|
| 108 | (abs(eta) > 1.5 && abs(eta) <= 2.5) * (pt > 0.1 && pt <= 1.0) * (0.50) +
|
---|
| 109 | (abs(eta) > 1.5 && abs(eta) <= 2.5) * (pt > 1.0 && pt <= 1.0e2) * (0.83) +
|
---|
| 110 | (abs(eta) > 1.5 && abs(eta) <= 2.5) * (pt > 1.0e2) * (0.90) +
|
---|
[d7d2da3] | 111 | (abs(eta) > 2.5) * (0.00)}
|
---|
| 112 | }
|
---|
| 113 |
|
---|
| 114 | ##########################
|
---|
| 115 | # Muon tracking efficiency
|
---|
| 116 | ##########################
|
---|
| 117 |
|
---|
| 118 | module Efficiency MuonTrackingEfficiency {
|
---|
| 119 | set InputArray ParticlePropagator/muons
|
---|
| 120 | set OutputArray muons
|
---|
| 121 |
|
---|
| 122 | # set EfficiencyFormula {efficiency formula as a function of eta and pt}
|
---|
| 123 |
|
---|
| 124 | # tracking efficiency formula for muons
|
---|
[a2983ec] | 125 | set EfficiencyFormula { (pt <= 0.1) * (0.00) +
|
---|
| 126 | (abs(eta) <= 1.5) * (pt > 0.1 && pt <= 1.0) * (0.75) +
|
---|
| 127 | (abs(eta) <= 1.5) * (pt > 1.0) * (0.99) +
|
---|
| 128 | (abs(eta) > 1.5 && abs(eta) <= 2.5) * (pt > 0.1 && pt <= 1.0) * (0.70) +
|
---|
| 129 | (abs(eta) > 1.5 && abs(eta) <= 2.5) * (pt > 1.0) * (0.98) +
|
---|
[d7d2da3] | 130 | (abs(eta) > 2.5) * (0.00)}
|
---|
| 131 | }
|
---|
| 132 |
|
---|
| 133 | ########################################
|
---|
| 134 | # Momentum resolution for charged tracks
|
---|
| 135 | ########################################
|
---|
| 136 |
|
---|
| 137 | module MomentumSmearing ChargedHadronMomentumSmearing {
|
---|
| 138 | set InputArray ChargedHadronTrackingEfficiency/chargedHadrons
|
---|
| 139 | set OutputArray chargedHadrons
|
---|
| 140 |
|
---|
| 141 | # set ResolutionFormula {resolution formula as a function of eta and pt}
|
---|
| 142 |
|
---|
| 143 | # resolution formula for charged hadrons
|
---|
[934d037] | 144 | # based on arXiv:1405.6569
|
---|
[df5084b] | 145 | set ResolutionFormula { (abs(eta) <= 0.5) * (pt > 0.1) * sqrt(0.01^2 + pt^2*1.5e-4^2) +
|
---|
| 146 | (abs(eta) > 0.5 && abs(eta) <= 1.5) * (pt > 0.1) * sqrt(0.015^2 + pt^2*2.5e-4^2) +
|
---|
| 147 | (abs(eta) > 1.5 && abs(eta) <= 2.5) * (pt > 0.1) * sqrt(0.025^2 + pt^2*5.5e-4^2)}
|
---|
[d7d2da3] | 148 | }
|
---|
| 149 |
|
---|
[934d037] | 150 | ###################################
|
---|
| 151 | # Momentum resolution for electrons
|
---|
| 152 | ###################################
|
---|
[d7d2da3] | 153 |
|
---|
[934d037] | 154 | module MomentumSmearing ElectronMomentumSmearing {
|
---|
[d7d2da3] | 155 | set InputArray ElectronTrackingEfficiency/electrons
|
---|
| 156 | set OutputArray electrons
|
---|
| 157 |
|
---|
| 158 | # set ResolutionFormula {resolution formula as a function of eta and energy}
|
---|
| 159 |
|
---|
[8839353] | 160 | # resolution formula for electrons
|
---|
[934d037] | 161 | # based on arXiv:1405.6569
|
---|
[df5084b] | 162 | set ResolutionFormula { (abs(eta) <= 0.5) * (pt > 0.1) * sqrt(0.03^2 + pt^2*1.3e-3^2) +
|
---|
| 163 | (abs(eta) > 0.5 && abs(eta) <= 1.5) * (pt > 0.1) * sqrt(0.05^2 + pt^2*1.7e-3^2) +
|
---|
| 164 | (abs(eta) > 1.5 && abs(eta) <= 2.5) * (pt > 0.1) * sqrt(0.15^2 + pt^2*3.1e-3^2)}
|
---|
[d7d2da3] | 165 | }
|
---|
| 166 |
|
---|
| 167 | ###############################
|
---|
| 168 | # Momentum resolution for muons
|
---|
| 169 | ###############################
|
---|
| 170 |
|
---|
| 171 | module MomentumSmearing MuonMomentumSmearing {
|
---|
| 172 | set InputArray MuonTrackingEfficiency/muons
|
---|
| 173 | set OutputArray muons
|
---|
| 174 |
|
---|
| 175 | # set ResolutionFormula {resolution formula as a function of eta and pt}
|
---|
| 176 |
|
---|
| 177 | # resolution formula for muons
|
---|
[df5084b] | 178 | set ResolutionFormula { (abs(eta) <= 0.5) * (pt > 0.1) * sqrt(0.01^2 + pt^2*1.0e-4^2) +
|
---|
| 179 | (abs(eta) > 0.5 && abs(eta) <= 1.5) * (pt > 0.1) * sqrt(0.015^2 + pt^2*1.5e-4^2) +
|
---|
| 180 | (abs(eta) > 1.5 && abs(eta) <= 2.5) * (pt > 0.1) * sqrt(0.025^2 + pt^2*3.5e-4^2)}
|
---|
[d7d2da3] | 181 | }
|
---|
| 182 |
|
---|
| 183 | ##############
|
---|
| 184 | # Track merger
|
---|
| 185 | ##############
|
---|
| 186 |
|
---|
| 187 | module Merger TrackMerger {
|
---|
| 188 | # add InputArray InputArray
|
---|
| 189 | add InputArray ChargedHadronMomentumSmearing/chargedHadrons
|
---|
[934d037] | 190 | add InputArray ElectronMomentumSmearing/electrons
|
---|
[a0ff736] | 191 | add InputArray MuonMomentumSmearing/muons
|
---|
[d7d2da3] | 192 | set OutputArray tracks
|
---|
| 193 | }
|
---|
| 194 |
|
---|
| 195 | #############
|
---|
| 196 | # Calorimeter
|
---|
| 197 | #############
|
---|
| 198 |
|
---|
| 199 | module Calorimeter Calorimeter {
|
---|
| 200 | set ParticleInputArray ParticlePropagator/stableParticles
|
---|
| 201 | set TrackInputArray TrackMerger/tracks
|
---|
| 202 |
|
---|
| 203 | set TowerOutputArray towers
|
---|
| 204 | set PhotonOutputArray photons
|
---|
| 205 |
|
---|
[a2983ec] | 206 | set EFlowTrackOutputArray eflowTracks
|
---|
| 207 | set EFlowPhotonOutputArray eflowPhotons
|
---|
| 208 | set EFlowNeutralHadronOutputArray eflowNeutralHadrons
|
---|
| 209 |
|
---|
[38bf1ae] | 210 | set ECalEnergyMin 0.5
|
---|
| 211 | set HCalEnergyMin 1.0
|
---|
[1c8d9db] | 212 |
|
---|
[fe3908f] | 213 | set ECalEnergySignificanceMin 2.0
|
---|
| 214 | set HCalEnergySignificanceMin 2.0
|
---|
[a2983ec] | 215 |
|
---|
| 216 | set SmearTowerCenter true
|
---|
[d7d2da3] | 217 |
|
---|
| 218 | set pi [expr {acos(-1)}]
|
---|
| 219 |
|
---|
| 220 | # lists of the edges of each tower in eta and phi
|
---|
| 221 | # each list starts with the lower edge of the first tower
|
---|
| 222 | # the list ends with the higher edged of the last tower
|
---|
| 223 |
|
---|
| 224 | # 5 degrees towers
|
---|
| 225 | set PhiBins {}
|
---|
| 226 | for {set i -36} {$i <= 36} {incr i} {
|
---|
| 227 | add PhiBins [expr {$i * $pi/36.0}]
|
---|
| 228 | }
|
---|
| 229 | foreach eta {-1.566 -1.479 -1.392 -1.305 -1.218 -1.131 -1.044 -0.957 -0.87 -0.783 -0.696 -0.609 -0.522 -0.435 -0.348 -0.261 -0.174 -0.087 0 0.087 0.174 0.261 0.348 0.435 0.522 0.609 0.696 0.783 0.87 0.957 1.044 1.131 1.218 1.305 1.392 1.479 1.566 1.653} {
|
---|
| 230 | add EtaPhiBins $eta $PhiBins
|
---|
| 231 | }
|
---|
| 232 |
|
---|
| 233 | # 10 degrees towers
|
---|
| 234 | set PhiBins {}
|
---|
| 235 | for {set i -18} {$i <= 18} {incr i} {
|
---|
| 236 | add PhiBins [expr {$i * $pi/18.0}]
|
---|
| 237 | }
|
---|
| 238 | foreach eta {-4.35 -4.175 -4 -3.825 -3.65 -3.475 -3.3 -3.125 -2.95 -2.868 -2.65 -2.5 -2.322 -2.172 -2.043 -1.93 -1.83 -1.74 -1.653 1.74 1.83 1.93 2.043 2.172 2.322 2.5 2.65 2.868 2.95 3.125 3.3 3.475 3.65 3.825 4 4.175 4.35 4.525} {
|
---|
| 239 | add EtaPhiBins $eta $PhiBins
|
---|
| 240 | }
|
---|
| 241 |
|
---|
| 242 | # 20 degrees towers
|
---|
| 243 | set PhiBins {}
|
---|
| 244 | for {set i -9} {$i <= 9} {incr i} {
|
---|
| 245 | add PhiBins [expr {$i * $pi/9.0}]
|
---|
| 246 | }
|
---|
| 247 | foreach eta {-5 -4.7 -4.525 4.7 5} {
|
---|
| 248 | add EtaPhiBins $eta $PhiBins
|
---|
| 249 | }
|
---|
| 250 |
|
---|
| 251 | # default energy fractions {abs(PDG code)} {Fecal Fhcal}
|
---|
| 252 | add EnergyFraction {0} {0.0 1.0}
|
---|
| 253 | # energy fractions for e, gamma and pi0
|
---|
| 254 | add EnergyFraction {11} {1.0 0.0}
|
---|
| 255 | add EnergyFraction {22} {1.0 0.0}
|
---|
| 256 | add EnergyFraction {111} {1.0 0.0}
|
---|
| 257 | # energy fractions for muon, neutrinos and neutralinos
|
---|
| 258 | add EnergyFraction {12} {0.0 0.0}
|
---|
| 259 | add EnergyFraction {13} {0.0 0.0}
|
---|
| 260 | add EnergyFraction {14} {0.0 0.0}
|
---|
| 261 | add EnergyFraction {16} {0.0 0.0}
|
---|
| 262 | add EnergyFraction {1000022} {0.0 0.0}
|
---|
| 263 | add EnergyFraction {1000023} {0.0 0.0}
|
---|
| 264 | add EnergyFraction {1000025} {0.0 0.0}
|
---|
| 265 | add EnergyFraction {1000035} {0.0 0.0}
|
---|
| 266 | add EnergyFraction {1000045} {0.0 0.0}
|
---|
| 267 | # energy fractions for K0short and Lambda
|
---|
| 268 | add EnergyFraction {310} {0.3 0.7}
|
---|
| 269 | add EnergyFraction {3122} {0.3 0.7}
|
---|
| 270 |
|
---|
| 271 | # set ECalResolutionFormula {resolution formula as a function of eta and energy}
|
---|
[d36154d] | 272 | # Eta shape from arXiv:1306.2016, Energy shape from arXiv:1502.02701
|
---|
[cd96595] | 273 | set ECalResolutionFormula { (abs(eta) <= 1.5) * (1+0.64*eta^2) * sqrt(energy^2*0.008^2 + energy*0.11^2 + 0.40^2) +
|
---|
[989ee8f] | 274 | (abs(eta) > 1.5 && abs(eta) <= 2.5) * (2.16 + 5.6*(abs(eta)-2)^2) * sqrt(energy^2*0.008^2 + energy*0.11^2 + 0.40^2) +
|
---|
[d36154d] | 275 | (abs(eta) > 2.5 && abs(eta) <= 5.0) * sqrt(energy^2*0.107^2 + energy*2.08^2)}
|
---|
[d7d2da3] | 276 |
|
---|
| 277 | # set HCalResolutionFormula {resolution formula as a function of eta and energy}
|
---|
[a2983ec] | 278 | set HCalResolutionFormula { (abs(eta) <= 3.0) * sqrt(energy^2*0.050^2 + energy*1.50^2) +
|
---|
[a1ac20e] | 279 | (abs(eta) > 3.0 && abs(eta) <= 5.0) * sqrt(energy^2*0.130^2 + energy*2.70^2)}
|
---|
[d7d2da3] | 280 | }
|
---|
| 281 |
|
---|
| 282 | ####################
|
---|
| 283 | # Energy flow merger
|
---|
| 284 | ####################
|
---|
| 285 |
|
---|
| 286 | module Merger EFlowMerger {
|
---|
| 287 | # add InputArray InputArray
|
---|
| 288 | add InputArray Calorimeter/eflowTracks
|
---|
[27bf162] | 289 | add InputArray Calorimeter/eflowPhotons
|
---|
| 290 | add InputArray Calorimeter/eflowNeutralHadrons
|
---|
[d7d2da3] | 291 | set OutputArray eflow
|
---|
| 292 | }
|
---|
| 293 |
|
---|
| 294 | ###################
|
---|
| 295 | # Photon efficiency
|
---|
| 296 | ###################
|
---|
| 297 |
|
---|
| 298 | module Efficiency PhotonEfficiency {
|
---|
[27bf162] | 299 | set InputArray Calorimeter/eflowPhotons
|
---|
[d7d2da3] | 300 | set OutputArray photons
|
---|
| 301 |
|
---|
| 302 | # set EfficiencyFormula {efficiency formula as a function of eta and pt}
|
---|
| 303 |
|
---|
| 304 | # efficiency formula for photons
|
---|
[a2983ec] | 305 | set EfficiencyFormula { (pt <= 10.0) * (0.00) +
|
---|
| 306 | (abs(eta) <= 1.5) * (pt > 10.0) * (0.95) +
|
---|
| 307 | (abs(eta) > 1.5 && abs(eta) <= 2.5) * (pt > 10.0) * (0.85) +
|
---|
[d7d2da3] | 308 | (abs(eta) > 2.5) * (0.00)}
|
---|
| 309 | }
|
---|
| 310 |
|
---|
| 311 | ##################
|
---|
| 312 | # Photon isolation
|
---|
| 313 | ##################
|
---|
| 314 |
|
---|
| 315 | module Isolation PhotonIsolation {
|
---|
| 316 | set CandidateInputArray PhotonEfficiency/photons
|
---|
| 317 | set IsolationInputArray EFlowMerger/eflow
|
---|
| 318 |
|
---|
| 319 | set OutputArray photons
|
---|
| 320 |
|
---|
| 321 | set DeltaRMax 0.5
|
---|
| 322 |
|
---|
| 323 | set PTMin 0.5
|
---|
| 324 |
|
---|
[8e2759b] | 325 | set PTRatioMax 0.12
|
---|
[d7d2da3] | 326 | }
|
---|
| 327 |
|
---|
[934d037] | 328 | #################
|
---|
| 329 | # Electron filter
|
---|
| 330 | #################
|
---|
| 331 |
|
---|
| 332 | module PdgCodeFilter ElectronFilter {
|
---|
| 333 | set InputArray Calorimeter/eflowTracks
|
---|
| 334 | set OutputArray electrons
|
---|
| 335 | set Invert true
|
---|
| 336 | add PdgCode {11}
|
---|
| 337 | add PdgCode {-11}
|
---|
| 338 | }
|
---|
| 339 |
|
---|
[d7d2da3] | 340 | #####################
|
---|
| 341 | # Electron efficiency
|
---|
| 342 | #####################
|
---|
| 343 |
|
---|
| 344 | module Efficiency ElectronEfficiency {
|
---|
[934d037] | 345 | set InputArray ElectronFilter/electrons
|
---|
[d7d2da3] | 346 | set OutputArray electrons
|
---|
| 347 |
|
---|
| 348 | # set EfficiencyFormula {efficiency formula as a function of eta and pt}
|
---|
| 349 |
|
---|
| 350 | # efficiency formula for electrons
|
---|
[a2983ec] | 351 | set EfficiencyFormula { (pt <= 10.0) * (0.00) +
|
---|
| 352 | (abs(eta) <= 1.5) * (pt > 10.0) * (0.95) +
|
---|
| 353 | (abs(eta) > 1.5 && abs(eta) <= 2.5) * (pt > 10.0) * (0.85) +
|
---|
[d7d2da3] | 354 | (abs(eta) > 2.5) * (0.00)}
|
---|
| 355 | }
|
---|
| 356 |
|
---|
| 357 | ####################
|
---|
| 358 | # Electron isolation
|
---|
| 359 | ####################
|
---|
| 360 |
|
---|
| 361 | module Isolation ElectronIsolation {
|
---|
| 362 | set CandidateInputArray ElectronEfficiency/electrons
|
---|
| 363 | set IsolationInputArray EFlowMerger/eflow
|
---|
| 364 |
|
---|
| 365 | set OutputArray electrons
|
---|
| 366 |
|
---|
| 367 | set DeltaRMax 0.5
|
---|
| 368 |
|
---|
| 369 | set PTMin 0.5
|
---|
| 370 |
|
---|
[8e2759b] | 371 | set PTRatioMax 0.12
|
---|
[d7d2da3] | 372 | }
|
---|
| 373 |
|
---|
| 374 | #################
|
---|
| 375 | # Muon efficiency
|
---|
| 376 | #################
|
---|
| 377 |
|
---|
| 378 | module Efficiency MuonEfficiency {
|
---|
| 379 | set InputArray MuonMomentumSmearing/muons
|
---|
| 380 | set OutputArray muons
|
---|
| 381 |
|
---|
| 382 | # set EfficiencyFormula {efficiency as a function of eta and pt}
|
---|
| 383 |
|
---|
| 384 | # efficiency formula for muons
|
---|
[a2983ec] | 385 | set EfficiencyFormula { (pt <= 10.0) * (0.00) +
|
---|
| 386 | (abs(eta) <= 1.5) * (pt > 10.0 && pt <= 1.0e3) * (0.95) +
|
---|
| 387 | (abs(eta) <= 1.5) * (pt > 1.0e3) * (0.95 * exp(0.5 - pt*5.0e-4)) +
|
---|
| 388 | (abs(eta) > 1.5 && abs(eta) <= 2.4) * (pt > 10.0 && pt <= 1.0e3) * (0.95) +
|
---|
| 389 | (abs(eta) > 1.5 && abs(eta) <= 2.4) * (pt > 1.0e3) * (0.95 * exp(0.5 - pt*5.0e-4)) +
|
---|
[1697699] | 390 | (abs(eta) > 2.4) * (0.00)}
|
---|
[d7d2da3] | 391 | }
|
---|
| 392 |
|
---|
| 393 | ################
|
---|
| 394 | # Muon isolation
|
---|
| 395 | ################
|
---|
| 396 |
|
---|
| 397 | module Isolation MuonIsolation {
|
---|
| 398 | set CandidateInputArray MuonEfficiency/muons
|
---|
| 399 | set IsolationInputArray EFlowMerger/eflow
|
---|
| 400 |
|
---|
| 401 | set OutputArray muons
|
---|
| 402 |
|
---|
| 403 | set DeltaRMax 0.5
|
---|
| 404 |
|
---|
| 405 | set PTMin 0.5
|
---|
| 406 |
|
---|
[8e2759b] | 407 | set PTRatioMax 0.25
|
---|
[d7d2da3] | 408 | }
|
---|
| 409 |
|
---|
| 410 | ###################
|
---|
| 411 | # Missing ET merger
|
---|
| 412 | ###################
|
---|
| 413 |
|
---|
| 414 | module Merger MissingET {
|
---|
| 415 | # add InputArray InputArray
|
---|
[27bf162] | 416 | add InputArray EFlowMerger/eflow
|
---|
[d7d2da3] | 417 | set MomentumOutputArray momentum
|
---|
| 418 | }
|
---|
| 419 |
|
---|
| 420 | ##################
|
---|
| 421 | # Scalar HT merger
|
---|
| 422 | ##################
|
---|
| 423 |
|
---|
| 424 | module Merger ScalarHT {
|
---|
| 425 | # add InputArray InputArray
|
---|
| 426 | add InputArray UniqueObjectFinder/jets
|
---|
| 427 | add InputArray UniqueObjectFinder/electrons
|
---|
| 428 | add InputArray UniqueObjectFinder/photons
|
---|
[8839353] | 429 | add InputArray UniqueObjectFinder/muons
|
---|
[d7d2da3] | 430 | set EnergyOutputArray energy
|
---|
| 431 | }
|
---|
| 432 |
|
---|
[be2222c] | 433 |
|
---|
| 434 | #####################
|
---|
| 435 | # Neutrino Filter
|
---|
| 436 | #####################
|
---|
| 437 |
|
---|
| 438 | module PdgCodeFilter NeutrinoFilter {
|
---|
[a2983ec] | 439 |
|
---|
[be2222c] | 440 | set InputArray Delphes/stableParticles
|
---|
| 441 | set OutputArray filteredParticles
|
---|
| 442 |
|
---|
| 443 | set PTMin 0.0
|
---|
[a2983ec] | 444 |
|
---|
[be2222c] | 445 | add PdgCode {12}
|
---|
| 446 | add PdgCode {14}
|
---|
| 447 | add PdgCode {16}
|
---|
| 448 | add PdgCode {-12}
|
---|
| 449 | add PdgCode {-14}
|
---|
| 450 | add PdgCode {-16}
|
---|
| 451 |
|
---|
| 452 | }
|
---|
| 453 |
|
---|
| 454 |
|
---|
[d7d2da3] | 455 | #####################
|
---|
| 456 | # MC truth jet finder
|
---|
| 457 | #####################
|
---|
| 458 |
|
---|
| 459 | module FastJetFinder GenJetFinder {
|
---|
[be2222c] | 460 | set InputArray NeutrinoFilter/filteredParticles
|
---|
[d7d2da3] | 461 |
|
---|
| 462 | set OutputArray jets
|
---|
| 463 |
|
---|
| 464 | # algorithm: 1 CDFJetClu, 2 MidPoint, 3 SIScone, 4 kt, 5 Cambridge/Aachen, 6 antikt
|
---|
| 465 | set JetAlgorithm 6
|
---|
[8839353] | 466 | set ParameterR 0.5
|
---|
[d7d2da3] | 467 |
|
---|
| 468 | set JetPTMin 20.0
|
---|
| 469 | }
|
---|
| 470 |
|
---|
[59d6164] | 471 | #########################
|
---|
| 472 | # Gen Missing ET merger
|
---|
| 473 | ########################
|
---|
| 474 |
|
---|
| 475 | module Merger GenMissingET {
|
---|
| 476 | # add InputArray InputArray
|
---|
| 477 | add InputArray NeutrinoFilter/filteredParticles
|
---|
| 478 | set MomentumOutputArray momentum
|
---|
| 479 | }
|
---|
| 480 |
|
---|
| 481 |
|
---|
[be2222c] | 482 |
|
---|
[d7d2da3] | 483 | ############
|
---|
| 484 | # Jet finder
|
---|
| 485 | ############
|
---|
| 486 |
|
---|
| 487 | module FastJetFinder FastJetFinder {
|
---|
| 488 | # set InputArray Calorimeter/towers
|
---|
| 489 | set InputArray EFlowMerger/eflow
|
---|
| 490 |
|
---|
| 491 | set OutputArray jets
|
---|
| 492 |
|
---|
| 493 | # algorithm: 1 CDFJetClu, 2 MidPoint, 3 SIScone, 4 kt, 5 Cambridge/Aachen, 6 antikt
|
---|
| 494 | set JetAlgorithm 6
|
---|
[8839353] | 495 | set ParameterR 0.5
|
---|
[d7d2da3] | 496 |
|
---|
| 497 | set JetPTMin 20.0
|
---|
| 498 | }
|
---|
| 499 |
|
---|
[fe3908f] | 500 | ################
|
---|
| 501 | # caloJet finder
|
---|
| 502 | ################
|
---|
| 503 |
|
---|
| 504 | module FastJetFinder FastCaloJetFinder {
|
---|
| 505 | set InputArray Calorimeter/towers
|
---|
| 506 |
|
---|
| 507 | set OutputArray jets
|
---|
| 508 |
|
---|
| 509 | # algorithm: 1 CDFJetClu, 2 MidPoint, 3 SIScone, 4 kt, 5 Cambridge/Aachen, 6 antikt
|
---|
| 510 | set JetAlgorithm 6
|
---|
| 511 | set ParameterR 0.5
|
---|
| 512 |
|
---|
| 513 | set JetPTMin 20.0
|
---|
| 514 | }
|
---|
| 515 |
|
---|
[8839353] | 516 | ##################
|
---|
| 517 | # Jet Energy Scale
|
---|
| 518 | ##################
|
---|
[d7d2da3] | 519 |
|
---|
[8839353] | 520 | module EnergyScale JetEnergyScale {
|
---|
| 521 | set InputArray FastJetFinder/jets
|
---|
| 522 | set OutputArray jets
|
---|
[d7d2da3] | 523 |
|
---|
[35b9204] | 524 | # scale formula for jets
|
---|
| 525 | set ScaleFormula {sqrt( (2.5 - 0.15*(abs(eta)))^2 / pt + 1.0 )}
|
---|
[d7d2da3] | 526 | }
|
---|
| 527 |
|
---|
[6153fb0] | 528 | ########################
|
---|
| 529 | # Jet Flavor Association
|
---|
| 530 | ########################
|
---|
| 531 |
|
---|
| 532 | module JetFlavorAssociation JetFlavorAssociation {
|
---|
[934d037] | 533 |
|
---|
[6153fb0] | 534 | set PartonInputArray Delphes/partons
|
---|
| 535 | set ParticleInputArray Delphes/allParticles
|
---|
| 536 | set ParticleLHEFInputArray Delphes/allParticlesLHEF
|
---|
| 537 | set JetInputArray JetEnergyScale/jets
|
---|
[934d037] | 538 |
|
---|
[6153fb0] | 539 | set DeltaR 0.5
|
---|
| 540 | set PartonPTMin 1.0
|
---|
| 541 | set PartonEtaMax 2.5
|
---|
| 542 |
|
---|
| 543 | }
|
---|
| 544 |
|
---|
[d7d2da3] | 545 | ###########
|
---|
| 546 | # b-tagging
|
---|
| 547 | ###########
|
---|
| 548 |
|
---|
| 549 | module BTagging BTagging {
|
---|
[8839353] | 550 | set JetInputArray JetEnergyScale/jets
|
---|
[d7d2da3] | 551 |
|
---|
[264bf40] | 552 | set BitNumber 0
|
---|
| 553 |
|
---|
[d7d2da3] | 554 | # add EfficiencyFormula {abs(PDG code)} {efficiency formula as a function of eta and pt}
|
---|
| 555 | # PDG code = the highest PDG code of a quark or gluon inside DeltaR cone around jet axis
|
---|
| 556 | # gluon's PDG code has the lowest priority
|
---|
| 557 |
|
---|
[8713dee] | 558 | # based on arXiv:1211.4462
|
---|
| 559 |
|
---|
[d7d2da3] | 560 | # default efficiency formula (misidentification rate)
|
---|
[a356d6d] | 561 | add EfficiencyFormula {0} {0.01+0.000038*pt}
|
---|
[d7d2da3] | 562 |
|
---|
| 563 | # efficiency formula for c-jets (misidentification rate)
|
---|
[0413f44] | 564 | add EfficiencyFormula {4} {0.25*tanh(0.018*pt)*(1/(1+ 0.0013*pt))}
|
---|
[d7d2da3] | 565 |
|
---|
| 566 | # efficiency formula for b-jets
|
---|
[dddad55] | 567 | add EfficiencyFormula {5} {0.85*tanh(0.0025*pt)*(25.0/(1+0.063*pt))}
|
---|
[d7d2da3] | 568 | }
|
---|
| 569 |
|
---|
[6153fb0] | 570 | #############
|
---|
| 571 | # tau-tagging
|
---|
| 572 | #############
|
---|
| 573 |
|
---|
[d7d2da3] | 574 | module TauTagging TauTagging {
|
---|
| 575 | set ParticleInputArray Delphes/allParticles
|
---|
| 576 | set PartonInputArray Delphes/partons
|
---|
[28f1285] | 577 | set JetInputArray JetEnergyScale/jets
|
---|
[d7d2da3] | 578 |
|
---|
| 579 | set DeltaR 0.5
|
---|
| 580 |
|
---|
| 581 | set TauPTMin 1.0
|
---|
| 582 |
|
---|
| 583 | set TauEtaMax 2.5
|
---|
| 584 |
|
---|
| 585 | # add EfficiencyFormula {abs(PDG code)} {efficiency formula as a function of eta and pt}
|
---|
| 586 |
|
---|
| 587 | # default efficiency formula (misidentification rate)
|
---|
[8713dee] | 588 | add EfficiencyFormula {0} {0.01}
|
---|
[d7d2da3] | 589 | # efficiency formula for tau-jets
|
---|
[8713dee] | 590 | add EfficiencyFormula {15} {0.6}
|
---|
[d7d2da3] | 591 | }
|
---|
| 592 |
|
---|
| 593 | #####################################################
|
---|
| 594 | # Find uniquely identified photons/electrons/tau/jets
|
---|
| 595 | #####################################################
|
---|
| 596 |
|
---|
| 597 | module UniqueObjectFinder UniqueObjectFinder {
|
---|
| 598 | # earlier arrays take precedence over later ones
|
---|
| 599 | # add InputArray InputArray OutputArray
|
---|
| 600 | add InputArray PhotonIsolation/photons photons
|
---|
| 601 | add InputArray ElectronIsolation/electrons electrons
|
---|
[8839353] | 602 | add InputArray MuonIsolation/muons muons
|
---|
| 603 | add InputArray JetEnergyScale/jets jets
|
---|
[d7d2da3] | 604 | }
|
---|
| 605 |
|
---|
| 606 | ##################
|
---|
| 607 | # ROOT tree writer
|
---|
| 608 | ##################
|
---|
| 609 |
|
---|
[27bf162] | 610 | # tracks, towers and eflow objects are not stored by default in the output.
|
---|
[282f591] | 611 | # if needed (for jet constituent or other studies), uncomment the relevant
|
---|
| 612 | # "add Branch ..." lines.
|
---|
[27bf162] | 613 |
|
---|
[d7d2da3] | 614 | module TreeWriter TreeWriter {
|
---|
| 615 | # add Branch InputArray BranchName BranchClass
|
---|
| 616 | add Branch Delphes/allParticles Particle GenParticle
|
---|
[27bf162] | 617 |
|
---|
[f2d7d0c] | 618 | add Branch TrackMerger/tracks Track Track
|
---|
| 619 | add Branch Calorimeter/towers Tower Tower
|
---|
[282f591] | 620 |
|
---|
[f2d7d0c] | 621 | add Branch Calorimeter/eflowTracks EFlowTrack Track
|
---|
| 622 | add Branch Calorimeter/eflowPhotons EFlowPhoton Tower
|
---|
| 623 | add Branch Calorimeter/eflowNeutralHadrons EFlowNeutralHadron Tower
|
---|
[282f591] | 624 |
|
---|
[d7d2da3] | 625 | add Branch GenJetFinder/jets GenJet Jet
|
---|
[59d6164] | 626 | add Branch GenMissingET/momentum GenMissingET MissingET
|
---|
| 627 |
|
---|
[d7d2da3] | 628 | add Branch UniqueObjectFinder/jets Jet Jet
|
---|
[fe3908f] | 629 | add Branch FastCaloJetFinder/jets CaloJet Jet
|
---|
[d7d2da3] | 630 | add Branch UniqueObjectFinder/electrons Electron Electron
|
---|
| 631 | add Branch UniqueObjectFinder/photons Photon Photon
|
---|
[8839353] | 632 | add Branch UniqueObjectFinder/muons Muon Muon
|
---|
[d7d2da3] | 633 | add Branch MissingET/momentum MissingET MissingET
|
---|
| 634 | add Branch ScalarHT/energy ScalarHT ScalarHT
|
---|
| 635 | }
|
---|