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];
int GetVolumeNumber() const
G4bool GetStoreFlag() const
void SetStoreFlag(G4bool q)
void SetInParticle(const G4MCTSimParticle *in)
void Print(std::ostream &ostr=std::cout) const
const G4ThreeVector & GetPosition() const
const std::string & GetVolumeName() const
int AddOutParticle(const G4MCTSimParticle *out)
int GetNofOutParticles() const
const G4MCTSimVertex & operator=(const G4MCTSimVertex &right)
void SetVolumeNumber(int n)
void SetCreatorProcessName(std::string pname)
int GetOutParticleTrackID(int i) const
void SetVolumeName(std::string vname)
int GetInParticleTrackID() const
const std::string & GetCreatorProcessName() const
void SetPosition(const G4ThreeVector &x)