#include <LXeTrajectory.hh>
Definition at line 45 of file LXeTrajectory.hh.
LXeTrajectory::LXeTrajectory |
( |
| ) |
|
Definition at line 49 of file LXeTrajectory.cc.
50 :
G4Trajectory(),fWls(
false),fDrawit(
false),fForceNoDraw(
false),fForceDraw(
false)
52 fParticleDefinition=0;
LXeTrajectory::LXeTrajectory |
( |
const G4Track * |
aTrack | ) |
|
Definition at line 57 of file LXeTrajectory.cc.
G4ParticleDefinition * GetDefinition() const
Definition at line 65 of file LXeTrajectory.cc.
66 :
G4Trajectory(right),fWls(right.fWls),fDrawit(right.fDrawit)
68 fParticleDefinition=right.fParticleDefinition;
LXeTrajectory::~LXeTrajectory |
( |
| ) |
|
|
virtual |
void LXeTrajectory::DrawTrajectory |
( |
| ) |
const |
|
virtual |
Reimplemented from G4Trajectory.
Definition at line 77 of file LXeTrajectory.cc.
81 const G4int i_mode = 50;
87 if(!fForceDraw && (!fDrawit || fForceNoDraw))
97 if (!pVVisManager)
return;
99 const G4double markerSize = std::abs(i_mode)/1000;
100 G4bool lineRequired (i_mode >= 0);
101 G4bool markersRequired (markerSize > 0.);
109 const std::vector<G4ThreeVector>* auxiliaries
112 for (
size_t iAux = 0; iAux < auxiliaries->size(); ++iAux) {
115 trajectoryLine.push_back(
pos);
117 if (markersRequired) {
118 auxiliaryPoints.push_back(
pos);
124 trajectoryLine.push_back(
pos);
126 if (markersRequired) {
127 stepPoints.push_back(
pos);
146 pVVisManager->
Draw(trajectoryLine);
148 if (markersRequired) {
154 pVVisManager->
Draw(auxiliaryPoints);
161 pVVisManager->
Draw(stepPoints);
virtual void Draw(const G4Circle &, const G4Transform3D &objectTransformation=G4Transform3D())=0
virtual const std::vector< G4ThreeVector > * GetAuxiliaryPoints() const
static G4VVisManager * GetConcreteInstance()
void SetMarkerType(MarkerType)
void SetFillStyle(FillStyle)
virtual int GetPointEntries() const
void SetVisAttributes(const G4VisAttributes *)
virtual const G4ThreeVector GetPosition() const =0
virtual G4VTrajectoryPoint * GetPoint(G4int i) const
static G4OpticalPhoton * OpticalPhotonDefinition()
static const G4double pos
void SetScreenSize(G4double)
void LXeTrajectory::operator delete |
( |
void * |
aTrajectory | ) |
|
|
inline |
Definition at line 82 of file LXeTrajectory.hh.
G4ThreadLocal G4Allocator< LXeTrajectory > * LXeTrajectoryAllocator
void * LXeTrajectory::operator new |
( |
size_t |
| ) |
|
|
inline |
Definition at line 75 of file LXeTrajectory.hh.
G4ThreadLocal G4Allocator< LXeTrajectory > * LXeTrajectoryAllocator
void LXeTrajectory::SetForceDrawTrajectory |
( |
G4bool |
b | ) |
|
|
inline |
void LXeTrajectory::SetForceNoDrawTrajectory |
( |
G4bool |
b | ) |
|
|
inline |
void LXeTrajectory::WLS |
( |
| ) |
|
|
inline |
The documentation for this class was generated from the following files: