Functions | |
RawParticle | makeMuon (bool isParticle, const math::XYZTLorentzVector &p, const math::XYZTLorentzVector &xStart) |
RawParticle rawparticle::makeMuon | ( | bool | isParticle, |
const math::XYZTLorentzVector & | p, | ||
const math::XYZTLorentzVector & | xStart | ||
) |
Create a particle with momentum 'p' at space-time point xStart The particle will be a muon if iParticle==true, else it will be an anti-muon.
Definition at line 20 of file makeMuon.cc.
References constexpr, and kMass.
Referenced by MuonSimHitProducer::applyMaterialEffects(), and CalorimetryManager::MuonMipSimulation().