Geant4  10.01
CexmcTrackPoints Class Reference

#include <CexmcTrackPoints.hh>

+ Inheritance diagram for CexmcTrackPoints:
+ Collaboration diagram for CexmcTrackPoints:

Public Member Functions

 CexmcTrackPoints (const G4String &name)
 
void Initialize (G4HCofThisEvent *hcOfThisEvent)
 
void EndOfEvent (G4HCofThisEvent *hcOfThisEvent)
 
void DrawAll (void)
 
void PrintAll (void)
 
void clear (void)
 
- Public Member Functions inherited from CexmcPrimitiveScorer
 CexmcPrimitiveScorer (const G4String &name)
 
virtual ~CexmcPrimitiveScorer ()
 
void InitializeMessenger (void)
 
- Public Member Functions inherited from G4VPrimitiveScorer
 G4VPrimitiveScorer (G4String name, G4int depth=0)
 
virtual ~G4VPrimitiveScorer ()
 
G4int GetCollectionID (G4int)
 
void SetUnit (const G4String &unit)
 
const G4String & GetUnit () const
 
G4double GetUnitValue () const
 
void SetMultiFunctionalDetector (G4MultiFunctionalDetector *d)
 
G4MultiFunctionalDetector * GetMultiFunctionalDetector () const
 
G4String GetName () const
 
void SetFilter (G4VSDFilter *f)
 
G4VSDFilter * GetFilter () const
 
void SetVerboseLevel (G4int vl)
 
G4int GetVerboseLevel () const
 
void SetNijk (G4int i, G4int j, G4int k)
 

Protected Member Functions

G4int GetTrackId (G4Step *step)
 
G4int GetIndex (G4Step *step)
 
G4bool ProcessHits (G4Step *step, G4TouchableHistory *tHistory)
 
- Protected Member Functions inherited from CexmcPrimitiveScorer
void PrintHeader (G4int nmbOfEntries) const
 
- Protected Member Functions inherited from G4VPrimitiveScorer
void CheckAndSetUnit (const G4String &unit, const G4String &category)
 

Protected Attributes

CexmcTrackPointsCollection * eventMap
 
- Protected Attributes inherited from G4VPrimitiveScorer
G4String primitiveName
 
G4MultiFunctionalDetector * detector
 
G4VSDFilter * filter
 
G4int verboseLevel
 
G4int indexDepth
 
G4String unitName
 
G4double unitValue
 
G4int fNi
 
G4int fNj
 
G4int fNk
 

Private Attributes

G4int hcId
 

Detailed Description

Definition at line 61 of file CexmcTrackPoints.hh.

Constructor & Destructor Documentation

CexmcTrackPoints::CexmcTrackPoints ( const G4String &  name)
explicit

Definition at line 51 of file CexmcTrackPoints.cc.

Member Function Documentation

void CexmcTrackPoints::clear ( void  )
virtual

Reimplemented from G4VPrimitiveScorer.

Definition at line 134 of file CexmcTrackPoints.cc.

References G4THitsMap< T >::clear(), and eventMap.

+ Here is the call graph for this function:

void CexmcTrackPoints::DrawAll ( void  )
virtual

Reimplemented from G4VPrimitiveScorer.

Definition at line 140 of file CexmcTrackPoints.cc.

void CexmcTrackPoints::EndOfEvent ( G4HCofThisEvent *  hcOfThisEvent)
virtual

Reimplemented from G4VPrimitiveScorer.

Definition at line 127 of file CexmcTrackPoints.cc.

References G4VPrimitiveScorer::GetVerboseLevel(), and PrintAll().

+ Here is the call graph for this function:

G4int CexmcTrackPoints::GetIndex ( G4Step *  step)
protectedvirtual

Reimplemented from G4VPrimitiveScorer.

Reimplemented in CexmcTrackPointsInLeftRightSet, and CexmcTrackPointsInCalorimeter.

Definition at line 73 of file CexmcTrackPoints.cc.

References GetTrackId().

Referenced by ProcessHits().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4int CexmcTrackPoints::GetTrackId ( G4Step *  step)
protected

Definition at line 57 of file CexmcTrackPoints.cc.

References CexmcOutputParticleDecayProductTrack, CexmcTrackInfo::GetCopyNumber(), G4Step::GetTrack(), CexmcTrackInfo::GetTrackType(), and G4Track::GetUserInformation().

Referenced by CexmcTrackPointsInCalorimeter::GetIndex(), CexmcTrackPointsInLeftRightSet::GetIndex(), and GetIndex().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void CexmcTrackPoints::Initialize ( G4HCofThisEvent *  hcOfThisEvent)
virtual

Reimplemented from G4VPrimitiveScorer.

Definition at line 115 of file CexmcTrackPoints.cc.

References G4HCofThisEvent::AddHitsCollection(), G4VPrimitiveScorer::detector, eventMap, G4VPrimitiveScorer::GetCollectionID(), G4VSensitiveDetector::GetName(), hcId, and G4VPrimitiveScorer::primitiveName.

+ Here is the call graph for this function:

void CexmcTrackPoints::PrintAll ( void  )
virtual

Reimplemented from G4VPrimitiveScorer.

Reimplemented in CexmcTrackPointsInLeftRightSet, and CexmcTrackPointsInCalorimeter.

Definition at line 145 of file CexmcTrackPoints.cc.

References G4THitsMap< T >::entries(), eventMap, G4BestUnit, G4cout, G4endl, G4THitsMap< T >::GetMap(), and CexmcPrimitiveScorer::PrintHeader().

Referenced by EndOfEvent().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4bool CexmcTrackPoints::ProcessHits ( G4Step *  step,
G4TouchableHistory *  tHistory 
)
protectedvirtual

Implements G4VPrimitiveScorer.

Definition at line 79 of file CexmcTrackPoints.cc.

References CexmcInsipidTrack, eventMap, GetIndex(), G4Step::GetPreStepPoint(), G4Step::GetTrack(), position, and G4THitsMap< T >::set().

+ Here is the call graph for this function:

Member Data Documentation

G4int CexmcTrackPoints::hcId
private

Definition at line 88 of file CexmcTrackPoints.hh.

Referenced by Initialize().


The documentation for this class was generated from the following files: