1 #include "ERmuSiVertex.h" 6 ERmuSiVertex::ERmuSiVertex():
12 ERmuSiVertex::ERmuSiVertex(Float_t x, Float_t y, Float_t z):
13 fTracksNb(0), fX(x), fY(y), fZ(z)
18 void ERmuSiVertex::AddTrack(Int_t
id){
19 Bool_t founded = kFALSE;
20 for (Int_t iTrack = 0; iTrack < fTracksNb; iTrack++){
21 if (fTracksID[iTrack] ==
id){
27 fTracksID[fTracksNb++] = id;
31 std::cerr <<
"Big track count in vertex!" << std::endl;
35 Int_t ERmuSiVertex::Track(Int_t
id)
const{
37 std::cerr <<
"There is no such number of tracks!" << std::endl;