29#ifndef MCT_SIM_VERTEX_H
30#define MCT_SIM_VERTEX_H
47 int inParticleTrackID;
48 std::vector<int> outParticleTrackIDList;
53 std::string volumeName;
55 std::string creatorProcessName;
62 std::string vname,
int ncopy, std::string pname);
101 void Print(std::ostream& ostr= std::cout)
const;
115 inParticleTrackID= right.inParticleTrackID;
116 outParticleTrackIDList= right.outParticleTrackIDList;
121 volumeName= right.volumeName;
122 volumeNumber= right.volumeNumber;
123 creatorProcessName= right.creatorProcessName;
144{ volumeName= vname; }
147{
return volumeName; }
153{
return volumeNumber; }
156{ creatorProcessName= pname; }
159{
return creatorProcessName; }
166{ inParticleTrackID= in-> GetTrackID(); }
169{ inParticleTrackID= in; }
172{
return inParticleTrackID; }
175{
return outParticleTrackIDList.size(); }
179 outParticleTrackIDList.push_back(out->
GetTrackID());
180 return outParticleTrackIDList.size();
185 outParticleTrackIDList.push_back(out);
186 return outParticleTrackIDList.size();
191 int size= outParticleTrackIDList.size();
192 if(i>=0 && i< size)
return outParticleTrackIDList[i];
void SetStoreFlag(G4bool q)
const G4ThreeVector & GetPosition() const
int GetOutParticleTrackID(int i) const
int AddOutParticle(const G4MCTSimParticle *out)
const std::string & GetVolumeName() const
const std::string & GetCreatorProcessName() const
void Print(std::ostream &ostr=std::cout) const
void SetVolumeNumber(int n)
int GetInParticleTrackID() const
int GetVolumeNumber() const
G4bool GetStoreFlag() const
void SetCreatorProcessName(std::string pname)
void SetInParticle(const G4MCTSimParticle *in)
void SetVolumeName(std::string vname)
int GetNofOutParticles() const
void SetPosition(const G4ThreeVector &x)
const G4MCTSimVertex & operator=(const G4MCTSimVertex &right)