15 edm::LogInfo(
"SaveSimTrack") <<
"SaveSimTrack:: Save Sim Track if PDG code "
16 <<
"lies between " <<
pdgMin <<
" and "
24 G4Track* theTrack = (G4Track*)((*trk)());
27 int pdg =
std::abs(theTrack->GetDefinition()->GetPDGEncoding());
30 LogDebug(
"SaveSimTrack") <<
"Save SimTrack the Track "
31 << theTrack->GetTrackID() <<
" Type "
32 << theTrack->GetDefinition()->GetParticleName()
33 <<
" 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)