Changeset d1ab205 in git for modules/LLPFilter.cc
- Timestamp:
- Jan 11, 2022, 10:25:45 PM (3 years ago)
- Children:
- 157fe13
- Parents:
- c6bce62
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
modules/LLPFilter.cc
rc6bce62 rd1ab205 19 19 /** \class LLPFilter 20 20 * 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 24 26 * 25 27 */ … … 146 148 const TLorentzVector &candidateProdPosition = candidate->Position; 147 149 const TLorentzVector &candidateDecayPosition = candidate->DecayPosition; 150 // TLorentzVector candidateDecayPosition; 148 151 pt = candidateMomentum.Pt(); 149 152 eta = candidateMomentum.Eta(); … … 181 184 if (tempCandidate->M1 == -1) continue; 182 185 186 // candidateDecayPosition = daughter->Position; 187 183 188 if (abs(daughterPdg)==11 || abs(daughterPdg)==22 || abs(daughterPdg)==111)candidate->Eem += daughterMomentum.E(); 184 189 else candidate->Ehad += daughterMomentum.E();
Note:
See TracChangeset
for help on using the changeset viewer.