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