9 #include "G4PhysicalConstants.hh"
10 #include "G4SystemOfUnits.hh"
17 edm::LogInfo(
"SaveSimTrack") <<
"SaveSimTrack:: Save Sim Track if PDG code "
18 <<
"lies between " <<
pdgMin <<
" and "
26 G4Track* theTrack = (G4Track*)((*trk)());
29 int pdg =
std::abs(theTrack->GetDefinition()->GetPDGEncoding());
32 LogDebug(
"SaveSimTrack") <<
"Save SimTrack the Track "
33 << theTrack->GetTrackID() <<
" Type "
34 << theTrack->GetDefinition()->GetParticleName()
35 <<
" Momentum " << theTrack->GetMomentum()/MeV
T getUntrackedParameter(std::string const &, T const &) const
void update(const BeginOfTrack *trk)
This routine will be called when the appropriate signal arrives.
SaveSimTrack(edm::ParameterSet const &p)
Abs< T >::type abs(const T &t)