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