#include <F04Trajectory.hh>
Definition at line 50 of file F04Trajectory.hh.
 
      
        
          | F04Trajectory::F04Trajectory  | 
          ( | 
           | ) | 
           | 
        
      
 
Definition at line 52 of file F04Trajectory.cc.
   53     : fpPointsContainer(0), fTrackID(0), fParentID(0),
 
   54       fPDGCharge(0.0), fPDGEncoding(0), fParticleName(
""),
 
CLHEP::Hep3Vector G4ThreeVector
 
 
 
 
      
        
          | F04Trajectory::F04Trajectory  | 
          ( | 
          const G4Track *  | 
          aTrack | ) | 
           | 
        
      
 
Definition at line 59 of file F04Trajectory.cc.
G4ParticleDefinition * GetDefinition() const 
 
G4int GetParentID() const 
 
std::vector< G4VTrajectoryPoint * > TrajectoryPointContainer
 
G4int GetPDGEncoding() const 
 
const G4String & GetParticleName() const 
 
G4ThreeVector GetMomentum() const 
 
G4double GetPDGCharge() const 
 
 
 
 
Definition at line 75 of file F04Trajectory.cc.
   77     fParticleName = right.fParticleName;
 
   78     fPDGCharge = right.fPDGCharge;
 
   79     fPDGEncoding = right.fPDGEncoding;
 
   80     fTrackID = right.fTrackID;
 
   81     fParentID = right.fParentID;
 
   82     fInitialMomentum = right.fInitialMomentum;
 
   85     for(
size_t i=0;i<right.fpPointsContainer->size();++i) {
 
std::vector< G4VTrajectoryPoint * > TrajectoryPointContainer
 
 
 
 
  
  
      
        
          | F04Trajectory::~F04Trajectory  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
virtual   | 
  
 
Definition at line 94 of file F04Trajectory.cc.
   96     for(
size_t i=0;i<fpPointsContainer->size();++i){
 
   97         delete  (*fpPointsContainer)[i];
 
   99     fpPointsContainer->clear();
 
  101     delete fpPointsContainer;
 
 
 
 
  
  
      
        
          | void F04Trajectory::AppendStep  | 
          ( | 
          const G4Step *  | 
          aStep | ) | 
           | 
         
       
   | 
  
virtual   | 
  
 
 
  
  
      
        
          | std::vector< G4AttValue > * F04Trajectory::CreateAttValues  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
virtual   | 
  
 
Reimplemented from G4VTrajectory.
Definition at line 187 of file F04Trajectory.cc.
  189   std::vector<G4AttValue>* values = 
new std::vector<G4AttValue>;
 
  197   values->push_back(
G4AttValue(
"PN",fParticleName,
""));
 
virtual int GetPointEntries() const 
 
static G4String ConvertToString(G4bool boolVal)
 
#define G4BestUnit(a, b)
#define G4_USE_G4BESTUNIT_FOR_VERBOSE 1 
 
G4GLOB_DLL std::ostream G4cout
 
virtual const std::map< G4String, G4AttDef > * GetAttDefs() const 
 
 
 
 
Reimplemented from G4VTrajectory.
Definition at line 145 of file F04Trajectory.cc.
  148     std::map<G4String,G4AttDef>* store
 
  154       (*store)[ID] = 
G4AttDef(ID,
"Track ID",
"Bookkeeping",
"",
"G4int");
 
  157       (*store)[PID] = 
G4AttDef(PID,
"Parent ID",
"Bookkeeping",
"",
"G4int");
 
  160       (*store)[PN] = 
G4AttDef(PN,
"Particle Name",
"Physics",
"",
"G4String");
 
  163       (*store)[Ch] = 
G4AttDef(Ch,
"Charge",
"Physics",
"e+",
"G4double");
 
  166       (*store)[PDG] = 
G4AttDef(PDG,
"PDG Encoding",
"Physics",
"",
"G4int");
 
  170                        "Momentum of track at start of trajectory",
 
  171                        "Physics",
"G4BestUnit",
"G4ThreeVector");
 
  175                        "Magnitude of momentum of track at start of trajectory",
 
  176                        "Physics",
"G4BestUnit",
"G4double");
 
  179         (*store)[NTP] = 
G4AttDef(NTP,
"No. of points",
"Bookkeeping",
"",
"G4int");
 
std::map< G4String, G4AttDef > * GetInstance(const G4String &storeKey, G4bool &isNew)
 
 
 
 
  
  
      
        
          | G4double F04Trajectory::GetCharge  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inlinevirtual   | 
  
 
 
  
  
      
        
          | G4int F04Trajectory::GetParentID  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inlinevirtual   | 
  
 
 
  
  
      
        
          | G4String F04Trajectory::GetParticleName  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inlinevirtual   | 
  
 
 
  
  
      
        
          | G4int F04Trajectory::GetPDGEncoding  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inlinevirtual   | 
  
 
 
  
  
      
        
          | virtual int F04Trajectory::GetPointEntries  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inlinevirtual   | 
  
 
 
  
  
      
        
          | G4int F04Trajectory::GetTrackID  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inlinevirtual   | 
  
 
 
Implements G4VTrajectory.
Definition at line 129 of file F04Trajectory.cc.
  131     if(!secondTrajectory) 
return;
 
  136     for(
G4int i=1; i<ent; ++i) {
 
  137         fpPointsContainer->push_back((*(second->fpPointsContainer))[i]);
 
  139     delete (*second->fpPointsContainer)[0];
 
  140     second->fpPointsContainer->clear();
 
virtual int GetPointEntries() const 
 
static constexpr double second
 
 
 
 
  
  
      
        
          | void F04Trajectory::operator delete  | 
          ( | 
          void *  | 
          aTrajectory | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
Definition at line 121 of file F04Trajectory.hh.
G4ThreadLocal G4Allocator< F04Trajectory > * F04TrajectoryAllocator
 
 
 
 
  
  
      
        
          | void * F04Trajectory::operator new  | 
          ( | 
          size_t  | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
Definition at line 115 of file F04Trajectory.hh.
G4ThreadLocal G4Allocator< F04Trajectory > * F04TrajectoryAllocator
 
 
 
 
  
  
      
        
          | void F04Trajectory::ShowTrajectory  | 
          ( | 
          std::ostream &  | 
          os = G4cout | ) | 
           const | 
         
       
   | 
  
virtual   | 
  
 
 
The documentation for this class was generated from the following files: