44 #include <G4HCofThisEvent.hh>
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(),
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;
G4int GetCollectionID(G4int)
G4StepPoint * GetPreStepPoint() const
CexmcTrackPoints(const G4String &name)
void AddHitsCollection(G4int HCID, G4VHitsCollection *aHC)
G4int GetVerboseLevel() const
CexmcTrackType GetTrackType(void) const
G4int GetIndex(G4Step *step)
void PrintHeader(G4int nmbOfEntries) const
G4THitsMap< CexmcTrackPointInfo > CexmcTrackPointsCollection
G4int GetCopyNumber(void) const
G4bool ProcessHits(G4Step *step, G4TouchableHistory *tHistory)
CexmcTrackPointsCollection * eventMap
G4int GetTrackId(G4Step *step)
void Initialize(G4HCofThisEvent *hcOfThisEvent)
void EndOfEvent(G4HCofThisEvent *hcOfThisEvent)
G4Track * GetTrack() const
#define G4BestUnit(a, b)
#define G4_USE_G4BESTUNIT_FOR_VERBOSE 1
G4int set(const G4int &key, U *&aHit) const
G4GLOB_DLL std::ostream G4cout
G4VUserTrackInformation * GetUserInformation() const
G4MultiFunctionalDetector * detector