Changeset 64a4950 in git
- Timestamp:
- Apr 16, 2014, 3:57:35 PM (11 years ago)
- Branches:
- ImprovedOutputFile, Timing, dual_readout, llp, master
- Children:
- a0431dc
- Parents:
- 3c40083
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
classes/DelphesClasses.h
r3c40083 r64a4950 404 404 Float_t S; // distance to the interaction point [m] 405 405 406 TRef Particle; // reference to generated particle 407 406 408 static CompBase *fgCompare; //! 407 409 const CompBase *GetCompare() const { return fgCompare; } -
modules/Hector.cc
r3c40083 r64a4950 112 112 pz = candidateMomentum.Pz(); 113 113 114 if( candidateMomentum.Eta() <= fEtaMin || fDirection*pz <= 0.0) continue;114 if(TMath::Abs(candidateMomentum.Eta()) <= fEtaMin || TMath::Sign(pz, Double_t(fDirection)) != pz) continue; 115 115 116 116 x = 1.0E3 * candidatePosition.X(); … … 129 129 130 130 H_BeamParticle particle(candidate->Mass, candidate->Charge); 131 particle.set4Momentum(candidateMomentum); 131 // particle.set4Momentum(candidateMomentum); 132 particle.set4Momentum(candidateMomentum.Px(), candidateMomentum.Py(), 133 candidateMomentum.Pz(), candidateMomentum.E()); 132 134 particle.setPosition(x, y, tx, ty, z); 133 135 -
modules/TreeWriter.cc
r3c40083 r64a4950 658 658 entry->Y = position.Y(); 659 659 entry->S = position.Z(); 660 661 entry->Particle = candidate->GetCandidates()->At(0); 660 662 } 661 663 }
Note:
See TracChangeset
for help on using the changeset viewer.