#include <CexmcTrackPoints.hh>
Definition at line 61 of file CexmcTrackPoints.hh.
◆ CexmcTrackPoints()
CexmcTrackPoints::CexmcTrackPoints |
( |
const G4String & |
name | ) |
|
|
explicit |
◆ clear()
void CexmcTrackPoints::clear |
( |
void |
| ) |
|
|
virtual |
◆ DrawAll()
void CexmcTrackPoints::DrawAll |
( |
void |
| ) |
|
|
virtual |
◆ EndOfEvent()
◆ GetIndex()
G4int CexmcTrackPoints::GetIndex |
( |
G4Step * |
step | ) |
|
|
protectedvirtual |
◆ GetTrackId()
G4int CexmcTrackPoints::GetTrackId |
( |
G4Step * |
step | ) |
|
|
protected |
Definition at line 57 of file CexmcTrackPoints.cc.
62 step->GetTrack()->GetUserInformation() ) );
64 G4int ret( trackInfo->GetTrackType() );
67 ret += trackInfo->GetCopyNumber();
◆ Initialize()
Reimplemented from G4VPrimitiveScorer.
Definition at line 115 of file CexmcTrackPoints.cc.
CexmcTrackPointsCollection * eventMap
G4THitsMap< CexmcTrackPointInfo > CexmcTrackPointsCollection
G4int GetCollectionID(G4int)
G4MultiFunctionalDetector * detector
◆ PrintAll()
void CexmcTrackPoints::PrintAll |
( |
void |
| ) |
|
|
virtual |
Reimplemented from G4VPrimitiveScorer.
Reimplemented in CexmcTrackPointsInLeftRightSet, and CexmcTrackPointsInCalorimeter.
Definition at line 145 of file CexmcTrackPoints.cc.
149 if ( nmbOfEntries == 0 )
154 for ( CexmcTrackPointsCollectionData::iterator
159 G4cout <<
" , position: " <<
161 G4cout <<
" , direction: " <<
162 itr->second->directionLocal <<
G4endl;
163 G4cout <<
" , momentum: " <<
165 G4cout <<
" , particle: " <<
166 itr->second->particle->GetParticleName() <<
G4endl;
std::map< G4int, T * > * GetMap() const
CexmcTrackPointsCollection * eventMap
#define G4BestUnit(a, b)
#define G4_USE_G4BESTUNIT_FOR_VERBOSE 1
G4GLOB_DLL std::ostream G4cout
void PrintHeader(G4int nmbOfEntries) const
◆ ProcessHits()
Implements G4VPrimitiveScorer.
Definition at line 79 of file CexmcTrackPoints.cc.
86 G4Track *
track( step->GetTrack() );
90 G4StepPoint * preStepPoint( step->GetPreStepPoint() );
92 G4ThreeVector direction( preStepPoint->GetMomentumDirection() );
95 GetHistory()->GetTopTransform() );
98 track->GetUserInformation() ) );
99 trackType = trackInfo->GetTrackType();
103 transform.TransformAxis( direction ),
105 preStepPoint->GetMomentum().mag(),
106 particle,
track->GetTrackID(),
CexmcTrackPointsCollection * eventMap
G4int set(const G4int &key, T *&aHit) const
G4int GetIndex(G4Step *step)
◆ eventMap
◆ hcId
G4int CexmcTrackPoints::hcId |
|
private |
The documentation for this class was generated from the following files: