Geant4.10
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Data Fields
CexmcTrackPointInfo Struct Reference

#include <CexmcTrackPointInfo.hh>

Public Member Functions

 CexmcTrackPointInfo ()
 
 CexmcTrackPointInfo (const G4ThreeVector &positionLocal, const G4ThreeVector &positionWorld, const G4ThreeVector &directionLocal, const G4ThreeVector &directionWorld, G4double momentumAmp, const G4ParticleDefinition *particle, G4int trackId, CexmcTrackType trackType)
 
G4bool IsValid (void) const
 
void * operator new (size_t size)
 
void operator delete (void *obj)
 
 operator G4double ()
 

Data Fields

G4ThreeVector positionLocal
 
G4ThreeVector positionWorld
 
G4ThreeVector directionLocal
 
G4ThreeVector directionWorld
 
G4double momentumAmp
 
const G4ParticleDefinition * particle
 
G4int trackId
 
CexmcTrackType trackType
 

Detailed Description

Definition at line 56 of file CexmcTrackPointInfo.hh.

Constructor & Destructor Documentation

CexmcTrackPointInfo::CexmcTrackPointInfo ( )
inline

Definition at line 58 of file CexmcTrackPointInfo.hh.

59  {}
const G4int CexmcInvalidTrackId(-1)
CexmcTrackPointInfo::CexmcTrackPointInfo ( const G4ThreeVector &  positionLocal,
const G4ThreeVector &  positionWorld,
const G4ThreeVector &  directionLocal,
const G4ThreeVector &  directionWorld,
G4double  momentumAmp,
const G4ParticleDefinition *  particle,
G4int  trackId,
CexmcTrackType  trackType 
)
inline

Definition at line 61 of file CexmcTrackPointInfo.hh.

67  :
68  positionLocal( positionLocal ), positionWorld( positionWorld ),
69  directionLocal( directionLocal ), directionWorld( directionWorld ),
70  momentumAmp( momentumAmp ), particle( particle ), trackId( trackId ),
72  {}
G4ThreeVector directionLocal
G4ThreeVector directionWorld
const G4ParticleDefinition * particle

Member Function Documentation

G4bool CexmcTrackPointInfo::IsValid ( void  ) const
inline

Definition at line 74 of file CexmcTrackPointInfo.hh.

References CexmcInvalidTrackId(), and trackId.

Referenced by CexmcTrackPointsDigitizer::Digitize(), CexmcEventAction::EndOfEventAction(), and operator<<().

75  {
76  return trackId != CexmcInvalidTrackId;
77  }
const G4int CexmcInvalidTrackId(-1)
void CexmcTrackPointInfo::operator delete ( void *  obj)
inline

Definition at line 117 of file CexmcTrackPointInfo.hh.

References G4Allocator< Type >::FreeSingle().

118 {
119  trackPointInfoAllocator.FreeSingle(
120  reinterpret_cast< CexmcTrackPointInfo * >( obj ) );
121 }
G4Allocator< CexmcTrackPointInfo > trackPointInfoAllocator
Definition: CexmcCommon.cc:50
CexmcTrackPointInfo::operator G4double ( )
inline

Definition at line 101 of file CexmcTrackPointInfo.hh.

102  {
103  return 0;
104  }
void * CexmcTrackPointInfo::operator new ( size_t  size)
inline

Definition at line 111 of file CexmcTrackPointInfo.hh.

References G4Allocator< Type >::MallocSingle().

112 {
113  return trackPointInfoAllocator.MallocSingle();
114 }
G4Allocator< CexmcTrackPointInfo > trackPointInfoAllocator
Definition: CexmcCommon.cc:50

Field Documentation

G4ThreeVector CexmcTrackPointInfo::directionLocal

Definition at line 87 of file CexmcTrackPointInfo.hh.

Referenced by operator<<().

G4ThreeVector CexmcTrackPointInfo::directionWorld

Definition at line 89 of file CexmcTrackPointInfo.hh.

Referenced by operator<<(), and CexmcEventAction::PrintTrackPoints().

G4double CexmcTrackPointInfo::momentumAmp

Definition at line 91 of file CexmcTrackPointInfo.hh.

Referenced by CexmcEventAction::EndOfEventAction(), and operator<<().

const G4ParticleDefinition* CexmcTrackPointInfo::particle
G4ThreeVector CexmcTrackPointInfo::positionLocal

Definition at line 83 of file CexmcTrackPointInfo.hh.

Referenced by CexmcTrackPointsDigitizer::Digitize(), and operator<<().

G4ThreeVector CexmcTrackPointInfo::positionWorld

Definition at line 85 of file CexmcTrackPointInfo.hh.

Referenced by operator<<().

G4int CexmcTrackPointInfo::trackId

Definition at line 95 of file CexmcTrackPointInfo.hh.

Referenced by IsValid(), and operator<<().

CexmcTrackType CexmcTrackPointInfo::trackType

Definition at line 97 of file CexmcTrackPointInfo.hh.

Referenced by operator<<().


The documentation for this struct was generated from the following file: