30#ifndef G4MCTSIMVERTEX_HH
31#define G4MCTSIMVERTEX_HH 1
85 void Print(std::ostream& ostr = std::cout)
const;
89 G4int inParticleTrackID = 0;
90 std::vector<G4int> outParticleTrackIDList;
93 G4String creatorProcessName =
"none";
97 G4int volumeNumber = -1;
113 inParticleTrackID = right.inParticleTrackID;
114 outParticleTrackIDList = right.outParticleTrackIDList;
117 position = right.position;
119 volumeName = right.volumeName;
120 volumeNumber = right.volumeNumber;
121 creatorProcessName = right.creatorProcessName;
178 creatorProcessName = pname;
183 return creatorProcessName;
203 inParticleTrackID = in;
208 return inParticleTrackID;
213 return (
G4int)outParticleTrackIDList.size();
218 outParticleTrackIDList.push_back(out->
GetTrackID());
219 return (
G4int)outParticleTrackIDList.size();
224 outParticleTrackIDList.push_back(out);
225 return (
G4int)outParticleTrackIDList.size();
230 G4int size = (
G4int)outParticleTrackIDList.size();
231 if(i >= 0 && i < size)
232 return outParticleTrackIDList[i];
CLHEP::Hep3Vector G4ThreeVector
void SetVolumeName(const G4String &vname)
void SetStoreFlag(G4bool q)
G4int AddOutParticle(const G4MCTSimParticle *out)
void SetVolumeNumber(G4int n)
G4int GetVolumeNumber() const
const G4ThreeVector & GetPosition() const
void SetCreatorProcessName(const G4String &pname)
void Print(std::ostream &ostr=std::cout) const
const G4String & GetCreatorProcessName() const
const G4String & GetVolumeName() const
G4bool GetStoreFlag() const
void SetInParticle(const G4MCTSimParticle *in)
G4int GetNofOutParticles() const
G4MCTSimVertex & operator=(const G4MCTSimVertex &right)
G4int GetOutParticleTrackID(G4int i) const
void SetPosition(const G4ThreeVector &x)
G4int GetInParticleTrackID() const