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];