23 std::string
const ad1name = ad1.
TotalVolume()->GetName();
24 std::string
const ad2name = ad2.
TotalVolume()->GetName();
27 int ad1Num = std::atoi(ad1name.substr(9, ad1name.size()).c_str());
28 int ad2Num = std::atoi(ad2name.substr(9, ad2name.size()).c_str());
30 return ad1Num < ad2Num;
38 std::string
const ad1name = ad1.
TotalVolume()->GetName();
39 std::string
const ad2name = ad2.
TotalVolume()->GetName();
42 int ad1Num = std::atoi(ad1name.substr(18, ad1name.size()).c_str());
43 int ad2Num = std::atoi(ad2name.substr(18, ad2name.size()).c_str());
45 return ad1Num < ad2Num;
Encapsulate the geometry of the sensitive portion of an auxiliary detector .
const TGeoVolume * TotalVolume() const
AuxDetGeoObjectSorterStandard()
Encapsulate the geometry of an auxiliary detector.
const TGeoVolume * TotalVolume() const
Returns the distance of point from the center of the detector.
bool compareAuxDets(AuxDetGeo const &ad1, AuxDetGeo const &ad2) const override
bool compareAuxDetSensitives(AuxDetSensitiveGeo const &ad1, AuxDetSensitiveGeo const &ad2) const override