Skip to content
Snippets Groups Projects

L1: cleanup

Merged Sergey Gorbunov requested to merge se.gorbunov/cbmroot:PR into master
All threads resolved!
Files
58
@@ -81,27 +81,6 @@ bool CbmTrackingDetectorInterfaceBase::Check() const
@@ -81,27 +81,6 @@ bool CbmTrackingDetectorInterfaceBase::Check() const
msg << prefix << " NaN back strips stereo angle (" << angleB << " rad)\n";
msg << prefix << " NaN back strips stereo angle (" << angleB << " rad)\n";
res = false && res;
res = false && res;
}
}
// Front strips spatial resolution
auto rmsF = this->GetStripsSpatialRmsFront(iSt);
if (rmsF < std::numeric_limits<double>::epsilon() || std::isnan(rmsF)) {
msg << prefix << " zero, negative or NaN front strips spatial resolution (" << rmsF << " cm)\n";
res = false && res;
}
// Back strips spatial resolution
auto rmsB = this->GetStripsSpatialRmsBack(iSt);
if (rmsB < std::numeric_limits<double>::epsilon() || std::isnan(rmsB)) {
msg << prefix << " zero, negative or NaN back strips spatial resolution (" << rmsB << " cm)\n";
res = false && res;
}
// Time resolution
auto timeRes = this->GetTimeResolution(iSt);
if (timeRes < std::numeric_limits<double>::epsilon() || std::isnan(timeRes)) {
msg << prefix << " zero, negative or NaN time resolution (" << timeRes << " cm)\n";
res = false && res;
}
}
}
// Position along beam axis
// Position along beam axis
@@ -142,11 +121,8 @@ std::string CbmTrackingDetectorInterfaceBase::ToString() const
@@ -142,11 +121,8 @@ std::string CbmTrackingDetectorInterfaceBase::ToString() const
table << setw(10) << setfill(' ') << "R_max[cm]" << ' ';
table << setw(10) << setfill(' ') << "R_max[cm]" << ' ';
table << setw(10) << setfill(' ') << "x_max[cm]" << ' ';
table << setw(10) << setfill(' ') << "x_max[cm]" << ' ';
table << setw(10) << setfill(' ') << "y_max[cm]" << ' ';
table << setw(10) << setfill(' ') << "y_max[cm]" << ' ';
table << setw(12) << setfill(' ') << "res.time[ns]" << ' ';
table << setw(11) << setfill(' ') << "angleF[rad]" << ' ';
table << setw(11) << setfill(' ') << "angleF[rad]" << ' ';
table << setw(11) << setfill(' ') << "angleB[rad]" << ' ';
table << setw(11) << setfill(' ') << "angleB[rad]" << ' ';
table << setw(10) << setfill(' ') << "res.F [cm]" << ' ';
table << setw(10) << setfill(' ') << "res.B [cm]" << ' ';
table << setw(10) << setfill(' ') << "dz [cm]" << ' ';
table << setw(10) << setfill(' ') << "dz [cm]" << ' ';
table << setw(10) << setfill(' ') << "RL [cm]" << '\n';
table << setw(10) << setfill(' ') << "RL [cm]" << '\n';
for (int iSt = 0; iSt < GetNtrackingStations(); ++iSt) {
for (int iSt = 0; iSt < GetNtrackingStations(); ++iSt) {
@@ -156,11 +132,8 @@ std::string CbmTrackingDetectorInterfaceBase::ToString() const
@@ -156,11 +132,8 @@ std::string CbmTrackingDetectorInterfaceBase::ToString() const
table << setw(10) << setfill(' ') << GetRmax(iSt) << ' ';
table << setw(10) << setfill(' ') << GetRmax(iSt) << ' ';
table << setw(10) << setfill(' ') << GetXmax(iSt) << ' ';
table << setw(10) << setfill(' ') << GetXmax(iSt) << ' ';
table << setw(10) << setfill(' ') << GetYmax(iSt) << ' ';
table << setw(10) << setfill(' ') << GetYmax(iSt) << ' ';
table << setw(12) << setfill(' ') << GetTimeResolution(iSt) << ' ';
table << setw(11) << setfill(' ') << GetStripsStereoAngleFront(iSt) << ' ';
table << setw(11) << setfill(' ') << GetStripsStereoAngleFront(iSt) << ' ';
table << setw(11) << setfill(' ') << GetStripsStereoAngleBack(iSt) << ' ';
table << setw(11) << setfill(' ') << GetStripsStereoAngleBack(iSt) << ' ';
table << setw(10) << setfill(' ') << GetStripsSpatialRmsFront(iSt) << ' ';
table << setw(10) << setfill(' ') << GetStripsSpatialRmsBack(iSt) << ' ';
table << setw(10) << setfill(' ') << GetThickness(iSt) << ' ';
table << setw(10) << setfill(' ') << GetThickness(iSt) << ' ';
table << setw(10) << setfill(' ') << GetRadLength(iSt) << '\n';
table << setw(10) << setfill(' ') << GetRadLength(iSt) << '\n';
}
}
Loading