1 #ifndef SiStripObjects_SiStripDetCabling_h
2 #define SiStripObjects_SiStripDetCabling_h
33 inline const std::map<uint32_t, std::vector<const FedChannelConnection *>> &
getDetCabling()
const {
38 std::vector<uint32_t> &)
const;
40 std::vector<uint32_t> &vector_to_fill_with_detids)
const;
42 std::map<uint32_t, unsigned int> &)
const;
45 std::map<uint32_t, unsigned int> &)
const;
47 void addConnected(std::map<uint32_t, std::vector<int>> &)
50 std::map<uint32_t, std::vector<int>> &)
const;
53 std::map<uint32_t, std::vector<int>> &)
const;
56 std::map<uint32_t, std::vector<int>> &)
const;
59 const std::vector<const FedChannelConnection *> &
getConnections(uint32_t det_id)
const;
61 const unsigned int getDcuId(uint32_t det_id)
const;
62 const uint16_t
nApvPairs(uint32_t det_id)
const;
68 void print(std::stringstream &)
const;
93 const std::map<uint32_t, std::vector<int>> &,
94 std::map<int16_t, uint32_t> *connectionsToFill =
nullptr)
const;
95 bool IsInMap(
const uint32_t &det_id,
const std::map<uint32_t, std::vector<int>> &)
const;
101 std::map<uint32_t, std::vector<const FedChannelConnection *>>
fullcabling_;
uint32_t detectedNumber(const std::string &subDet, const uint16_t layer) const
uint32_t undetectedNumber(const std::string &subDet, const uint16_t layer) const
const FedChannelConnection & getConnection(uint32_t det_id, unsigned short apv_pair) const
void addActiveDetectorsRawIds(std::vector< uint32_t > &) const
const std::map< uint32_t, std::vector< const FedChannelConnection * > > & getDetCabling() const
std::map< uint32_t, std::vector< int > > const & connected() const
std::map< uint32_t, std::vector< const FedChannelConnection * > > fullcabling_
const unsigned int getDcuId(uint32_t det_id) const
void addFromSpecificConnection(std::map< uint32_t, std::vector< int >> &, const std::map< uint32_t, std::vector< int >> &, std::map< int16_t, uint32_t > *connectionsToFill=nullptr) const
const TrackerTopology *const trackerTopology() const
bool IsConnected(const uint32_t &det_id) const
uint32_t connectedNumber(const std::string &subDet, const uint16_t layer) const
int16_t layerSearch(const uint32_t detId) const
constexpr std::array< uint8_t, layerIndexSize > layer
const SiStripFedCabling * fedCabling_
const std::vector< const FedChannelConnection * > & getConnections(uint32_t det_id) const
Class containning control, module, detector and connection information, at the level of a FED channel...
const SiStripDetCabling & operator=(const SiStripDetCabling &)=delete
uint32_t detNumber(const std::string &subDet, const uint16_t layer, const int connectionType) const
bool IsUndetected(const uint32_t &det_id) const
void printDebug(std::stringstream &ss, const TrackerTopology *trackerTopo) const
void getAllDetectorsContiguousIds(std::map< uint32_t, unsigned int > &) const
void addDevices(const FedChannelConnection &, std::map< uint32_t, std::vector< const FedChannelConnection * >> &)
void printSummary(std::stringstream &ss, const TrackerTopology *trackerTopo) const
std::map< uint32_t, std::vector< int > > connected_
const SiStripFedCabling * fedCabling() const
void addNotConnectedAPVs(std::map< uint32_t, std::vector< int >> &) const
virtual ~SiStripDetCabling()
void addUnDetected(std::map< uint32_t, std::vector< int >> &) const
std::map< uint32_t, std::vector< int > > detected_
Contains cabling info at the device level, including DetId, APV pair numbers, hardware addresses...
std::map< uint32_t, std::vector< int > > undetected_
bool IsInMap(const uint32_t &det_id, const std::map< uint32_t, std::vector< int >> &) const
const uint16_t nApvPairs(uint32_t det_id) const
void getActiveDetectorsContiguousIds(std::map< uint32_t, unsigned int > &) const
const TrackerTopology *const tTopo
std::map< int16_t, uint32_t > connectionCount[3]
void addConnected(std::map< uint32_t, std::vector< int >> &) const
void addAllDetectorsRawIds(std::vector< uint32_t > &vector_to_fill_with_detids) const
bool IsDetected(const uint32_t &det_id) const
void addDetected(std::map< uint32_t, std::vector< int >> &) const
void print(std::stringstream &) const
SiStripDetCabling(const TrackerTopology *const topology)