[d7d2da3] | 1 | #######################################
|
---|
| 2 | # Order of execution of various modules
|
---|
| 3 | #######################################
|
---|
| 4 |
|
---|
| 5 | set ExecutionPath {
|
---|
| 6 |
|
---|
| 7 | PileUpMerger
|
---|
| 8 | ParticlePropagator
|
---|
| 9 |
|
---|
| 10 | ChargedHadronTrackingEfficiency
|
---|
| 11 | ElectronTrackingEfficiency
|
---|
| 12 | MuonTrackingEfficiency
|
---|
| 13 |
|
---|
| 14 | ChargedHadronMomentumSmearing
|
---|
[934d037] | 15 | ElectronMomentumSmearing
|
---|
[d7d2da3] | 16 | MuonMomentumSmearing
|
---|
| 17 |
|
---|
| 18 | TrackMerger
|
---|
| 19 | Calorimeter
|
---|
[934d037] | 20 | ElectronFilter
|
---|
[d7d2da3] | 21 | TrackPileUpSubtractor
|
---|
[27bf162] | 22 | NeutralTowerMerger
|
---|
[492aef9] | 23 | EFlowMergerAllTracks
|
---|
[d7d2da3] | 24 | EFlowMerger
|
---|
[d4b9697] | 25 |
|
---|
[be2222c] | 26 | NeutrinoFilter
|
---|
[d7d2da3] | 27 | GenJetFinder
|
---|
[59d6164] | 28 | GenMissingET
|
---|
[d7d2da3] | 29 |
|
---|
| 30 | Rho
|
---|
| 31 | FastJetFinder
|
---|
[54b6dfc] | 32 | PileUpJetID
|
---|
[d7d2da3] | 33 | JetPileUpSubtractor
|
---|
| 34 |
|
---|
[3c9e6d2] | 35 | JetEnergyScale
|
---|
[d7d2da3] | 36 |
|
---|
| 37 | PhotonEfficiency
|
---|
| 38 | PhotonIsolation
|
---|
| 39 |
|
---|
| 40 | ElectronEfficiency
|
---|
| 41 | ElectronIsolation
|
---|
| 42 |
|
---|
| 43 | MuonEfficiency
|
---|
| 44 | MuonIsolation
|
---|
| 45 |
|
---|
| 46 | MissingET
|
---|
[6153fb0] | 47 |
|
---|
| 48 | JetFlavorAssociation
|
---|
[d7d2da3] | 49 |
|
---|
| 50 | BTagging
|
---|
| 51 | TauTagging
|
---|
| 52 |
|
---|
| 53 | UniqueObjectFinder
|
---|
| 54 |
|
---|
| 55 | ScalarHT
|
---|
| 56 |
|
---|
| 57 | TreeWriter
|
---|
| 58 | }
|
---|
| 59 |
|
---|
| 60 | ###############
|
---|
| 61 | # PileUp Merger
|
---|
| 62 | ###############
|
---|
| 63 |
|
---|
| 64 | module PileUpMerger PileUpMerger {
|
---|
| 65 | set InputArray Delphes/stableParticles
|
---|
| 66 |
|
---|
[fb21bc8] | 67 | set ParticleOutputArray stableParticles
|
---|
| 68 | set VertexOutputArray vertices
|
---|
[d7d2da3] | 69 |
|
---|
| 70 | # pre-generated minbias input file
|
---|
[c526439] | 71 | set PileUpFile MinBias.pileup
|
---|
[d7d2da3] | 72 |
|
---|
| 73 | # average expected pile up
|
---|
[be2222c] | 74 | set MeanPileUp 50
|
---|
[282f591] | 75 |
|
---|
| 76 | # maximum spread in the beam direction in m
|
---|
[22dc7fd] | 77 | set ZVertexSpread 0.10
|
---|
[282f591] | 78 |
|
---|
[22dc7fd] | 79 | # maximum spread in time in s
|
---|
| 80 | set TVertexSpread 1.5E-09
|
---|
| 81 |
|
---|
| 82 | # vertex smearing formula f(z,t) (z,t need to be respectively given in m,s)
|
---|
[282f591] | 83 |
|
---|
[22dc7fd] | 84 | set VertexDistributionFormula {exp(-(t^2/(2*(0.05/2.99792458E8*exp(-(z^2/(2*(0.05)^2))))^2)))}
|
---|
| 85 |
|
---|
[a2983ec] | 86 | #set VertexDistributionFormula { (abs(t) <= 1.0e-09) * (abs(z) <= 0.15) * (1.00) +
|
---|
| 87 | # (abs(t) > 1.0e-09) * (abs(z) <= 0.15) * (0.00) +
|
---|
| 88 | # (abs(t) <= 1.0e-09) * (abs(z) > 0.15) * (0.00) +
|
---|
[22dc7fd] | 89 | # (abs(t) > 1.0e-09) * (abs(z) > 0.15) * (0.00)}
|
---|
| 90 |
|
---|
| 91 |
|
---|
[d7d2da3] | 92 | }
|
---|
| 93 |
|
---|
| 94 | #################################
|
---|
| 95 | # Propagate particles in cylinder
|
---|
| 96 | #################################
|
---|
| 97 |
|
---|
| 98 | module ParticlePropagator ParticlePropagator {
|
---|
| 99 | set InputArray PileUpMerger/stableParticles
|
---|
| 100 |
|
---|
| 101 | set OutputArray stableParticles
|
---|
| 102 | set ChargedHadronOutputArray chargedHadrons
|
---|
| 103 | set ElectronOutputArray electrons
|
---|
| 104 | set MuonOutputArray muons
|
---|
| 105 |
|
---|
| 106 | # radius of the magnetic field coverage, in m
|
---|
| 107 | set Radius 1.29
|
---|
| 108 | # half-length of the magnetic field coverage, in m
|
---|
| 109 | set HalfLength 3.00
|
---|
| 110 |
|
---|
| 111 | # magnetic field
|
---|
| 112 | set Bz 3.8
|
---|
| 113 | }
|
---|
| 114 |
|
---|
| 115 | ####################################
|
---|
| 116 | # Charged hadron tracking efficiency
|
---|
| 117 | ####################################
|
---|
| 118 |
|
---|
| 119 | module Efficiency ChargedHadronTrackingEfficiency {
|
---|
| 120 | set InputArray ParticlePropagator/chargedHadrons
|
---|
| 121 | set OutputArray chargedHadrons
|
---|
| 122 |
|
---|
| 123 | # add EfficiencyFormula {efficiency formula as a function of eta and pt}
|
---|
| 124 |
|
---|
| 125 | # tracking efficiency formula for charged hadrons
|
---|
[a2983ec] | 126 | set EfficiencyFormula { (pt <= 0.1) * (0.00) +
|
---|
| 127 | (abs(eta) <= 1.5) * (pt > 0.1 && pt <= 1.0) * (0.70) +
|
---|
| 128 | (abs(eta) <= 1.5) * (pt > 1.0) * (0.95) +
|
---|
| 129 | (abs(eta) > 1.5 && abs(eta) <= 2.5) * (pt > 0.1 && pt <= 1.0) * (0.60) +
|
---|
| 130 | (abs(eta) > 1.5 && abs(eta) <= 2.5) * (pt > 1.0) * (0.85) +
|
---|
[d7d2da3] | 131 | (abs(eta) > 2.5) * (0.00)}
|
---|
| 132 | }
|
---|
| 133 |
|
---|
| 134 | ##############################
|
---|
| 135 | # Electron tracking efficiency
|
---|
| 136 | ##############################
|
---|
| 137 |
|
---|
| 138 | module Efficiency ElectronTrackingEfficiency {
|
---|
| 139 | set InputArray ParticlePropagator/electrons
|
---|
| 140 | set OutputArray electrons
|
---|
| 141 |
|
---|
| 142 | # set EfficiencyFormula {efficiency formula as a function of eta and pt}
|
---|
| 143 |
|
---|
| 144 | # tracking efficiency formula for electrons
|
---|
[a2983ec] | 145 | set EfficiencyFormula { (pt <= 0.1) * (0.00) +
|
---|
| 146 | (abs(eta) <= 1.5) * (pt > 0.1 && pt <= 1.0) * (0.73) +
|
---|
| 147 | (abs(eta) <= 1.5) * (pt > 1.0 && pt <= 1.0e2) * (0.95) +
|
---|
| 148 | (abs(eta) <= 1.5) * (pt > 1.0e2) * (0.99) +
|
---|
| 149 | (abs(eta) > 1.5 && abs(eta) <= 2.5) * (pt > 0.1 && pt <= 1.0) * (0.50) +
|
---|
| 150 | (abs(eta) > 1.5 && abs(eta) <= 2.5) * (pt > 1.0 && pt <= 1.0e2) * (0.83) +
|
---|
| 151 | (abs(eta) > 1.5 && abs(eta) <= 2.5) * (pt > 1.0e2) * (0.90) +
|
---|
[d7d2da3] | 152 | (abs(eta) > 2.5) * (0.00)}
|
---|
| 153 | }
|
---|
| 154 |
|
---|
| 155 | ##########################
|
---|
| 156 | # Muon tracking efficiency
|
---|
| 157 | ##########################
|
---|
| 158 |
|
---|
| 159 | module Efficiency MuonTrackingEfficiency {
|
---|
| 160 | set InputArray ParticlePropagator/muons
|
---|
| 161 | set OutputArray muons
|
---|
| 162 |
|
---|
| 163 | # set EfficiencyFormula {efficiency formula as a function of eta and pt}
|
---|
| 164 |
|
---|
| 165 | # tracking efficiency formula for muons
|
---|
[a2983ec] | 166 | set EfficiencyFormula { (pt <= 0.1) * (0.00) +
|
---|
| 167 | (abs(eta) <= 1.5) * (pt > 0.1 && pt <= 1.0) * (0.75) +
|
---|
| 168 | (abs(eta) <= 1.5) * (pt > 1.0) * (0.99) +
|
---|
| 169 | (abs(eta) > 1.5 && abs(eta) <= 2.5) * (pt > 0.1 && pt <= 1.0) * (0.70) +
|
---|
| 170 | (abs(eta) > 1.5 && abs(eta) <= 2.5) * (pt > 1.0) * (0.98) +
|
---|
[d7d2da3] | 171 | (abs(eta) > 2.5) * (0.00)}
|
---|
| 172 | }
|
---|
| 173 |
|
---|
| 174 | ########################################
|
---|
| 175 | # Momentum resolution for charged tracks
|
---|
| 176 | ########################################
|
---|
| 177 |
|
---|
| 178 | module MomentumSmearing ChargedHadronMomentumSmearing {
|
---|
| 179 | set InputArray ChargedHadronTrackingEfficiency/chargedHadrons
|
---|
| 180 | set OutputArray chargedHadrons
|
---|
| 181 |
|
---|
| 182 | # set ResolutionFormula {resolution formula as a function of eta and pt}
|
---|
| 183 |
|
---|
| 184 | # resolution formula for charged hadrons
|
---|
[934d037] | 185 | # based on arXiv:1405.6569
|
---|
[df5084b] | 186 | set ResolutionFormula { (abs(eta) <= 0.5) * (pt > 0.1) * sqrt(0.01^2 + pt^2*1.5e-4^2) +
|
---|
| 187 | (abs(eta) > 0.5 && abs(eta) <= 1.5) * (pt > 0.1) * sqrt(0.015^2 + pt^2*2.5e-4^2) +
|
---|
| 188 | (abs(eta) > 1.5 && abs(eta) <= 2.5) * (pt > 0.1) * sqrt(0.025^2 + pt^2*5.5e-4^2)}
|
---|
[d7d2da3] | 189 | }
|
---|
| 190 |
|
---|
[934d037] | 191 | ###################################
|
---|
| 192 | # Momentum resolution for electrons
|
---|
| 193 | ###################################
|
---|
[d7d2da3] | 194 |
|
---|
[934d037] | 195 | module MomentumSmearing ElectronMomentumSmearing {
|
---|
[d7d2da3] | 196 | set InputArray ElectronTrackingEfficiency/electrons
|
---|
| 197 | set OutputArray electrons
|
---|
| 198 |
|
---|
| 199 | # set ResolutionFormula {resolution formula as a function of eta and energy}
|
---|
| 200 |
|
---|
[3c9e6d2] | 201 | # resolution formula for electrons
|
---|
[934d037] | 202 | # based on arXiv:1405.6569
|
---|
[df5084b] | 203 | set ResolutionFormula { (abs(eta) <= 0.5) * (pt > 0.1) * sqrt(0.03^2 + pt^2*1.3e-3^2) +
|
---|
| 204 | (abs(eta) > 0.5 && abs(eta) <= 1.5) * (pt > 0.1) * sqrt(0.05^2 + pt^2*1.7e-3^2) +
|
---|
| 205 | (abs(eta) > 1.5 && abs(eta) <= 2.5) * (pt > 0.1) * sqrt(0.15^2 + pt^2*3.1e-3^2)}
|
---|
[d7d2da3] | 206 | }
|
---|
| 207 |
|
---|
| 208 | ###############################
|
---|
| 209 | # Momentum resolution for muons
|
---|
| 210 | ###############################
|
---|
| 211 |
|
---|
| 212 | module MomentumSmearing MuonMomentumSmearing {
|
---|
| 213 | set InputArray MuonTrackingEfficiency/muons
|
---|
| 214 | set OutputArray muons
|
---|
| 215 |
|
---|
| 216 | # set ResolutionFormula {resolution formula as a function of eta and pt}
|
---|
| 217 |
|
---|
| 218 | # resolution formula for muons
|
---|
[df5084b] | 219 | set ResolutionFormula { (abs(eta) <= 0.5) * (pt > 0.1) * sqrt(0.01^2 + pt^2*1.0e-4^2) +
|
---|
| 220 | (abs(eta) > 0.5 && abs(eta) <= 1.5) * (pt > 0.1) * sqrt(0.015^2 + pt^2*1.5e-4^2) +
|
---|
| 221 | (abs(eta) > 1.5 && abs(eta) <= 2.5) * (pt > 0.1) * sqrt(0.025^2 + pt^2*3.5e-4^2)}
|
---|
[d7d2da3] | 222 | }
|
---|
| 223 |
|
---|
| 224 | ##############
|
---|
| 225 | # Track merger
|
---|
| 226 | ##############
|
---|
| 227 |
|
---|
| 228 | module Merger TrackMerger {
|
---|
| 229 | # add InputArray InputArray
|
---|
| 230 | add InputArray ChargedHadronMomentumSmearing/chargedHadrons
|
---|
[934d037] | 231 | add InputArray ElectronMomentumSmearing/electrons
|
---|
[a0ff736] | 232 | add InputArray MuonMomentumSmearing/muons
|
---|
[d7d2da3] | 233 | set OutputArray tracks
|
---|
| 234 | }
|
---|
| 235 |
|
---|
| 236 | #############
|
---|
| 237 | # Calorimeter
|
---|
| 238 | #############
|
---|
| 239 |
|
---|
| 240 | module Calorimeter Calorimeter {
|
---|
| 241 | set ParticleInputArray ParticlePropagator/stableParticles
|
---|
| 242 | set TrackInputArray TrackMerger/tracks
|
---|
| 243 |
|
---|
| 244 | set TowerOutputArray towers
|
---|
| 245 | set PhotonOutputArray photons
|
---|
| 246 |
|
---|
[a2983ec] | 247 | set EFlowTrackOutputArray eflowTracks
|
---|
| 248 | set EFlowPhotonOutputArray eflowPhotons
|
---|
| 249 | set EFlowNeutralHadronOutputArray eflowNeutralHadrons
|
---|
| 250 |
|
---|
[38bf1ae] | 251 | set ECalEnergyMin 0.5
|
---|
| 252 | set HCalEnergyMin 1.0
|
---|
[1c8d9db] | 253 |
|
---|
[38bf1ae] | 254 | set ECalEnergySignificanceMin 1.0
|
---|
| 255 | set HCalEnergySignificanceMin 1.0
|
---|
[1c8d9db] | 256 |
|
---|
[a2983ec] | 257 | set SmearTowerCenter true
|
---|
[d7d2da3] | 258 |
|
---|
| 259 | set pi [expr {acos(-1)}]
|
---|
| 260 |
|
---|
| 261 | # lists of the edges of each tower in eta and phi
|
---|
| 262 | # each list starts with the lower edge of the first tower
|
---|
| 263 | # the list ends with the higher edged of the last tower
|
---|
| 264 |
|
---|
| 265 | # 5 degrees towers
|
---|
| 266 | set PhiBins {}
|
---|
| 267 | for {set i -36} {$i <= 36} {incr i} {
|
---|
| 268 | add PhiBins [expr {$i * $pi/36.0}]
|
---|
| 269 | }
|
---|
| 270 | 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} {
|
---|
| 271 | add EtaPhiBins $eta $PhiBins
|
---|
| 272 | }
|
---|
| 273 |
|
---|
| 274 | # 10 degrees towers
|
---|
| 275 | set PhiBins {}
|
---|
| 276 | for {set i -18} {$i <= 18} {incr i} {
|
---|
| 277 | add PhiBins [expr {$i * $pi/18.0}]
|
---|
| 278 | }
|
---|
| 279 | 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} {
|
---|
| 280 | add EtaPhiBins $eta $PhiBins
|
---|
| 281 | }
|
---|
| 282 |
|
---|
| 283 | # 20 degrees towers
|
---|
| 284 | set PhiBins {}
|
---|
| 285 | for {set i -9} {$i <= 9} {incr i} {
|
---|
| 286 | add PhiBins [expr {$i * $pi/9.0}]
|
---|
| 287 | }
|
---|
| 288 | foreach eta {-5 -4.7 -4.525 4.7 5} {
|
---|
| 289 | add EtaPhiBins $eta $PhiBins
|
---|
| 290 | }
|
---|
| 291 |
|
---|
| 292 | # default energy fractions {abs(PDG code)} {Fecal Fhcal}
|
---|
| 293 | add EnergyFraction {0} {0.0 1.0}
|
---|
| 294 | # energy fractions for e, gamma and pi0
|
---|
| 295 | add EnergyFraction {11} {1.0 0.0}
|
---|
| 296 | add EnergyFraction {22} {1.0 0.0}
|
---|
| 297 | add EnergyFraction {111} {1.0 0.0}
|
---|
| 298 | # energy fractions for muon, neutrinos and neutralinos
|
---|
| 299 | add EnergyFraction {12} {0.0 0.0}
|
---|
| 300 | add EnergyFraction {13} {0.0 0.0}
|
---|
| 301 | add EnergyFraction {14} {0.0 0.0}
|
---|
| 302 | add EnergyFraction {16} {0.0 0.0}
|
---|
| 303 | add EnergyFraction {1000022} {0.0 0.0}
|
---|
| 304 | add EnergyFraction {1000023} {0.0 0.0}
|
---|
| 305 | add EnergyFraction {1000025} {0.0 0.0}
|
---|
| 306 | add EnergyFraction {1000035} {0.0 0.0}
|
---|
| 307 | add EnergyFraction {1000045} {0.0 0.0}
|
---|
| 308 | # energy fractions for K0short and Lambda
|
---|
| 309 | add EnergyFraction {310} {0.3 0.7}
|
---|
| 310 | add EnergyFraction {3122} {0.3 0.7}
|
---|
| 311 |
|
---|
| 312 | # set ECalResolutionFormula {resolution formula as a function of eta and energy}
|
---|
[d36154d] | 313 | # Eta shape from arXiv:1306.2016, Energy shape from arXiv:1502.02701
|
---|
[cd96595] | 314 | set ECalResolutionFormula { (abs(eta) <= 1.5) * (1+0.64*eta^2) * sqrt(energy^2*0.008^2 + energy*0.11^2 + 0.40^2) +
|
---|
| 315 | (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] | 316 | (abs(eta) > 2.5 && abs(eta) <= 5.0) * sqrt(energy^2*0.107^2 + energy*2.08^2)}
|
---|
[d7d2da3] | 317 |
|
---|
| 318 | # set HCalResolutionFormula {resolution formula as a function of eta and energy}
|
---|
[a2983ec] | 319 | set HCalResolutionFormula { (abs(eta) <= 3.0) * sqrt(energy^2*0.050^2 + energy*1.50^2) +
|
---|
[a1ac20e] | 320 | (abs(eta) > 3.0 && abs(eta) <= 5.0) * sqrt(energy^2*0.130^2 + energy*2.70^2)}
|
---|
[d7d2da3] | 321 | }
|
---|
| 322 |
|
---|
[934d037] | 323 | #################
|
---|
| 324 | # Electron filter
|
---|
| 325 | #################
|
---|
| 326 |
|
---|
| 327 | module PdgCodeFilter ElectronFilter {
|
---|
| 328 | set InputArray Calorimeter/eflowTracks
|
---|
| 329 | set OutputArray electrons
|
---|
| 330 | set Invert true
|
---|
| 331 | add PdgCode {11}
|
---|
| 332 | add PdgCode {-11}
|
---|
| 333 | }
|
---|
| 334 |
|
---|
[d7d2da3] | 335 | ##########################
|
---|
| 336 | # Track pile-up subtractor
|
---|
| 337 | ##########################
|
---|
| 338 |
|
---|
| 339 | module TrackPileUpSubtractor TrackPileUpSubtractor {
|
---|
| 340 | # add InputArray InputArray OutputArray
|
---|
| 341 | add InputArray Calorimeter/eflowTracks eflowTracks
|
---|
[934d037] | 342 | add InputArray ElectronFilter/electrons electrons
|
---|
[d7d2da3] | 343 | add InputArray MuonMomentumSmearing/muons muons
|
---|
[282f591] | 344 |
|
---|
[54b6dfc] | 345 | set VertexInputArray PileUpMerger/vertices
|
---|
[d7d2da3] | 346 | # assume perfect pile-up subtraction for tracks with |z| > fZVertexResolution
|
---|
| 347 | # Z vertex resolution in m
|
---|
| 348 | set ZVertexResolution 0.0001
|
---|
| 349 | }
|
---|
| 350 |
|
---|
[27bf162] | 351 | ####################
|
---|
| 352 | # Neutral tower merger
|
---|
| 353 | ####################
|
---|
| 354 |
|
---|
| 355 | module Merger NeutralTowerMerger {
|
---|
| 356 | # add InputArray InputArray
|
---|
| 357 | add InputArray Calorimeter/eflowPhotons
|
---|
| 358 | add InputArray Calorimeter/eflowNeutralHadrons
|
---|
| 359 | set OutputArray eflowTowers
|
---|
| 360 | }
|
---|
| 361 |
|
---|
[492aef9] | 362 | ##################################
|
---|
| 363 | # Energy flow merger (all tracks)
|
---|
| 364 | ##################################
|
---|
| 365 |
|
---|
| 366 | module Merger EFlowMergerAllTracks {
|
---|
| 367 | # add InputArray InputArray
|
---|
| 368 | add InputArray TrackMerger/tracks
|
---|
| 369 | add InputArray Calorimeter/eflowPhotons
|
---|
| 370 | add InputArray Calorimeter/eflowNeutralHadrons
|
---|
| 371 | set OutputArray eflow
|
---|
| 372 | }
|
---|
| 373 |
|
---|
[27bf162] | 374 |
|
---|
[d7d2da3] | 375 | ####################
|
---|
| 376 | # Energy flow merger
|
---|
| 377 | ####################
|
---|
| 378 |
|
---|
| 379 | module Merger EFlowMerger {
|
---|
| 380 | # add InputArray InputArray
|
---|
| 381 | add InputArray TrackPileUpSubtractor/eflowTracks
|
---|
[27bf162] | 382 | add InputArray Calorimeter/eflowPhotons
|
---|
| 383 | add InputArray Calorimeter/eflowNeutralHadrons
|
---|
[d7d2da3] | 384 | set OutputArray eflow
|
---|
| 385 | }
|
---|
| 386 |
|
---|
[27bf162] | 387 |
|
---|
[6fb1a5d] | 388 |
|
---|
[d7d2da3] | 389 | #############
|
---|
| 390 | # Rho pile-up
|
---|
| 391 | #############
|
---|
| 392 |
|
---|
[6fb1a5d] | 393 | module FastJetGridMedianEstimator Rho {
|
---|
[d4b9697] | 394 |
|
---|
[d7d2da3] | 395 | set InputArray EFlowMerger/eflow
|
---|
| 396 | set RhoOutputArray rho
|
---|
| 397 |
|
---|
[d4b9697] | 398 | # add GridRange rapmin rapmax drap dphi
|
---|
| 399 | # rapmin - the minimum rapidity extent of the grid
|
---|
| 400 | # rapmax - the maximum rapidity extent of the grid
|
---|
| 401 | # drap - the grid spacing in rapidity
|
---|
| 402 | # dphi - the grid spacing in azimuth
|
---|
| 403 |
|
---|
| 404 | add GridRange -5.0 -2.5 1.0 1.0
|
---|
| 405 | add GridRange -2.5 2.5 1.0 1.0
|
---|
[6fb1a5d] | 406 | add GridRange 2.5 5.0 1.0 1.0
|
---|
[d7d2da3] | 407 |
|
---|
| 408 | }
|
---|
| 409 |
|
---|
[be2222c] | 410 | #####################
|
---|
| 411 | # Neutrino Filter
|
---|
| 412 | #####################
|
---|
| 413 |
|
---|
| 414 | module PdgCodeFilter NeutrinoFilter {
|
---|
[d4b9697] | 415 |
|
---|
[be2222c] | 416 | set InputArray Delphes/stableParticles
|
---|
| 417 | set OutputArray filteredParticles
|
---|
| 418 |
|
---|
| 419 | set PTMin 0.0
|
---|
[d4b9697] | 420 |
|
---|
[be2222c] | 421 | add PdgCode {12}
|
---|
| 422 | add PdgCode {14}
|
---|
| 423 | add PdgCode {16}
|
---|
| 424 | add PdgCode {-12}
|
---|
| 425 | add PdgCode {-14}
|
---|
| 426 | add PdgCode {-16}
|
---|
| 427 |
|
---|
| 428 | }
|
---|
| 429 |
|
---|
| 430 |
|
---|
| 431 |
|
---|
[d7d2da3] | 432 | #####################
|
---|
| 433 | # MC truth jet finder
|
---|
| 434 | #####################
|
---|
| 435 |
|
---|
| 436 | module FastJetFinder GenJetFinder {
|
---|
[be2222c] | 437 | set InputArray NeutrinoFilter/filteredParticles
|
---|
[d7d2da3] | 438 |
|
---|
| 439 | set OutputArray jets
|
---|
| 440 |
|
---|
| 441 | # algorithm: 1 CDFJetClu, 2 MidPoint, 3 SIScone, 4 kt, 5 Cambridge/Aachen, 6 antikt
|
---|
| 442 | set JetAlgorithm 6
|
---|
| 443 | set ParameterR 0.5
|
---|
| 444 |
|
---|
| 445 | set JetPTMin 20.0
|
---|
| 446 | }
|
---|
| 447 |
|
---|
[59d6164] | 448 | #########################
|
---|
| 449 | # Gen Missing ET merger
|
---|
| 450 | ########################
|
---|
| 451 |
|
---|
| 452 | module Merger GenMissingET {
|
---|
| 453 | # add InputArray InputArray
|
---|
| 454 | add InputArray NeutrinoFilter/filteredParticles
|
---|
| 455 | set MomentumOutputArray momentum
|
---|
| 456 | }
|
---|
| 457 |
|
---|
| 458 |
|
---|
| 459 |
|
---|
[d7d2da3] | 460 | ############
|
---|
| 461 | # Jet finder
|
---|
| 462 | ############
|
---|
| 463 |
|
---|
| 464 | module FastJetFinder FastJetFinder {
|
---|
| 465 | # set InputArray Calorimeter/towers
|
---|
| 466 | set InputArray EFlowMerger/eflow
|
---|
| 467 |
|
---|
| 468 | set OutputArray jets
|
---|
| 469 |
|
---|
| 470 | # area algorithm: 0 Do not compute area, 1 Active area explicit ghosts, 2 One ghost passive area, 3 Passive area, 4 Voronoi, 5 Active area
|
---|
| 471 | set AreaAlgorithm 5
|
---|
| 472 |
|
---|
| 473 | # jet algorithm: 1 CDFJetClu, 2 MidPoint, 3 SIScone, 4 kt, 5 Cambridge/Aachen, 6 antikt
|
---|
| 474 | set JetAlgorithm 6
|
---|
| 475 | set ParameterR 0.5
|
---|
| 476 |
|
---|
| 477 | set JetPTMin 20.0
|
---|
| 478 | }
|
---|
| 479 |
|
---|
[54b6dfc] | 480 | ###########################
|
---|
| 481 | # Jet Pile-Up ID
|
---|
| 482 | ###########################
|
---|
| 483 |
|
---|
| 484 | module PileUpJetID PileUpJetID {
|
---|
| 485 | set JetInputArray FastJetFinder/jets
|
---|
| 486 | set TrackInputArray Calorimeter/eflowTracks
|
---|
[27bf162] | 487 | set NeutralInputArray NeutralTowerMerger/eflowTowers
|
---|
[54b6dfc] | 488 |
|
---|
| 489 | set VertexInputArray PileUpMerger/vertices
|
---|
| 490 | # assume perfect pile-up subtraction for tracks with |z| > fZVertexResolution
|
---|
| 491 | # Z vertex resolution in m
|
---|
| 492 | set ZVertexResolution 0.0001
|
---|
[282f591] | 493 |
|
---|
[54b6dfc] | 494 | set OutputArray jets
|
---|
| 495 |
|
---|
| 496 | set UseConstituents 0
|
---|
| 497 | set ParameterR 0.5
|
---|
| 498 |
|
---|
| 499 | set JetPTMin 20.0
|
---|
| 500 | }
|
---|
| 501 |
|
---|
[d7d2da3] | 502 | ###########################
|
---|
| 503 | # Jet Pile-Up Subtraction
|
---|
| 504 | ###########################
|
---|
| 505 |
|
---|
| 506 | module JetPileUpSubtractor JetPileUpSubtractor {
|
---|
[54b6dfc] | 507 | set JetInputArray PileUpJetID/jets
|
---|
[d7d2da3] | 508 | set RhoInputArray Rho/rho
|
---|
| 509 |
|
---|
| 510 | set OutputArray jets
|
---|
| 511 |
|
---|
| 512 | set JetPTMin 20.0
|
---|
| 513 | }
|
---|
| 514 |
|
---|
[3c9e6d2] | 515 | ##################
|
---|
| 516 | # Jet Energy Scale
|
---|
| 517 | ##################
|
---|
| 518 |
|
---|
| 519 | module EnergyScale JetEnergyScale {
|
---|
| 520 | set InputArray JetPileUpSubtractor/jets
|
---|
| 521 | set OutputArray jets
|
---|
| 522 |
|
---|
| 523 | # scale formula for jets
|
---|
| 524 | set ScaleFormula {1.0}
|
---|
| 525 | }
|
---|
| 526 |
|
---|
[d7d2da3] | 527 | ###################
|
---|
| 528 | # Photon efficiency
|
---|
| 529 | ###################
|
---|
| 530 |
|
---|
| 531 | module Efficiency PhotonEfficiency {
|
---|
[27bf162] | 532 | set InputArray Calorimeter/eflowPhotons
|
---|
[d7d2da3] | 533 | set OutputArray photons
|
---|
| 534 |
|
---|
| 535 | # set EfficiencyFormula {efficiency formula as a function of eta and pt}
|
---|
| 536 |
|
---|
| 537 | # efficiency formula for photons
|
---|
[a2983ec] | 538 | set EfficiencyFormula { (pt <= 10.0) * (0.00) +
|
---|
| 539 | (abs(eta) <= 1.5) * (pt > 10.0) * (0.95) +
|
---|
| 540 | (abs(eta) > 1.5 && abs(eta) <= 2.5) * (pt > 10.0) * (0.85) +
|
---|
[d7d2da3] | 541 | (abs(eta) > 2.5) * (0.00)}
|
---|
| 542 | }
|
---|
| 543 |
|
---|
[27bf162] | 544 |
|
---|
[d7d2da3] | 545 | ##################
|
---|
| 546 | # Photon isolation
|
---|
| 547 | ##################
|
---|
| 548 |
|
---|
| 549 | module Isolation PhotonIsolation {
|
---|
| 550 | set CandidateInputArray PhotonEfficiency/photons
|
---|
[f436ed7] | 551 | set IsolationInputArray EFlowMergerAllTracks/eflow
|
---|
[d7d2da3] | 552 | set RhoInputArray Rho/rho
|
---|
| 553 |
|
---|
| 554 | set OutputArray photons
|
---|
| 555 |
|
---|
| 556 | set DeltaRMax 0.5
|
---|
| 557 |
|
---|
| 558 | set PTMin 0.5
|
---|
| 559 |
|
---|
[8e2759b] | 560 | set PTRatioMax 0.12
|
---|
[d7d2da3] | 561 | }
|
---|
| 562 |
|
---|
| 563 | #####################
|
---|
| 564 | # Electron efficiency
|
---|
| 565 | #####################
|
---|
| 566 |
|
---|
| 567 | module Efficiency ElectronEfficiency {
|
---|
| 568 | set InputArray TrackPileUpSubtractor/electrons
|
---|
| 569 | set OutputArray electrons
|
---|
| 570 |
|
---|
| 571 | # set EfficiencyFormula {efficiency formula as a function of eta and pt}
|
---|
| 572 |
|
---|
| 573 | # efficiency formula for electrons
|
---|
[a2983ec] | 574 | set EfficiencyFormula { (pt <= 10.0) * (0.00) +
|
---|
| 575 | (abs(eta) <= 1.5) * (pt > 10.0) * (0.95) +
|
---|
| 576 | (abs(eta) > 1.5 && abs(eta) <= 2.5) * (pt > 10.0) * (0.85) +
|
---|
[d7d2da3] | 577 | (abs(eta) > 2.5) * (0.00)}
|
---|
| 578 | }
|
---|
| 579 |
|
---|
| 580 | ####################
|
---|
| 581 | # Electron isolation
|
---|
| 582 | ####################
|
---|
| 583 |
|
---|
| 584 | module Isolation ElectronIsolation {
|
---|
| 585 | set CandidateInputArray ElectronEfficiency/electrons
|
---|
[fc4143c] | 586 | set IsolationInputArray EFlowMergerAllTracks/eflow
|
---|
[d7d2da3] | 587 | set RhoInputArray Rho/rho
|
---|
| 588 |
|
---|
| 589 | set OutputArray electrons
|
---|
| 590 |
|
---|
| 591 | set DeltaRMax 0.5
|
---|
| 592 |
|
---|
| 593 | set PTMin 0.5
|
---|
| 594 |
|
---|
[8e2759b] | 595 | set PTRatioMax 0.12
|
---|
[d7d2da3] | 596 | }
|
---|
| 597 |
|
---|
| 598 | #################
|
---|
| 599 | # Muon efficiency
|
---|
| 600 | #################
|
---|
| 601 |
|
---|
| 602 | module Efficiency MuonEfficiency {
|
---|
| 603 | set InputArray TrackPileUpSubtractor/muons
|
---|
| 604 | set OutputArray muons
|
---|
| 605 |
|
---|
| 606 | # set EfficiencyFormula {efficiency as a function of eta and pt}
|
---|
| 607 |
|
---|
| 608 | # efficiency formula for muons
|
---|
[a2983ec] | 609 | set EfficiencyFormula { (pt <= 10.0) * (0.00) +
|
---|
| 610 | (abs(eta) <= 1.5) * (pt > 10.0 && pt <= 1.0e3) * (0.95) +
|
---|
| 611 | (abs(eta) <= 1.5) * (pt > 1.0e3) * (0.95 * exp(0.5 - pt*5.0e-4)) +
|
---|
| 612 | (abs(eta) > 1.5 && abs(eta) <= 2.4) * (pt > 10.0 && pt <= 1.0e3) * (0.95) +
|
---|
| 613 | (abs(eta) > 1.5 && abs(eta) <= 2.4) * (pt > 1.0e3) * (0.95 * exp(0.5 - pt*5.0e-4)) +
|
---|
[1697699] | 614 | (abs(eta) > 2.4) * (0.00)}
|
---|
[d7d2da3] | 615 | }
|
---|
| 616 |
|
---|
| 617 | ################
|
---|
| 618 | # Muon isolation
|
---|
| 619 | ################
|
---|
| 620 |
|
---|
| 621 | module Isolation MuonIsolation {
|
---|
| 622 | set CandidateInputArray MuonEfficiency/muons
|
---|
[fc4143c] | 623 | set IsolationInputArray EFlowMergerAllTracks/eflow
|
---|
[d7d2da3] | 624 | set RhoInputArray Rho/rho
|
---|
| 625 |
|
---|
| 626 | set OutputArray muons
|
---|
| 627 |
|
---|
| 628 | set DeltaRMax 0.5
|
---|
| 629 |
|
---|
| 630 | set PTMin 0.5
|
---|
| 631 |
|
---|
[8e2759b] | 632 | set PTRatioMax 0.25
|
---|
[d7d2da3] | 633 | }
|
---|
| 634 |
|
---|
| 635 | ###################
|
---|
| 636 | # Missing ET merger
|
---|
| 637 | ###################
|
---|
| 638 |
|
---|
| 639 | module Merger MissingET {
|
---|
| 640 | # add InputArray InputArray
|
---|
[492aef9] | 641 | add InputArray EFlowMergerAllTracks/eflow
|
---|
[d7d2da3] | 642 | set MomentumOutputArray momentum
|
---|
| 643 | }
|
---|
| 644 |
|
---|
[27bf162] | 645 |
|
---|
| 646 |
|
---|
[d7d2da3] | 647 | ##################
|
---|
| 648 | # Scalar HT merger
|
---|
| 649 | ##################
|
---|
| 650 |
|
---|
| 651 | module Merger ScalarHT {
|
---|
| 652 | # add InputArray InputArray
|
---|
| 653 | add InputArray UniqueObjectFinder/jets
|
---|
| 654 | add InputArray UniqueObjectFinder/electrons
|
---|
| 655 | add InputArray UniqueObjectFinder/photons
|
---|
[3c9e6d2] | 656 | add InputArray UniqueObjectFinder/muons
|
---|
[d7d2da3] | 657 | set EnergyOutputArray energy
|
---|
| 658 | }
|
---|
| 659 |
|
---|
[6153fb0] | 660 | ########################
|
---|
| 661 | # Jet Flavor Association
|
---|
| 662 | ########################
|
---|
| 663 |
|
---|
| 664 | module JetFlavorAssociation JetFlavorAssociation {
|
---|
| 665 |
|
---|
| 666 | set PartonInputArray Delphes/partons
|
---|
| 667 | set ParticleInputArray Delphes/allParticles
|
---|
| 668 | set ParticleLHEFInputArray Delphes/allParticlesLHEF
|
---|
| 669 | set JetInputArray JetEnergyScale/jets
|
---|
| 670 |
|
---|
| 671 | set DeltaR 0.5
|
---|
| 672 | set PartonPTMin 1.0
|
---|
| 673 | set PartonEtaMax 2.5
|
---|
| 674 |
|
---|
| 675 | }
|
---|
| 676 |
|
---|
[d7d2da3] | 677 | ###########
|
---|
| 678 | # b-tagging
|
---|
| 679 | ###########
|
---|
| 680 |
|
---|
| 681 | module BTagging BTagging {
|
---|
[3c9e6d2] | 682 | set JetInputArray JetEnergyScale/jets
|
---|
[d7d2da3] | 683 |
|
---|
[264bf40] | 684 | set BitNumber 0
|
---|
| 685 |
|
---|
[d7d2da3] | 686 | # add EfficiencyFormula {abs(PDG code)} {efficiency formula as a function of eta and pt}
|
---|
| 687 | # PDG code = the highest PDG code of a quark or gluon inside DeltaR cone around jet axis
|
---|
| 688 | # gluon's PDG code has the lowest priority
|
---|
| 689 |
|
---|
[8713dee] | 690 | # based on arXiv:1211.4462
|
---|
| 691 |
|
---|
[d7d2da3] | 692 | # default efficiency formula (misidentification rate)
|
---|
[a356d6d] | 693 | add EfficiencyFormula {0} {0.01+0.000038*pt}
|
---|
[d7d2da3] | 694 |
|
---|
| 695 | # efficiency formula for c-jets (misidentification rate)
|
---|
[0413f44] | 696 | add EfficiencyFormula {4} {0.25*tanh(0.018*pt)*(1/(1+ 0.0013*pt))}
|
---|
[d7d2da3] | 697 |
|
---|
| 698 | # efficiency formula for b-jets
|
---|
[dddad55] | 699 | add EfficiencyFormula {5} {0.85*tanh(0.0025*pt)*(25.0/(1+0.063*pt))}
|
---|
[d7d2da3] | 700 | }
|
---|
| 701 |
|
---|
[6153fb0] | 702 | #############
|
---|
| 703 | # tau-tagging
|
---|
| 704 | #############
|
---|
| 705 |
|
---|
[d7d2da3] | 706 | module TauTagging TauTagging {
|
---|
| 707 | set ParticleInputArray Delphes/allParticles
|
---|
| 708 | set PartonInputArray Delphes/partons
|
---|
[3c9e6d2] | 709 | set JetInputArray JetEnergyScale/jets
|
---|
[d7d2da3] | 710 |
|
---|
| 711 | set DeltaR 0.5
|
---|
| 712 |
|
---|
| 713 | set TauPTMin 1.0
|
---|
| 714 |
|
---|
| 715 | set TauEtaMax 2.5
|
---|
| 716 |
|
---|
| 717 | # add EfficiencyFormula {abs(PDG code)} {efficiency formula as a function of eta and pt}
|
---|
| 718 |
|
---|
| 719 | # default efficiency formula (misidentification rate)
|
---|
[8713dee] | 720 | add EfficiencyFormula {0} {0.01}
|
---|
[d7d2da3] | 721 | # efficiency formula for tau-jets
|
---|
[8713dee] | 722 | add EfficiencyFormula {15} {0.6}
|
---|
[d7d2da3] | 723 | }
|
---|
| 724 |
|
---|
| 725 | #####################################################
|
---|
| 726 | # Find uniquely identified photons/electrons/tau/jets
|
---|
| 727 | #####################################################
|
---|
| 728 |
|
---|
| 729 | module UniqueObjectFinder UniqueObjectFinder {
|
---|
| 730 | # earlier arrays take precedence over later ones
|
---|
| 731 | # add InputArray InputArray OutputArray
|
---|
| 732 | add InputArray PhotonIsolation/photons photons
|
---|
| 733 | add InputArray ElectronIsolation/electrons electrons
|
---|
[3c9e6d2] | 734 | add InputArray MuonIsolation/muons muons
|
---|
| 735 | add InputArray JetEnergyScale/jets jets
|
---|
[d7d2da3] | 736 | }
|
---|
| 737 |
|
---|
| 738 | ##################
|
---|
| 739 | # ROOT tree writer
|
---|
| 740 | ##################
|
---|
| 741 |
|
---|
[27bf162] | 742 | # tracks, towers and eflow objects are not stored by default in the output.
|
---|
[282f591] | 743 | # if needed (for jet constituent or other studies), uncomment the relevant
|
---|
| 744 | # "add Branch ..." lines.
|
---|
[27bf162] | 745 |
|
---|
[d7d2da3] | 746 | module TreeWriter TreeWriter {
|
---|
| 747 | # add Branch InputArray BranchName BranchClass
|
---|
| 748 | add Branch Delphes/allParticles Particle GenParticle
|
---|
[27bf162] | 749 |
|
---|
| 750 | # add Branch TrackMerger/tracks Track Track
|
---|
| 751 | # add Branch Calorimeter/towers Tower Tower
|
---|
[282f591] | 752 |
|
---|
[27bf162] | 753 | # add Branch Calorimeter/eflowTracks EFlowTrack Track
|
---|
| 754 | # add Branch Calorimeter/eflowPhotons EFlowPhoton Tower
|
---|
| 755 | # add Branch Calorimeter/eflowNeutralHadrons EFlowNeutralHadron Tower
|
---|
| 756 |
|
---|
[d7d2da3] | 757 | add Branch GenJetFinder/jets GenJet Jet
|
---|
[59d6164] | 758 | add Branch GenMissingET/momentum GenMissingET MissingET
|
---|
| 759 |
|
---|
[d7d2da3] | 760 | add Branch UniqueObjectFinder/jets Jet Jet
|
---|
| 761 | add Branch UniqueObjectFinder/electrons Electron Electron
|
---|
| 762 | add Branch UniqueObjectFinder/photons Photon Photon
|
---|
[3c9e6d2] | 763 | add Branch UniqueObjectFinder/muons Muon Muon
|
---|
[d7d2da3] | 764 | add Branch MissingET/momentum MissingET MissingET
|
---|
| 765 | add Branch ScalarHT/energy ScalarHT ScalarHT
|
---|
[71648c2] | 766 | add Branch Rho/rho Rho Rho
|
---|
[fb21bc8] | 767 | add Branch PileUpMerger/vertices Vertex Vertex
|
---|
[d7d2da3] | 768 | }
|
---|