30#ifndef G4MCTSIMVERTEX_HH
31#define G4MCTSIMVERTEX_HH 1
86 void Print(std::ostream& ostr = std::cout)
const;
90 G4int inParticleTrackID = 0;
91 std::vector<G4int> outParticleTrackIDList;
94 G4String creatorProcessName =
"none";
98 G4int volumeNumber = -1;
114 inParticleTrackID = right.inParticleTrackID;
115 outParticleTrackIDList = right.outParticleTrackIDList;
120 volumeName = right.volumeName;
121 volumeNumber = right.volumeNumber;
122 creatorProcessName = right.creatorProcessName;
179 creatorProcessName = pname;
184 return creatorProcessName;
204 inParticleTrackID = in;
209 return inParticleTrackID;
214 return (
G4int)outParticleTrackIDList.size();
219 outParticleTrackIDList.push_back(out->
GetTrackID());
220 return (
G4int)outParticleTrackIDList.size();
225 outParticleTrackIDList.push_back(out);
226 return (
G4int)outParticleTrackIDList.size();
231 G4int size = (
G4int)outParticleTrackIDList.size();
232 if(i >= 0 && i < size)
233 return outParticleTrackIDList[i];
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