#include <WLSTrajectory.hh>
Definition at line 53 of file WLSTrajectory.hh.
◆ WLSTrajectory() [1/3]
WLSTrajectory::WLSTrajectory |
( |
| ) |
|
Definition at line 59 of file WLSTrajectory.cc.
CLHEP::Hep3Vector G4ThreeVector
WLSTrajectoryPointContainer * fpPointsContainer
G4ParticleDefinition * fParticleDefinition
G4ThreeVector fInitialMomentum
◆ WLSTrajectory() [2/3]
WLSTrajectory::WLSTrajectory |
( |
const G4Track * |
aTrack | ) |
|
Definition at line 69 of file WLSTrajectory.cc.
const G4String & GetParticleName() const
G4int GetPDGEncoding() const
WLSTrajectoryPointContainer * fpPointsContainer
G4ParticleDefinition * fParticleDefinition
std::vector< G4VTrajectoryPoint * > WLSTrajectoryPointContainer
G4ThreeVector fInitialMomentum
G4double GetPDGCharge() const
◆ WLSTrajectory() [3/3]
Definition at line 85 of file WLSTrajectory.cc.
WLSTrajectoryPointContainer * fpPointsContainer
G4ParticleDefinition * fParticleDefinition
std::vector< G4VTrajectoryPoint * > WLSTrajectoryPointContainer
G4ThreeVector fInitialMomentum
◆ ~WLSTrajectory()
WLSTrajectory::~WLSTrajectory |
( |
| ) |
|
|
virtual |
Definition at line 105 of file WLSTrajectory.cc.
108 delete (*fpPointsContainer)[i];
WLSTrajectoryPointContainer * fpPointsContainer
◆ AppendStep()
void WLSTrajectory::AppendStep |
( |
const G4Step * |
aStep | ) |
|
|
virtual |
◆ CreateAttValues()
std::vector< G4AttValue > * WLSTrajectory::CreateAttValues |
( |
| ) |
const |
|
virtual |
Reimplemented from G4VTrajectory.
Definition at line 198 of file WLSTrajectory.cc.
200 std::vector<G4AttValue>* values =
new std::vector<G4AttValue>;
virtual const std::map< G4String, G4AttDef > * GetAttDefs() const
static G4String ConvertToString(G4bool boolVal)
#define G4BestUnit(a, b)
#define G4_USE_G4BESTUNIT_FOR_VERBOSE 1
G4GLOB_DLL std::ostream G4cout
virtual int GetPointEntries() const
G4ThreeVector fInitialMomentum
◆ GetAttDefs()
Reimplemented from G4VTrajectory.
Definition at line 156 of file WLSTrajectory.cc.
159 std::map<G4String,G4AttDef>* store
165 (*store)[ID] =
G4AttDef(ID,
"Track ID",
"Bookkeeping",
"",
"G4int");
168 (*store)[PID] =
G4AttDef(PID,
"Parent ID",
"Bookkeeping",
"",
"G4int");
171 (*store)[PN] =
G4AttDef(PN,
"Particle Name",
"Physics",
"",
"G4String");
174 (*store)[Ch] =
G4AttDef(Ch,
"Charge",
"Physics",
"e+",
"G4double");
177 (*store)[PDG] =
G4AttDef(PDG,
"PDG Encoding",
"Physics",
"",
"G4int");
181 "Momentum of track at start of trajectory",
182 "Physics",
"G4BestUnit",
"G4ThreeVector");
186 "Magnitude of momentum of track at start of trajectory",
187 "Physics",
"G4BestUnit",
"G4double");
190 (*store)[NTP] =
G4AttDef(NTP,
"No. of points",
"Bookkeeping",
"",
"G4int");
std::map< G4String, G4AttDef > * GetInstance(const G4String &storeKey, G4bool &isNew)
◆ GetCharge()
virtual G4double WLSTrajectory::GetCharge |
( |
| ) |
const |
|
inlinevirtual |
◆ GetInitialMomentum()
virtual G4ThreeVector WLSTrajectory::GetInitialMomentum |
( |
| ) |
const |
|
inlinevirtual |
◆ GetParentID()
virtual G4int WLSTrajectory::GetParentID |
( |
| ) |
const |
|
inlinevirtual |
◆ GetParticleDefinition()
◆ GetParticleName()
virtual G4String WLSTrajectory::GetParticleName |
( |
| ) |
const |
|
inlinevirtual |
◆ GetPDGEncoding()
virtual G4int WLSTrajectory::GetPDGEncoding |
( |
| ) |
const |
|
inlinevirtual |
◆ GetPoint()
◆ GetPointEntries()
virtual int WLSTrajectory::GetPointEntries |
( |
| ) |
const |
|
inlinevirtual |
◆ GetTrackID()
virtual G4int WLSTrajectory::GetTrackID |
( |
| ) |
const |
|
inlinevirtual |
◆ MergeTrajectory()
void WLSTrajectory::MergeTrajectory |
( |
G4VTrajectory * |
secondTrajectory | ) |
|
|
virtual |
Implements G4VTrajectory.
Definition at line 140 of file WLSTrajectory.cc.
142 if(!secondTrajectory)
return;
147 for(
G4int i=1; i<ent; ++i) {
static const double second
virtual int GetPointEntries() const
WLSTrajectoryPointContainer * fpPointsContainer
◆ operator delete()
void WLSTrajectory::operator delete |
( |
void * |
aTrajectory | ) |
|
|
inline |
Definition at line 127 of file WLSTrajectory.hh.
G4ThreadLocal G4Allocator< WLSTrajectory > * WLSTrajectoryAllocator
◆ operator new()
void * WLSTrajectory::operator new |
( |
size_t |
| ) |
|
|
inline |
Definition at line 121 of file WLSTrajectory.hh.
G4ThreadLocal G4Allocator< WLSTrajectory > * WLSTrajectoryAllocator
◆ operator==()
int WLSTrajectory::operator== |
( |
const WLSTrajectory & |
right | ) |
const |
|
inline |
◆ ShowTrajectory()
void WLSTrajectory::ShowTrajectory |
( |
std::ostream & |
os = G4cout | ) |
const |
|
virtual |
◆ fInitialMomentum
◆ fParentID
G4int WLSTrajectory::fParentID |
|
private |
◆ fParticleDefinition
◆ fParticleName
◆ fPDGCharge
◆ fPDGEncoding
G4int WLSTrajectory::fPDGEncoding |
|
private |
◆ fpPointsContainer
◆ fTrackID
G4int WLSTrajectory::fTrackID |
|
private |
The documentation for this class was generated from the following files: