4#include "BmnGeoTemplate.h"
20 SetName(
"BmnHodoGeo");
31 if (std::regex_search(spath,
m, kHodoRegex) &&
m.size() == 2) {
34 LOG(error) << GetName() <<
": no address for " << spath;
std::map< uint32_t, std::pair< TVector3, TVector3 > > fPositionMap
static uint32_t GetStripId(uint32_t address)
Return Strip id from address.
static uint32_t GetAddress(uint32_t StripId, uint32_t StripSide, uint32_t Gain)
Return address from system ID, StripId, StripSide, Gain.
static bool CheckIfSensitive(std::string name)
static const TString fPathBeforeLocalSystem
static const TString fTopVolumeName
static const std::regex fElementPattern
static const TString fDetectorVolumeName
static const char * PathBeforeLocalSystem()
uint32_t GetAddressFromPath(const std::string &spath) const
static const char * DetectorVolumeName()
int GetMaxStripId() const
static const char * TopVolumeName()
static bool CheckIfSensitive(const std::string &vol)