#include <CexmcTrackPointsInLeftRightSet.hh>
◆ CexmcTrackPointsInLeftRightSet()
CexmcTrackPointsInLeftRightSet::CexmcTrackPointsInLeftRightSet |
( |
const G4String & |
name, |
|
|
const CexmcSetup * |
setup |
|
) |
| |
◆ GetIndex()
G4int CexmcTrackPointsInLeftRightSet::GetIndex |
( |
G4Step * |
step | ) |
|
|
protectedvirtual |
Reimplemented from CexmcTrackPoints.
Definition at line 61 of file CexmcTrackPointsInLeftRightSet.cc.
64 G4StepPoint * preStep( step->GetPreStepPoint() );
static const G4int leftRightBitsOffset
G4int GetTrackId(G4Step *step)
G4bool IsRightDetector(const G4VPhysicalVolume *pVolume) const
◆ GetLeftRightBitsOffset()
G4int CexmcTrackPointsInLeftRightSet::GetLeftRightBitsOffset |
( |
void |
| ) |
|
|
inlinestatic |
◆ GetSide()
◆ PrintAll()
void CexmcTrackPointsInLeftRightSet::PrintAll |
( |
void |
| ) |
|
|
virtual |
Reimplemented from CexmcTrackPoints.
Definition at line 74 of file CexmcTrackPointsInLeftRightSet.cc.
78 if ( nmbOfEntries == 0 )
83 for ( CexmcTrackPointsCollectionData::iterator
88 const G4String detectorSide( isRightDetector ?
"right" :
"left" );
89 G4int trackId( itr->first &
94 G4cout <<
" , position: " <<
96 G4cout <<
" , direction: " <<
97 itr->second->directionLocal <<
G4endl;
98 G4cout <<
" , momentum: " <<
100 G4cout <<
" , particle: " <<
101 itr->second->particle->GetParticleName() <<
G4endl;
static const G4int leftRightBitsOffset
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
◆ leftRightBitsOffset
const G4int CexmcTrackPointsInLeftRightSet::leftRightBitsOffset = 24 |
|
staticprotected |
◆ setup
const CexmcSetup* CexmcTrackPointsInLeftRightSet::setup |
|
protected |
The documentation for this class was generated from the following files: