File indexing completed on 2024-04-06 12:01:02
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016 #include "CommonTools/BaseParticlePropagator/interface/makeMuon.h"
0017
0018 #include "CommonTools/BaseParticlePropagator/interface/RawParticle.h"
0019 namespace rawparticle {
0020 RawParticle makeMuon(bool isParticle, const math::XYZTLorentzVector& p, const math::XYZTLorentzVector& xStart) {
0021 constexpr double kMass = 0.10566;
0022 if (isParticle) {
0023 return RawParticle(13, p, xStart, kMass, -1.);
0024 }
0025 return RawParticle(-13, p, xStart, kMass, +1.);
0026 }
0027 }