162 Int_t NNotPrimaries = 0;
181 Double_t px = -SiProfPoint->GetPx();
185 Double_t dEloss = SiProfPoint->GetEnergyLoss() * 1e6;
186 Int_t refId = ipoint;
198 if (mc_module_num < StationSet->GetStation(mc_station_num)->GetNModules()) {
202 Plane3D::Point(-(px + x), (py + y), (pz + z)), mc_station_num, mc_module_num);
203 x = -point_transformed.
X();
204 y = point_transformed.
Y();
205 z = point_transformed.
Z();
207 px = -(direction_transformed.
X() - point_transformed.
X());
208 py = direction_transformed.
Y() - point_transformed.
Y();
209 pz = direction_transformed.
Z() - point_transformed.
Z();
213 StationSet->AddPointToDetector(x, y, z, px, py, pz, dEloss, refId);
218 cout <<
" Number of not primaries points : " << NNotPrimaries <<
"\n";
220 cout <<
" Processed MC points : " << NAddedPoints <<
"\n";
222 for (
Int_t iStation = 0; iStation <
StationSet->GetNStations(); ++iStation) {