Changeset 3c59f98 in git
- Timestamp:
- Jan 11, 2022, 9:17:09 PM (3 years ago)
- Children:
- c6bce62
- Parents:
- c61b5ce
- Files:
-
- 1 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
classes/DelphesClasses.h
rc61b5ce r3c59f98 670 670 const CompBase *GetCompare() const { return fgCompare; } 671 671 672 ClassDef(CscCluster, 4)672 ClassDef(CscCluster, 5) 673 673 }; 674 674 … … 716 716 Float_t DeltaPhi; 717 717 718 TLorentzVector Momentum, Position, InitialPosition, DecayPosition, PositionError, Area;718 TLorentzVector Momentum, Position, InitialPosition, PositionError, DecayPosition, Area; 719 719 720 720 Float_t L; // path length -
classes/DelphesHepMC2Reader.cc
rc61b5ce r3c59f98 481 481 const TLorentzVector &decayPosition = candidate->Position; 482 482 candidate->DecayPosition.SetXYZT(decayPosition.X(), decayPosition.Y(), decayPosition.Z(), decayPosition.T());// decay position 483 483 } 484 484 else 485 485 { … … 489 489 const TLorentzVector &decayPosition = candidateDaughter->Position; 490 490 candidate->DecayPosition.SetXYZT(decayPosition.X(), decayPosition.Y(), decayPosition.Z(), decayPosition.T());// decay position 491 492 } 493 } 494 } 495 } 496 497 //--------------------------------------------------------------------------- 491 492 493 } 494 } 495 } 496 } 497 498 //--------------------------------------------------------------------------- -
modules/LLPFilter.cc
rc61b5ce r3c59f98 170 170 if (abs(daughterPdg)==12 || abs(daughterPdg)==14 || abs(daughterPdg)==16 || abs(daughterPdg)==13)continue; // ignore neutrinos and muons 171 171 if (abs(daughterPdg) > 1000000) continue;//ignore BSM particles 172 173 const TLorentzVector &daughterProdPosition = daughter->Position; 172 174 173 const TLorentzVector &daughterMomentum = daughter->Momentum; 175 const TLorentzVector distance = daughterProdPosition - candidateDecayPosition;176 174 177 175 // look for mother until find LLP or reach the top of the tree … … 187 185 } 188 186 189 190 191 187 // used detector geometry in Figure 4.1.1, page141 from CERN-LHCC-97-032: https://cds.cern.ch/record/343814?ln=en 192 188 // decayRegion = 0: no cuts on decay region -
modules/TreeWriter.cc
rc61b5ce r3c59f98 198 198 const TLorentzVector &momentum = candidate->Momentum; 199 199 const TLorentzVector &position = candidate->Position; 200 const TLorentzVector &DecayPosition = candidate->DecayPosition;201 200 202 201 entry = static_cast<GenParticle *>(branch->NewEntry()); … … 241 240 entry->T = position.T() * 1.0E-3 / c_light; 242 241 243 entry->decayX = DecayPosition.X();244 entry->decayY = DecayPosition.Y();245 entry->decayZ = DecayPosition.Z();246 entry->decayT = DecayPosition.T()* 1.0E-3 / c_light;247 242 } 248 243 }
Note:
See TracChangeset
for help on using the changeset viewer.