83 if (extractor(aTrack).storeTrack()) {
87 (aTrack->GetStep()->GetPostStepPoint()->GetPosition()).
y(),
88 (aTrack->GetStep()->GetPostStepPoint()->GetPosition()).
z());
91 uint32_t
id = aTrack->GetTrackID();
93 std::pair<math::XYZVectorD,math::XYZTLorentzVectorD>
p(pos,mom);
96 LogDebug(
"SimTrackManager") <<
"TrackingAction addTkCaloStateInfo "
97 <<
id <<
" of momentum " << mom <<
" at " << pos;
102 ((extractor(aTrack).getIDonCaloSurface() == aTrack->GetTrackID())
103 || (extractor(aTrack).isAncestor()));
105 if (extractor(aTrack).isInHistory()) {
120 (aTrack->GetStep()->GetPostStepPoint()->GetPosition()).
y(),
121 (aTrack->GetStep()->GetPostStepPoint()->GetPosition()).
z());
122 LogDebug(
"SimTrackManager") <<
"TrackingAction addTrack "
124 <<
" added with " <<
true <<
" and " << withAncestor
132 LogDebug(
"SimTrackManager") <<
"TrackingAction addTrack "
134 <<
false <<
" and " <<
false;
ROOT::Math::LorentzVector< ROOT::Math::PxPyPzE4D< double > > XYZTLorentzVectorD
Lorentz vector with cylindrical internal representation using pseudorapidity.
TrackWithHistory * currentTrack_
ROOT::Math::DisplacementVector3D< ROOT::Math::Cartesian3D< double > > XYZVectorD
spatial vector with cartesian internal representation
EventAction * eventAction_
unsigned int trackID() const
void checkAtEnd(const G4Track *)
SimActivityRegistry::EndOfTrackSignal m_endOfTrackSignal
const TrackContainer * trackContainer() const
void addTkCaloStateInfo(uint32_t t, const std::pair< math::XYZVectorD, math::XYZTLorentzVectorD > &p)
void addTrack(TrackWithHistory *iTrack, bool inHistory, bool withAncestor)