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