70 uint32_t
id = aTrack->GetTrackID();
71 math::XYZVectorD pos(aTrack->GetStep()->GetPostStepPoint()->GetPosition().x(),
72 aTrack->GetStep()->GetPostStepPoint()->GetPosition().y(),
73 aTrack->GetStep()->GetPostStepPoint()->GetPosition().z());
75 std::pair<math::XYZVectorD, math::XYZTLorentzVectorD>
p(pos, mom);
79 <<
" aTrack->GetTrackID()=" << aTrack->GetTrackID()
81 << pos.x() <<
"," << pos.y() <<
"," << pos.z() <<
")";
95 <<
" Track " << aTrack->GetTrackID() <<
" crossed boundary; pos=("
118 <<
"TrackingAction addTkCaloStateInfo " <<
id <<
" of momentum " << mom <<
" at " << pos;
123 ((
extractor_(aTrack).getIDonCaloSurface() == aTrack->GetTrackID()) || (
extractor_(aTrack).isAncestor()));
135 <<
"TrackingAction addTrack " <<
currentTrack_->
trackID() <<
" E(GeV)= " << aTrack->GetKineticEnergy() <<
" "
136 << aTrack->GetDefinition()->GetParticleName() <<
" added= " << withAncestor <<
" at "
137 << aTrack->GetPosition();
139 <<
true <<
" and " << withAncestor <<
" at " << pos;
147 <<
"TrackingAction addTrack " <<
currentTrack_->
trackID() <<
" added with " <<
false <<
" and " <<
false;
Log< level::Info, true > LogVerbatim
ROOT::Math::LorentzVector< ROOT::Math::PxPyPzE4D< double > > XYZTLorentzVectorD
Lorentz vector with cylindrical internal representation using pseudorapidity.
TrackInformationExtractor extractor_
void setCrossedBoundaryPosMom(int id, const math::XYZTLorentzVectorF position, const math::XYZTLorentzVectorF momentum)
CMSSteppingVerbose * steppingVerbose_
TrackWithHistory * currentTrack_
void TrackEnded(const G4Track *) const
ROOT::Math::DisplacementVector3D< ROOT::Math::Cartesian3D< double > > XYZVectorD
spatial vector with cartesian internal representation
EventAction * eventAction_
unsigned int trackID() const
void checkAtEnd(const G4Track *)
bool saveCaloBoundaryInformation_
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)