Fork me on GitHub

Changeset d1ab205 in git for modules/LLPFilter.cc


Ignore:
Timestamp:
Jan 11, 2022, 10:25:45 PM (3 years ago)
Author:
christinaw97 <christina.wang@…>
Children:
157fe13
Parents:
c6bce62
Message:

updated comments

File:
1 edited

Legend:

Unmodified
Added
Removed
  • modules/LLPFilter.cc

    rc6bce62 rd1ab205  
    1919/** \class LLPFilter
    2020 *
    21  *  Removes particles with specific PDG codes
    22  *
    23  *  \author M. Selvaggi
     21 *  Filter LLPs with particular PDG ID/status and calculate the EM and hadronic energy of LLP based on decay particles
     22 *  The classification of EM and hadronic energy of LLP is based on instructions from the HEPData entry for the CMS paper searching
     23 *  for neutral LLPs in the CMS endcap muon detectors: https://www.hepdata.net/record/104408
     24 *
     25 *  \author Christina Wang
    2426 *
    2527 */
     
    146148    const TLorentzVector &candidateProdPosition = candidate->Position;
    147149    const TLorentzVector &candidateDecayPosition = candidate->DecayPosition;
     150    // TLorentzVector candidateDecayPosition;
    148151    pt = candidateMomentum.Pt();
    149152    eta = candidateMomentum.Eta();
     
    181184      if (tempCandidate->M1 == -1) continue;
    182185
     186      // candidateDecayPosition = daughter->Position;
     187
    183188      if (abs(daughterPdg)==11 || abs(daughterPdg)==22 || abs(daughterPdg)==111)candidate->Eem += daughterMomentum.E();
    184189      else candidate->Ehad += daughterMomentum.E();
Note: See TracChangeset for help on using the changeset viewer.