Changeset b24f05a in git
- Timestamp:
- Jun 6, 2018, 7:34:16 PM (6 years ago)
- Branches:
- ImprovedOutputFile, Timing, dual_readout, llp, master
- Children:
- 8a58fff
- Parents:
- ec37bc3
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
cards/CMS_PhaseII/CMS_PhaseII_200PU_v03.tcl
rec37bc3 rb24f05a 1 set RandomSeed 1232 set MaxEvents 103 4 1 ######################################## 5 2 # … … 38 35 HCal 39 36 40 MuonFilter41 42 37 PhotonEnergySmearing 43 38 ElectronFilter … … 167 162 168 163 169 ################################# 170 # Dense Track propagation calo171 ################################# 164 ##################################### 165 # Track propagation to calorimeters 166 ##################################### 172 167 173 168 module ParticlePropagator ParticlePropagator { … … 203 198 204 199 205 ################################# 206 # Dense Track propagation207 ################################# 200 #################################### 201 # Track propagation to pseudo-pixel 202 #################################### 208 203 209 204 module ParticlePropagator DenseProp { 210 205 211 206 set InputArray TrackMergerProp/tracks 212 213 set OutputArray stableParticles214 set NeutralOutputArray neutralParticles215 set ChargedHadronOutputArray chargedHadrons216 set ElectronOutputArray electrons217 set MuonOutputArray muons218 207 219 208 # radius of the first pixel layer … … 246 235 247 236 module DenseTrackFilter DenseTrackFilter { 237 248 238 set TrackInputArray DenseMergeTracks/tracks 239 249 240 set TrackOutputArray tracks 250 251 241 set ChargedHadronOutputArray chargedHadrons 252 242 set ElectronOutputArray electrons … … 446 436 447 437 438 ################################# 439 # Energy resolution for electrons 440 ################################# 441 442 module EnergySmearing ElectronEnergySmearing { 443 set InputArray ElectronTrackingEfficiency/electrons 444 set OutputArray electrons 445 446 # set ResolutionFormula {resolution formula as a function of eta and energy} 447 448 # resolution formula for electrons 449 450 # taking something flat in energy for now, ECAL will take over at high energy anyway. 451 # inferred from hep-ex/1306.2016 and 1502.02701 452 set ResolutionFormula { 453 454 (abs(eta) <= 1.5) * (energy*0.028) + 455 (abs(eta) > 1.5 && abs(eta) <= 1.75) * (energy*0.037) + 456 (abs(eta) > 1.75 && abs(eta) <= 2.15) * (energy*0.038) + 457 (abs(eta) > 2.15 && abs(eta) <= 3.00) * (energy*0.044) + 458 (abs(eta) > 3.00 && abs(eta) <= 4.00) * (energy*0.10)} 459 460 } 461 462 ############################### 463 # Momentum resolution for muons 464 ############################### 465 466 module MomentumSmearing MuonMomentumSmearing { 467 set InputArray MuonTrackingEfficiency/muons 468 set OutputArray muons 469 # resolution formula for muons 470 471 # up to |eta| < 2.8 take measurement from tracking + muon chambers 472 # for |eta| > 2.8 and pT < 5.0 take measurement from tracking alone taken from 473 # http://mersi.web.cern.ch/mersi/layouts/.private/Baseline_tilted_200_Pixel_1_1_1/index.html 474 source muonMomentumResolution.tcl 475 } 476 477 478 448 479 ############## 449 480 # Track merger … … 457 488 set OutputArray tracks 458 489 } 459 460 #################################461 # Energy resolution for electrons462 #################################463 464 module EnergySmearing ElectronEnergySmearing {465 set InputArray ElectronTrackingEfficiency/electrons466 set OutputArray electrons467 468 # set ResolutionFormula {resolution formula as a function of eta and energy}469 470 # resolution formula for electrons471 472 # taking something flat in energy for now, ECAL will take over at high energy anyway.473 # inferred from hep-ex/1306.2016 and 1502.02701474 set ResolutionFormula {475 476 (abs(eta) <= 1.5) * (energy*0.028) +477 (abs(eta) > 1.5 && abs(eta) <= 1.75) * (energy*0.037) +478 (abs(eta) > 1.75 && abs(eta) <= 2.15) * (energy*0.038) +479 (abs(eta) > 2.15 && abs(eta) <= 3.00) * (energy*0.044) +480 (abs(eta) > 3.00 && abs(eta) <= 4.00) * (energy*0.10)}481 482 }483 484 ###############################485 # Momentum resolution for muons486 ###############################487 488 module MomentumSmearing MuonMomentumSmearing {489 set InputArray MuonTrackingEfficiency/muons490 set OutputArray muons491 # resolution formula for muons492 493 # up to |eta| < 2.8 take measurement from tracking + muon chambers494 # for |eta| > 2.8 and pT < 5.0 take measurement from tracking alone taken from495 # http://mersi.web.cern.ch/mersi/layouts/.private/Baseline_tilted_200_Pixel_1_1_1/index.html496 source muonMomentumResolution.tcl497 }498 499 500 490 501 491 … … 721 711 } 722 712 723 #################724 # Muon filter725 #################726 727 module PdgCodeFilter MuonFilter {728 set InputArray HCal/eflowTracks729 set OutputArray muons730 set Invert true731 add PdgCode {13}732 add PdgCode {-13}733 }734 713 735 714 … … 742 721 add InputArray HCal/eflowTracks eflowTracks 743 722 add InputArray ElectronFilter/electrons electrons 744 add InputArray Muon Filter/muons muons723 add InputArray MuonMomentumSmearing/muons muons 745 724 746 725 set VertexInputArray PileUpMerger/vertices … … 1200 1179 1201 1180 module Cloner MuonCloner { 1202 set InputArray Muon Filter/muons1181 set InputArray MuonMomentumSmearing/muons 1203 1182 set OutputArray muons 1204 1183 } … … 2207 2186 2208 2187 module Isolation MuonIsolation { 2209 set CandidateInputArray Muon Filter/muons2188 set CandidateInputArray MuonMomentumSmearing/muons 2210 2189 2211 2190 # isolation collection … … 4122 4101 add Branch GenMissingET/momentum GenMissingET MissingET 4123 4102 4124 add Branch TrackMerger/tracks TrackMerger Track4125 add Branch HCal/eflowTracks EFlowTrack Track4126 4103 # add Branch HCal/eflowTracks EFlowTrack Track 4127 4104 # add Branch ECal/eflowPhotons EFlowPhoton Tower -
modules/DenseTrackFilter.cc
rec37bc3 rb24f05a 243 243 Int_t numberOfCandidates; 244 244 245 246 cout<<fBestTrack<<endl;247 248 245 // saving track with highest pT that hit the tower 249 246 if(fTowerTrackHits > 0) … … 251 248 252 249 numberOfCandidates = fBestTrack->GetCandidates()->GetEntriesFast(); 253 if (numberOfCandidates < 2)254 cout<<fBestTrack<<endl;255 256 250 if (numberOfCandidates > 1) 257 251 { … … 278 272 fChargedHadronOutputArray->Add(candidate); 279 273 } 280 281 } 282 } 283 284 } 274 275 } 276 } 277 278 }
Note:
See TracChangeset
for help on using the changeset viewer.