Fork me on GitHub

Changes in / [db316cd:f8e61b2] in git


Ignore:
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • cards/delphes_card_IDEA.tcl

    rdb316cd rf8e61b2  
    6868  TauTagging
    6969
     70  UniqueObjectFinder
     71
     72  ScalarHT
    7073  TreeWriter
    7174}
     
    7780module TruthVertexFinder TruthVertexFinder {
    7881
    79   ## below this distance two vertices are assumed to be merged
     82  ## below this distance two vertices are assumed to be the same
    8083  set Resolution 1E-06
    8184
     
    113116    set InputArray ParticlePropagator/chargedHadrons
    114117    set OutputArray chargedHadrons
    115     set UseMomentumVector true
    116 
    117118    # We use only one efficiency, we set only 0 effincency out of eta bounds:
    118119
    119120    set EfficiencyFormula {
    120121        (abs(eta) > 3.0)                                       * (0.000) +
    121         (pt >= 0.5) * (abs(eta) <= 3.0)                    * (0.997) +
    122         (pt < 0.5 && pt >= 0.3) * (abs(eta) <= 3.0)    * (0.65) +
    123         (pt < 0.3) * (abs(eta) <= 3.0)                     * (0.06)
     122        (energy >= 0.5) * (abs(eta) <= 3.0)                    * (0.997) +
     123        (energy < 0.5 && energy >= 0.3) * (abs(eta) <= 3.0)    * (0.65) +
     124        (energy < 0.3) * (abs(eta) <= 3.0)                     * (0.06)
    124125    }
    125126}
     
    134135    set InputArray ParticlePropagator/electrons
    135136    set OutputArray electrons
    136     set UseMomentumVector true
     137
    137138
    138139    # Current full simulation with CLICdet provides for electrons:
    139140    set EfficiencyFormula {
    140141        (abs(eta) > 3.0)                                       * (0.000) +
    141         (pt >= 0.5) * (abs(eta) <= 3.0)                    * (0.997) +
    142         (pt < 0.5 && pt >= 0.3) * (abs(eta) <= 3.0)    * (0.65) +
    143         (pt < 0.3) * (abs(eta) <= 3.0)                     * (0.06)
     142        (energy >= 0.5) * (abs(eta) <= 3.0)                    * (0.997) +
     143        (energy < 0.5 && energy >= 0.3) * (abs(eta) <= 3.0)    * (0.65) +
     144        (energy < 0.3) * (abs(eta) <= 3.0)                     * (0.06)
    144145    }
    145146}
     
    153154    set InputArray ParticlePropagator/muons
    154155    set OutputArray muons
    155     set UseMomentumVector true
    156156
    157157    # Current full simulation with CLICdet provides for muons:
    158158    set EfficiencyFormula {
    159159        (abs(eta) > 3.0)                                       * (0.000) +
    160         (pt >= 0.5) * (abs(eta) <= 3.0)                    * (0.997) +
    161         (pt < 0.5 && pt >= 0.3) * (abs(eta) <= 3.0)    * (0.65) +
    162         (pt < 0.3) * (abs(eta) <= 3.0)                     * (0.06)
     160        (energy >= 0.5) * (abs(eta) <= 3.0)                    * (0.997) +
     161        (energy < 0.5 && energy >= 0.3) * (abs(eta) <= 3.0)    * (0.65) +
     162        (energy < 0.3) * (abs(eta) <= 3.0)                     * (0.06)
    163163    }
    164164}
     
    417417
    418418  # 0: assume vertex time tV from MC Truth (ideal case)
    419   # 1: assume vertex time tV = 0
     419  # 1: assume vertex time tV=0
    420420  # 2: calculate vertex time as vertex TOF, assuming tPV=0
    421 
    422421  set VertexTimeMode 2
    423 }
     422
     423}
     424
    424425
    425426##############
     
    720721module FastJetFinder GenJetFinder {
    721722  set InputArray NeutrinoFilter/filteredParticles
     723
    722724  set OutputArray jets
    723725
    724   set JetAlgorithm 10
    725   set ParameterR 1.5
    726   set ParameterP -1.0
     726  # algorithm: 1 CDFJetClu, 2 MidPoint, 3 SIScone, 4 kt, 5 Cambridge/Aachen, 6 antikt
     727  set JetAlgorithm 6
     728  set ParameterR 0.4
    727729  set JetPTMin 1.0
    728 
    729730}
    730731
     
    751752
    752753  # algorithm: 1 CDFJetClu, 2 MidPoint, 3 SIScone, 4 kt, 5 Cambridge/Aachen, 6 antikt
    753   set JetAlgorithm 10
    754   set ParameterR 1.5
    755   set ParameterP -1.0
     754  set JetAlgorithm 6
     755  set ParameterR 0.4
    756756  set JetPTMin 1.0
    757 
    758 
    759757}
    760758
     
    768766
    769767  # scale formula for jets
    770   set ScaleFormula {1.00}
     768  set ScaleFormula {1.08}
    771769}
    772770
     
    828826
    829827
     828#####################################################
     829# Find uniquely identified photons/electrons/tau/jets
     830#####################################################
     831
     832module UniqueObjectFinder UniqueObjectFinder {
     833
     834  set UseUniqueID true
     835# earlier arrays take precedence over later ones
     836# add InputArray InputArray OutputArray
     837  add InputArray PhotonIsolation/photons photons
     838  add InputArray ElectronIsolation/electrons electrons
     839  add InputArray MuonIsolation/muons muons
     840  add InputArray JetEnergyScale/jets jets
     841}
     842
    830843
    831844##################
     
    841854
    842855    add Branch Delphes/allParticles Particle GenParticle
    843     add Branch TruthVertexFinder/vertices GenVertex Vertex
    844856
    845857    add Branch TrackMerger/tracks Track Track
     
    850862    add Branch Calorimeter/eflowNeutralHadrons EFlowNeutralHadron Tower
    851863
    852     add Branch EFlowMerger/eflow ParticleFlowCandidate ParticleFlowCandidate
    853 
    854864    add Branch Calorimeter/photons CaloPhoton Photon
    855865    add Branch PhotonEfficiency/photons PhotonEff Photon
     
    859869    add Branch GenMissingET/momentum GenMissingET MissingET
    860870
    861     add Branch JetEnergyScale/jets Jet Jet
    862     add Branch ElectronIsolation/electrons Electron Electron
    863     add Branch PhotonIsolation/photons Photon Photon
    864     add Branch MuonIsolation/muons Muon Muon
     871    add Branch UniqueObjectFinder/jets Jet Jet
     872    add Branch UniqueObjectFinder/electrons Electron Electron
     873    add Branch UniqueObjectFinder/photons Photon Photon
     874    add Branch UniqueObjectFinder/muons Muon Muon
     875
     876    add Branch JetEnergyScale/jets AntiKtJet Jet
    865877
    866878    add Branch MissingET/momentum MissingET MissingET
     879    add Branch ScalarHT/energy ScalarHT ScalarHT
    867880
    868881    # add Info InfoName InfoValue
  • modules/TimeOfFlight.cc

    rdb316cd rf8e61b2  
    164164        }
    165165
     166
     167    //ti = ti - t_truth;
     168
    166169    p = candidateMomentum.P();
    167170
     
    187190    candidate->InitialPosition.SetT(ti * 1.0E3 * c_light);
    188191
    189     // update particle mass based on TOF-based PID (commented for now, assume this calculation is done offline)
    190     //candidate->Momentum.SetVectM(candidateMomentum.Vect(), mass);
     192    // update particle mass based on TOF-based PID
     193    candidate->Momentum.SetVectM(candidateMomentum.Vect(), mass);
    191194
    192195    candidate->AddCandidate(mother);
  • modules/TimeSmearing.cc

    rdb316cd rf8e61b2  
    103103  while((candidate = static_cast<Candidate *>(fItTrackInputArray->Next())))
    104104  {
    105 
     105    // converting to meters
    106106    const TLorentzVector &candidateFinalPosition = candidate->Position;
    107107    const TLorentzVector &candidateMomentum = candidate->Momentum;
Note: See TracChangeset for help on using the changeset viewer.