[7c9f3da] | 1 | #################################################################### l
|
---|
| 2 | # FCC-ee IDEA detector model
|
---|
| 3 | #
|
---|
| 4 | # Authors: Elisa Fontanesi, Lorenzo Pezzotti, Massimiliano Antonello
|
---|
| 5 | # email: efontane@bo.infn.it,
|
---|
| 6 | # lorenzo.pezzotti01@universitadipavia.it,
|
---|
| 7 | # m.antonello@uninsubria.it,
|
---|
| 8 | #####################################################################
|
---|
| 9 | #
|
---|
[ef8a06d] | 10 | #######################################
|
---|
| 11 | # Order of execution of various modules
|
---|
| 12 | #######################################
|
---|
| 13 |
|
---|
| 14 | set ExecutionPath {
|
---|
| 15 | ParticlePropagator
|
---|
| 16 |
|
---|
| 17 | ChargedHadronTrackingEfficiency
|
---|
| 18 | ElectronTrackingEfficiency
|
---|
| 19 | MuonTrackingEfficiency
|
---|
| 20 |
|
---|
| 21 | ChargedHadronMomentumSmearing
|
---|
| 22 | ElectronMomentumSmearing
|
---|
| 23 | MuonMomentumSmearing
|
---|
| 24 |
|
---|
[7c9f3da] | 25 | TrackMerger
|
---|
[ef8a06d] | 26 | Calorimeter
|
---|
| 27 | EFlowMerger
|
---|
| 28 |
|
---|
| 29 | PhotonEfficiency
|
---|
| 30 | PhotonIsolation
|
---|
| 31 |
|
---|
| 32 | ElectronFilter
|
---|
| 33 | ElectronEfficiency
|
---|
| 34 | ElectronIsolation
|
---|
| 35 |
|
---|
| 36 | MuonEfficiency
|
---|
| 37 | MuonIsolation
|
---|
| 38 |
|
---|
| 39 | MissingET
|
---|
| 40 |
|
---|
| 41 | NeutrinoFilter
|
---|
| 42 | GenJetFinder
|
---|
| 43 | GenMissingET
|
---|
| 44 |
|
---|
| 45 | FastJetFinder
|
---|
| 46 |
|
---|
| 47 | JetEnergyScale
|
---|
| 48 |
|
---|
| 49 | JetFlavorAssociation
|
---|
| 50 |
|
---|
| 51 | BTagging
|
---|
| 52 | TauTagging
|
---|
| 53 |
|
---|
| 54 | UniqueObjectFinder
|
---|
| 55 |
|
---|
| 56 | ScalarHT
|
---|
| 57 | TreeWriter
|
---|
| 58 | }
|
---|
| 59 |
|
---|
[7c9f3da] | 60 |
|
---|
[ef8a06d] | 61 | #################################
|
---|
| 62 | # Propagate particles in cylinder
|
---|
| 63 | #################################
|
---|
| 64 |
|
---|
| 65 | module ParticlePropagator ParticlePropagator {
|
---|
| 66 | set InputArray Delphes/stableParticles
|
---|
| 67 |
|
---|
| 68 | set OutputArray stableParticles
|
---|
| 69 | set ChargedHadronOutputArray chargedHadrons
|
---|
| 70 | set ElectronOutputArray electrons
|
---|
| 71 | set MuonOutputArray muons
|
---|
| 72 |
|
---|
[7c9f3da] | 73 | # inner radius of the solenoid, in m
|
---|
| 74 | set Radius 2.25
|
---|
| 75 |
|
---|
| 76 | # half-length: z of the solenoid, in m
|
---|
| 77 | set HalfLength 2.5
|
---|
[ef8a06d] | 78 |
|
---|
[7c9f3da] | 79 | # magnetic field, in T
|
---|
| 80 | set Bz 2.0
|
---|
[ef8a06d] | 81 | }
|
---|
| 82 |
|
---|
| 83 | ####################################
|
---|
| 84 | # Charged hadron tracking efficiency
|
---|
| 85 | ####################################
|
---|
| 86 |
|
---|
| 87 | module Efficiency ChargedHadronTrackingEfficiency {
|
---|
[7c9f3da] | 88 | set InputArray ParticlePropagator/chargedHadrons
|
---|
| 89 | set OutputArray chargedHadrons
|
---|
| 90 | # We use only one efficiency, we set only 0 effincency out of eta bounds:
|
---|
| 91 |
|
---|
| 92 | set EfficiencyFormula {
|
---|
| 93 | (abs(eta) > 3.0) * (0.000) +
|
---|
| 94 | (energy >= 0.5) * (abs(eta) <= 3.0) * (0.997) +
|
---|
| 95 | (energy < 0.5 && energy >= 0.3) * (abs(eta) <= 3.0) * (0.65) +
|
---|
| 96 | (energy < 0.3) * (abs(eta) <= 3.0) * (0.06)
|
---|
| 97 | }
|
---|
[ef8a06d] | 98 | }
|
---|
| 99 |
|
---|
[7c9f3da] | 100 | # (pt <= 0.1) * (0.00) +
|
---|
| 101 | # (abs(eta) <= 3.0) * (pt > 0.1) * (1.00) +
|
---|
| 102 | # (abs(eta) > 3) * (0.00)
|
---|
| 103 |
|
---|
| 104 |
|
---|
| 105 |
|
---|
[ef8a06d] | 106 | ##############################
|
---|
| 107 | # Electron tracking efficiency
|
---|
| 108 | ##############################
|
---|
| 109 |
|
---|
| 110 | module Efficiency ElectronTrackingEfficiency {
|
---|
[7c9f3da] | 111 | set InputArray ParticlePropagator/electrons
|
---|
| 112 | set OutputArray electrons
|
---|
[ef8a06d] | 113 |
|
---|
| 114 |
|
---|
[7c9f3da] | 115 | # Current full simulation with CLICdet provides for electrons:
|
---|
| 116 | set EfficiencyFormula {
|
---|
| 117 | (abs(eta) > 3.0) * (0.000) +
|
---|
| 118 | (energy >= 0.5) * (abs(eta) <= 3.0) * (0.997) +
|
---|
| 119 | (energy < 0.5 && energy >= 0.3) * (abs(eta) <= 3.0) * (0.65) +
|
---|
| 120 | (energy < 0.3) * (abs(eta) <= 3.0) * (0.06)
|
---|
| 121 | }
|
---|
[ef8a06d] | 122 | }
|
---|
| 123 |
|
---|
[7c9f3da] | 124 |
|
---|
[ef8a06d] | 125 | ##########################
|
---|
| 126 | # Muon tracking efficiency
|
---|
| 127 | ##########################
|
---|
| 128 |
|
---|
| 129 | module Efficiency MuonTrackingEfficiency {
|
---|
[7c9f3da] | 130 | set InputArray ParticlePropagator/muons
|
---|
| 131 | set OutputArray muons
|
---|
| 132 |
|
---|
| 133 | # Current full simulation with CLICdet provides for muons:
|
---|
| 134 | set EfficiencyFormula {
|
---|
| 135 | (abs(eta) > 3.0) * (0.000) +
|
---|
| 136 | (energy >= 0.5) * (abs(eta) <= 3.0) * (0.997) +
|
---|
| 137 | (energy < 0.5 && energy >= 0.3) * (abs(eta) <= 3.0) * (0.65) +
|
---|
| 138 | (energy < 0.3) * (abs(eta) <= 3.0) * (0.06)
|
---|
| 139 | }
|
---|
[ef8a06d] | 140 | }
|
---|
| 141 |
|
---|
[7c9f3da] | 142 |
|
---|
[ef8a06d] | 143 | ########################################
|
---|
| 144 | # Momentum resolution for charged tracks
|
---|
| 145 | ########################################
|
---|
| 146 |
|
---|
| 147 | module MomentumSmearing ChargedHadronMomentumSmearing {
|
---|
[7c9f3da] | 148 | set InputArray ChargedHadronTrackingEfficiency/chargedHadrons
|
---|
| 149 | set OutputArray chargedHadrons
|
---|
[ef8a06d] | 150 |
|
---|
| 151 |
|
---|
[7c9f3da] | 152 | # Resolution given in dpT/pT.
|
---|
| 153 | # IDEAdet
|
---|
| 154 | set ResolutionFormula {
|
---|
| 155 | (abs(eta) <= 3.0) * sqrt(0.0006^2 + (pt*7.e-5)^2)
|
---|
| 156 | }
|
---|
[ef8a06d] | 157 | }
|
---|
| 158 |
|
---|
| 159 | ###################################
|
---|
| 160 | # Momentum resolution for electrons
|
---|
| 161 | ###################################
|
---|
| 162 |
|
---|
| 163 | module MomentumSmearing ElectronMomentumSmearing {
|
---|
[7c9f3da] | 164 | set InputArray ElectronTrackingEfficiency/electrons
|
---|
| 165 | set OutputArray electrons
|
---|
| 166 |
|
---|
| 167 | # Resolution given in dpT/pT.
|
---|
| 168 | # IDEAdet
|
---|
| 169 | set ResolutionFormula {
|
---|
| 170 | (abs(eta) <= 3.0) * sqrt(0.0006^2 + (pt*7.e-5)^2)
|
---|
| 171 | }
|
---|
[ef8a06d] | 172 | }
|
---|
| 173 |
|
---|
| 174 | ###############################
|
---|
| 175 | # Momentum resolution for muons
|
---|
| 176 | ###############################
|
---|
| 177 |
|
---|
| 178 | module MomentumSmearing MuonMomentumSmearing {
|
---|
[7c9f3da] | 179 | set InputArray MuonTrackingEfficiency/muons
|
---|
| 180 | set OutputArray muons
|
---|
| 181 |
|
---|
| 182 | # Resolution given in dpT/pT.
|
---|
| 183 | # IDEAdet
|
---|
| 184 | set ResolutionFormula {
|
---|
| 185 | (abs(eta) <= 3.0) * sqrt(0.0006^2 + (pt*7.e-5)^2)
|
---|
| 186 | }
|
---|
[ef8a06d] | 187 | }
|
---|
| 188 |
|
---|
| 189 | ##############
|
---|
| 190 | # Track merger
|
---|
| 191 | ##############
|
---|
| 192 |
|
---|
| 193 | module Merger TrackMerger {
|
---|
| 194 | # add InputArray InputArray
|
---|
| 195 | add InputArray ChargedHadronMomentumSmearing/chargedHadrons
|
---|
| 196 | add InputArray ElectronMomentumSmearing/electrons
|
---|
| 197 | add InputArray MuonMomentumSmearing/muons
|
---|
| 198 | set OutputArray tracks
|
---|
| 199 | }
|
---|
| 200 |
|
---|
| 201 |
|
---|
[7c9f3da] | 202 | #############
|
---|
| 203 | # Calorimeter
|
---|
| 204 | #############
|
---|
[ef8a06d] | 205 | module DualReadoutCalorimeter Calorimeter {
|
---|
| 206 | set ParticleInputArray ParticlePropagator/stableParticles
|
---|
| 207 | set TrackInputArray TrackMerger/tracks
|
---|
| 208 |
|
---|
| 209 | set TowerOutputArray towers
|
---|
| 210 | set PhotonOutputArray photons
|
---|
| 211 |
|
---|
| 212 | set EFlowTrackOutputArray eflowTracks
|
---|
| 213 | set EFlowPhotonOutputArray eflowPhotons
|
---|
| 214 | set EFlowNeutralHadronOutputArray eflowNeutralHadrons
|
---|
| 215 |
|
---|
| 216 | set ECalEnergyMin 0.5
|
---|
[7c9f3da] | 217 | set HCalEnergyMin 0.5
|
---|
[a1b19ea] | 218 | set EnergyMin 0.5
|
---|
[ef8a06d] | 219 | set ECalEnergySignificanceMin 1.0
|
---|
| 220 | set HCalEnergySignificanceMin 1.0
|
---|
| 221 | set EnergySignificanceMin 1.0
|
---|
| 222 |
|
---|
| 223 | set SmearTowerCenter true
|
---|
[7c9f3da] | 224 | set pi [expr {acos(-1)}]
|
---|
| 225 |
|
---|
| 226 | # Lists of the edges of each tower in eta and phi;
|
---|
| 227 | # each list starts with the lower edge of the first tower;
|
---|
| 228 | # the list ends with the higher edged of the last tower.
|
---|
| 229 | # Barrel: deta=0.02 towers up to |eta| <= 0.88 ( up to 45°)
|
---|
| 230 | # Endcaps: deta=0.02 towers up to |eta| <= 3.0 (8.6° = 100 mrad)
|
---|
| 231 | # Cell size: about 6 cm x 6 cm
|
---|
| 232 |
|
---|
| 233 | #barrel:
|
---|
| 234 | set PhiBins {}
|
---|
| 235 | for {set i -120} {$i <= 120} {incr i} {
|
---|
| 236 | add PhiBins [expr {$i * $pi/120}]
|
---|
| 237 | }
|
---|
| 238 | #deta=0.02 units for |eta| <= 0.88
|
---|
| 239 | for {set i -44} {$i < 45} {incr i} {
|
---|
| 240 | set eta [expr {$i * 0.02}]
|
---|
| 241 | add EtaPhiBins $eta $PhiBins
|
---|
| 242 | }
|
---|
| 243 |
|
---|
| 244 | #endcaps:
|
---|
| 245 | set PhiBins {}
|
---|
| 246 | for {set i -120} {$i <= 120} {incr i} {
|
---|
| 247 | add PhiBins [expr {$i* $pi/120}]
|
---|
| 248 | }
|
---|
| 249 | #deta=0.02 units for 0.88 < |eta| <= 3.0
|
---|
| 250 | #first, from -3.0 to -0.88
|
---|
| 251 | for {set i 1} {$i <=106} {incr i} {
|
---|
| 252 | set eta [expr {-3.00 + $i * 0.02}]
|
---|
| 253 | add EtaPhiBins $eta $PhiBins
|
---|
| 254 | }
|
---|
| 255 | #same for 0.88 to 3.0
|
---|
| 256 | for {set i 1} {$i <=106} {incr i} {
|
---|
| 257 | set eta [expr {0.88 + $i * 0.02}]
|
---|
| 258 | add EtaPhiBins $eta $PhiBins
|
---|
| 259 | }
|
---|
| 260 |
|
---|
| 261 | # default energy fractions {abs(PDG code)} {Fecal Fhcal}
|
---|
| 262 | add EnergyFraction {0} {0.0 1.0}
|
---|
| 263 | # energy fractions for e, gamma and pi0
|
---|
| 264 | add EnergyFraction {11} {1.0 0.0}
|
---|
| 265 | add EnergyFraction {22} {1.0 0.0}
|
---|
| 266 | add EnergyFraction {111} {1.0 0.0}
|
---|
| 267 | # energy fractions for muon, neutrinos and neutralinos
|
---|
| 268 | add EnergyFraction {12} {0.0 0.0}
|
---|
| 269 | add EnergyFraction {13} {0.0 0.0}
|
---|
| 270 | add EnergyFraction {14} {0.0 0.0}
|
---|
| 271 | add EnergyFraction {16} {0.0 0.0}
|
---|
| 272 | add EnergyFraction {1000022} {0.0 0.0}
|
---|
| 273 | add EnergyFraction {1000023} {0.0 0.0}
|
---|
| 274 | add EnergyFraction {1000025} {0.0 0.0}
|
---|
| 275 | add EnergyFraction {1000035} {0.0 0.0}
|
---|
| 276 | add EnergyFraction {1000045} {0.0 0.0}
|
---|
| 277 | # energy fractions for K0short and Lambda
|
---|
| 278 | add EnergyFraction {310} {0.3 0.7}
|
---|
| 279 | add EnergyFraction {3122} {0.3 0.7}
|
---|
| 280 |
|
---|
| 281 |
|
---|
| 282 | # set ECalResolutionFormula {resolution formula as a function of eta and energy}
|
---|
| 283 | set ECalResolutionFormula {
|
---|
| 284 | (abs(eta) <= 0.88 ) * sqrt(energy^2*0.01^2 + energy*0.11^2)+
|
---|
| 285 | (abs(eta) > 0.88 && abs(eta) <= 3.0) * sqrt(energy^2*0.01^2 + energy*0.11^2)
|
---|
| 286 | }
|
---|
| 287 |
|
---|
| 288 | # set HCalResolutionFormula {resolution formula as a function of eta and energy}
|
---|
| 289 | set HCalResolutionFormula {
|
---|
| 290 | (abs(eta) <= 0.88 ) * sqrt(energy^2*0.01^2 + energy*0.30^2)+
|
---|
| 291 | (abs(eta) > 0.88 && abs(eta) <= 3.0) * sqrt(energy^2*0.01^2 + energy*0.30^2)
|
---|
| 292 | }
|
---|
[ef8a06d] | 293 | }
|
---|
| 294 |
|
---|
| 295 | ####################
|
---|
| 296 | # Energy flow merger
|
---|
| 297 | ####################
|
---|
| 298 |
|
---|
| 299 | module Merger EFlowMerger {
|
---|
| 300 | # add InputArray InputArray
|
---|
| 301 | add InputArray Calorimeter/eflowTracks
|
---|
| 302 | add InputArray Calorimeter/eflowPhotons
|
---|
| 303 | add InputArray Calorimeter/eflowNeutralHadrons
|
---|
| 304 | set OutputArray eflow
|
---|
| 305 | }
|
---|
| 306 |
|
---|
| 307 | ###################
|
---|
| 308 | # Photon efficiency
|
---|
| 309 | ###################
|
---|
| 310 |
|
---|
| 311 | module Efficiency PhotonEfficiency {
|
---|
| 312 | set InputArray Calorimeter/eflowPhotons
|
---|
| 313 | set OutputArray photons
|
---|
| 314 |
|
---|
| 315 | # set EfficiencyFormula {efficiency formula as a function of eta and pt}
|
---|
| 316 | # efficiency formula for photons
|
---|
[7c9f3da] | 317 | set EfficiencyFormula {
|
---|
| 318 | (energy < 2.0) * (0.000)+
|
---|
| 319 | (energy >= 2.0) * (abs(eta) <= 0.88) * (0.99) +
|
---|
| 320 | (energy >= 2.0) * (abs(eta) >0.88 && abs(eta) <= 3.0) * (0.99) +
|
---|
| 321 | (abs(eta) > 3.0) * (0.000)
|
---|
| 322 | }
|
---|
[ef8a06d] | 323 | }
|
---|
| 324 |
|
---|
| 325 | ##################
|
---|
| 326 | # Photon isolation
|
---|
| 327 | ##################
|
---|
| 328 |
|
---|
| 329 | module Isolation PhotonIsolation {
|
---|
| 330 | set CandidateInputArray PhotonEfficiency/photons
|
---|
| 331 | set IsolationInputArray EFlowMerger/eflow
|
---|
| 332 |
|
---|
| 333 | set OutputArray photons
|
---|
| 334 |
|
---|
| 335 | set DeltaRMax 0.5
|
---|
| 336 |
|
---|
| 337 | set PTMin 0.5
|
---|
| 338 |
|
---|
[7c9f3da] | 339 | set PTRatioMax 999.
|
---|
[ef8a06d] | 340 | }
|
---|
| 341 |
|
---|
| 342 | #################
|
---|
| 343 | # Electron filter
|
---|
| 344 | #################
|
---|
| 345 |
|
---|
| 346 | module PdgCodeFilter ElectronFilter {
|
---|
| 347 | set InputArray Calorimeter/eflowTracks
|
---|
| 348 | set OutputArray electrons
|
---|
| 349 | set Invert true
|
---|
| 350 | add PdgCode {11}
|
---|
| 351 | add PdgCode {-11}
|
---|
| 352 | }
|
---|
| 353 |
|
---|
| 354 | #####################
|
---|
| 355 | # Electron efficiency
|
---|
| 356 | #####################
|
---|
| 357 |
|
---|
| 358 | module Efficiency ElectronEfficiency {
|
---|
| 359 | set InputArray ElectronFilter/electrons
|
---|
| 360 | set OutputArray electrons
|
---|
| 361 |
|
---|
| 362 | # set EfficiencyFormula {efficiency formula as a function of eta and pt}
|
---|
| 363 |
|
---|
| 364 | # efficiency formula for electrons
|
---|
[7c9f3da] | 365 | set EfficiencyFormula {
|
---|
| 366 | (energy < 2.0) * (0.000)+
|
---|
| 367 | (energy >= 2.0) * (abs(eta) <= 0.88) * (0.99) +
|
---|
| 368 | (energy >= 2.0) * (abs(eta) >0.88 && abs(eta) <= 3.0) * (0.99) +
|
---|
| 369 | (abs(eta) > 3.0) * (0.000)
|
---|
| 370 | }
|
---|
[ef8a06d] | 371 | }
|
---|
| 372 |
|
---|
| 373 | ####################
|
---|
| 374 | # Electron isolation
|
---|
| 375 | ####################
|
---|
| 376 |
|
---|
| 377 | module Isolation ElectronIsolation {
|
---|
| 378 | set CandidateInputArray ElectronEfficiency/electrons
|
---|
| 379 | set IsolationInputArray EFlowMerger/eflow
|
---|
| 380 |
|
---|
| 381 | set OutputArray electrons
|
---|
| 382 |
|
---|
| 383 | set DeltaRMax 0.5
|
---|
| 384 |
|
---|
| 385 | set PTMin 0.5
|
---|
| 386 |
|
---|
| 387 | set PTRatioMax 0.12
|
---|
| 388 | }
|
---|
| 389 |
|
---|
| 390 | #################
|
---|
| 391 | # Muon efficiency
|
---|
| 392 | #################
|
---|
| 393 |
|
---|
| 394 | module Efficiency MuonEfficiency {
|
---|
| 395 | set InputArray MuonMomentumSmearing/muons
|
---|
| 396 | set OutputArray muons
|
---|
| 397 |
|
---|
| 398 | # set EfficiencyFormula {efficiency as a function of eta and pt}
|
---|
| 399 |
|
---|
| 400 | # efficiency formula for muons
|
---|
[7c9f3da] | 401 | set EfficiencyFormula {
|
---|
| 402 | (energy < 2.0) * (0.000)+
|
---|
| 403 | (energy >= 2.0) * (abs(eta) <= 0.88) * (0.99) +
|
---|
| 404 | (energy >= 2.0) * (abs(eta) >0.88 && abs(eta) <= 3.0) * (0.99) +
|
---|
| 405 | (abs(eta) > 3.0) * (0.000)
|
---|
| 406 | }
|
---|
[ef8a06d] | 407 | }
|
---|
| 408 |
|
---|
| 409 | ################
|
---|
| 410 | # Muon isolation
|
---|
| 411 | ################
|
---|
| 412 |
|
---|
| 413 | module Isolation MuonIsolation {
|
---|
| 414 | set CandidateInputArray MuonEfficiency/muons
|
---|
| 415 | set IsolationInputArray EFlowMerger/eflow
|
---|
| 416 |
|
---|
| 417 | set OutputArray muons
|
---|
| 418 |
|
---|
| 419 | set DeltaRMax 0.5
|
---|
| 420 |
|
---|
| 421 | set PTMin 0.5
|
---|
| 422 |
|
---|
| 423 | set PTRatioMax 0.25
|
---|
| 424 | }
|
---|
| 425 |
|
---|
| 426 | ###################
|
---|
| 427 | # Missing ET merger
|
---|
| 428 | ###################
|
---|
| 429 |
|
---|
| 430 | module Merger MissingET {
|
---|
| 431 | # add InputArray InputArray
|
---|
| 432 | add InputArray EFlowMerger/eflow
|
---|
| 433 | set MomentumOutputArray momentum
|
---|
| 434 | }
|
---|
| 435 |
|
---|
| 436 | ##################
|
---|
| 437 | # Scalar HT merger
|
---|
| 438 | ##################
|
---|
| 439 |
|
---|
| 440 | module Merger ScalarHT {
|
---|
| 441 | # add InputArray InputArray
|
---|
| 442 | add InputArray UniqueObjectFinder/jets
|
---|
| 443 | add InputArray UniqueObjectFinder/electrons
|
---|
| 444 | add InputArray UniqueObjectFinder/photons
|
---|
| 445 | add InputArray UniqueObjectFinder/muons
|
---|
| 446 | set EnergyOutputArray energy
|
---|
| 447 | }
|
---|
| 448 |
|
---|
| 449 | #####################
|
---|
| 450 | # Neutrino Filter
|
---|
| 451 | #####################
|
---|
| 452 |
|
---|
| 453 | module PdgCodeFilter NeutrinoFilter {
|
---|
| 454 |
|
---|
| 455 | set InputArray Delphes/stableParticles
|
---|
| 456 | set OutputArray filteredParticles
|
---|
| 457 |
|
---|
| 458 | set PTMin 0.0
|
---|
| 459 |
|
---|
| 460 | add PdgCode {12}
|
---|
| 461 | add PdgCode {14}
|
---|
| 462 | add PdgCode {16}
|
---|
| 463 | add PdgCode {-12}
|
---|
| 464 | add PdgCode {-14}
|
---|
| 465 | add PdgCode {-16}
|
---|
| 466 | }
|
---|
| 467 |
|
---|
| 468 |
|
---|
| 469 | #####################
|
---|
| 470 | # MC truth jet finder
|
---|
| 471 | #####################
|
---|
| 472 |
|
---|
| 473 | module FastJetFinder GenJetFinder {
|
---|
| 474 | set InputArray NeutrinoFilter/filteredParticles
|
---|
| 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
|
---|
[7c9f3da] | 480 | set ParameterR 0.4
|
---|
| 481 | set JetPTMin 1.0
|
---|
[ef8a06d] | 482 | }
|
---|
| 483 |
|
---|
[7c9f3da] | 484 |
|
---|
[ef8a06d] | 485 | #########################
|
---|
| 486 | # Gen Missing ET merger
|
---|
| 487 | ########################
|
---|
| 488 |
|
---|
| 489 | module Merger GenMissingET {
|
---|
| 490 | # add InputArray InputArray
|
---|
| 491 | add InputArray NeutrinoFilter/filteredParticles
|
---|
| 492 | set MomentumOutputArray momentum
|
---|
| 493 | }
|
---|
| 494 |
|
---|
| 495 | ############
|
---|
| 496 | # Jet finder
|
---|
| 497 | ############
|
---|
| 498 |
|
---|
| 499 | module FastJetFinder FastJetFinder {
|
---|
| 500 | # set InputArray Calorimeter/towers
|
---|
| 501 | set InputArray EFlowMerger/eflow
|
---|
| 502 |
|
---|
| 503 | set OutputArray jets
|
---|
| 504 |
|
---|
| 505 | # algorithm: 1 CDFJetClu, 2 MidPoint, 3 SIScone, 4 kt, 5 Cambridge/Aachen, 6 antikt
|
---|
| 506 | set JetAlgorithm 6
|
---|
[7c9f3da] | 507 | set ParameterR 0.4
|
---|
| 508 | set JetPTMin 1.0
|
---|
[ef8a06d] | 509 | }
|
---|
| 510 |
|
---|
| 511 | ##################
|
---|
| 512 | # Jet Energy Scale
|
---|
| 513 | ##################
|
---|
| 514 |
|
---|
| 515 | module EnergyScale JetEnergyScale {
|
---|
| 516 | set InputArray FastJetFinder/jets
|
---|
| 517 | set OutputArray jets
|
---|
| 518 |
|
---|
| 519 | # scale formula for jets
|
---|
[7c9f3da] | 520 | set ScaleFormula {1.08}
|
---|
[ef8a06d] | 521 | }
|
---|
| 522 |
|
---|
| 523 | ########################
|
---|
| 524 | # Jet Flavor Association
|
---|
| 525 | ########################
|
---|
| 526 |
|
---|
| 527 | module JetFlavorAssociation JetFlavorAssociation {
|
---|
| 528 |
|
---|
| 529 | set PartonInputArray Delphes/partons
|
---|
| 530 | set ParticleInputArray Delphes/allParticles
|
---|
| 531 | set ParticleLHEFInputArray Delphes/allParticlesLHEF
|
---|
| 532 | set JetInputArray JetEnergyScale/jets
|
---|
| 533 |
|
---|
| 534 | set DeltaR 0.5
|
---|
| 535 | set PartonPTMin 1.0
|
---|
[7c9f3da] | 536 | set PartonEtaMax 3.0
|
---|
[ef8a06d] | 537 | }
|
---|
| 538 |
|
---|
| 539 | ###########
|
---|
| 540 | # b-tagging
|
---|
| 541 | ###########
|
---|
| 542 |
|
---|
| 543 | module BTagging BTagging {
|
---|
| 544 | set JetInputArray JetEnergyScale/jets
|
---|
| 545 |
|
---|
| 546 | set BitNumber 0
|
---|
| 547 |
|
---|
| 548 | # add EfficiencyFormula {abs(PDG code)} {efficiency formula as a function of eta and pt}
|
---|
| 549 |
|
---|
| 550 | # default efficiency formula (misidentification rate)
|
---|
[7c9f3da] | 551 | add EfficiencyFormula {0} {0.01}
|
---|
[ef8a06d] | 552 |
|
---|
| 553 | # efficiency formula for c-jets (misidentification rate)
|
---|
[7c9f3da] | 554 | add EfficiencyFormula {4} {0.10}
|
---|
[ef8a06d] | 555 |
|
---|
| 556 | # efficiency formula for b-jets
|
---|
[7c9f3da] | 557 | add EfficiencyFormula {5} {0.80}
|
---|
[ef8a06d] | 558 | }
|
---|
| 559 |
|
---|
| 560 | #############
|
---|
| 561 | # tau-tagging
|
---|
| 562 | #############
|
---|
| 563 |
|
---|
| 564 | module TauTagging TauTagging {
|
---|
| 565 | set ParticleInputArray Delphes/allParticles
|
---|
| 566 | set PartonInputArray Delphes/partons
|
---|
| 567 | set JetInputArray JetEnergyScale/jets
|
---|
| 568 |
|
---|
| 569 | set DeltaR 0.5
|
---|
| 570 | set TauPTMin 1.0
|
---|
[7c9f3da] | 571 | set TauEtaMax 3.0
|
---|
[ef8a06d] | 572 |
|
---|
| 573 | # default efficiency formula (misidentification rate)
|
---|
[7c9f3da] | 574 | add EfficiencyFormula {0} {0.001}
|
---|
[ef8a06d] | 575 | # efficiency formula for tau-jets
|
---|
| 576 | add EfficiencyFormula {15} {0.6}
|
---|
| 577 | }
|
---|
| 578 |
|
---|
[7c9f3da] | 579 |
|
---|
[ef8a06d] | 580 | #####################################################
|
---|
| 581 | # Find uniquely identified photons/electrons/tau/jets
|
---|
| 582 | #####################################################
|
---|
| 583 |
|
---|
| 584 | module UniqueObjectFinder UniqueObjectFinder {
|
---|
| 585 | # earlier arrays take precedence over later ones
|
---|
| 586 | # add InputArray InputArray OutputArray
|
---|
| 587 | add InputArray PhotonIsolation/photons photons
|
---|
| 588 | add InputArray ElectronIsolation/electrons electrons
|
---|
| 589 | add InputArray MuonIsolation/muons muons
|
---|
| 590 | add InputArray JetEnergyScale/jets jets
|
---|
| 591 | }
|
---|
| 592 |
|
---|
[7c9f3da] | 593 |
|
---|
| 594 |
|
---|
[ef8a06d] | 595 | ##################
|
---|
| 596 | # ROOT tree writer
|
---|
| 597 | ##################
|
---|
| 598 |
|
---|
[7c9f3da] | 599 | # Tracks, towers and eflow objects are not stored by default in the output.
|
---|
| 600 | # If needed (for jet constituent or other studies), uncomment the relevant
|
---|
[ef8a06d] | 601 | # "add Branch ..." lines.
|
---|
| 602 |
|
---|
| 603 | module TreeWriter TreeWriter {
|
---|
[7c9f3da] | 604 | # add Branch InputArray BranchName BranchClass
|
---|
| 605 |
|
---|
| 606 | add Branch Delphes/allParticles Particle GenParticle
|
---|
| 607 |
|
---|
| 608 | add Branch TrackMerger/tracks Track Track
|
---|
| 609 | add Branch Calorimeter/towers Tower Tower
|
---|
| 610 |
|
---|
| 611 | add Branch Calorimeter/eflowTracks EFlowTrack Track
|
---|
| 612 | add Branch Calorimeter/eflowPhotons EFlowPhoton Tower
|
---|
| 613 | add Branch Calorimeter/eflowNeutralHadrons EFlowNeutralHadron Tower
|
---|
| 614 |
|
---|
| 615 | add Branch Calorimeter/photons CaloPhoton Photon
|
---|
| 616 | add Branch PhotonEfficiency/photons PhotonEff Photon
|
---|
| 617 | add Branch PhotonIsolation/photons PhotonIso Photon
|
---|
| 618 |
|
---|
| 619 | add Branch GenJetFinder/jets GenJet Jet
|
---|
| 620 | add Branch GenMissingET/momentum GenMissingET MissingET
|
---|
| 621 |
|
---|
| 622 | add Branch UniqueObjectFinder/jets Jet Jet
|
---|
| 623 | add Branch UniqueObjectFinder/electrons Electron Electron
|
---|
| 624 | add Branch UniqueObjectFinder/photons Photon Photon
|
---|
| 625 | add Branch UniqueObjectFinder/muons Muon Muon
|
---|
| 626 |
|
---|
| 627 | add Branch JetEnergyScale/jets AntiKtJet Jet
|
---|
| 628 |
|
---|
| 629 | add Branch MissingET/momentum MissingET MissingET
|
---|
| 630 | add Branch ScalarHT/energy ScalarHT ScalarHT
|
---|
[ef8a06d] | 631 | }
|
---|
[7c9f3da] | 632 |
|
---|