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;
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_;
void addDetected(std::map< uint32_t, std::vector< int >> &) const
void printDebug(std::stringstream &ss, const TrackerTopology *trackerTopo) const
const unsigned int getDcuId(uint32_t det_id) const
void addConnected(std::map< uint32_t, std::vector< int >> &) const
void printSummary(std::stringstream &ss, const TrackerTopology *trackerTopo) const
const std::vector< const FedChannelConnection * > & getConnections(uint32_t det_id) const
std::map< uint32_t, std::vector< const FedChannelConnection * > > fullcabling_
uint32_t detectedNumber(const std::string &subDet, const uint16_t layer) const
std::map< uint32_t, std::vector< int > > const & connected() const
bool IsUndetected(const uint32_t &det_id) const
const std::map< uint32_t, std::vector< const FedChannelConnection * > > & getDetCabling() const
void addNotConnectedAPVs(std::map< uint32_t, std::vector< int >> &) const
bool IsConnected(const uint32_t &det_id) const
int16_t layerSearch(const uint32_t detId) const
uint32_t undetectedNumber(const std::string &subDet, const uint16_t layer) const
constexpr std::array< uint8_t, layerIndexSize > layer
const SiStripFedCabling * fedCabling_
const FedChannelConnection & getConnection(uint32_t det_id, unsigned short apv_pair) const
const SiStripFedCabling * fedCabling() const
bool IsInMap(const uint32_t &det_id, const std::map< uint32_t, std::vector< int >> &) const
Class containning control, module, detector and connection information, at the level of a FED channel...
const SiStripDetCabling & operator=(const SiStripDetCabling &)=delete
void print(std::stringstream &) const
void getAllDetectorsContiguousIds(std::map< uint32_t, unsigned int > &) const
void addDevices(const FedChannelConnection &, std::map< uint32_t, std::vector< const FedChannelConnection *>> &)
std::map< uint32_t, std::vector< int > > connected_
virtual ~SiStripDetCabling()
bool IsDetected(const uint32_t &det_id) const
void getActiveDetectorsContiguousIds(std::map< uint32_t, unsigned int > &) const
std::map< uint32_t, std::vector< int > > detected_
void addUnDetected(std::map< uint32_t, std::vector< int >> &) const
Contains cabling info at the device level, including DetId, APV pair numbers, hardware addresses...
std::map< uint32_t, std::vector< int > > undetected_
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
void addAllDetectorsRawIds(std::vector< uint32_t > &vector_to_fill_with_detids) const
const TrackerTopology *const tTopo
std::map< int16_t, uint32_t > connectionCount[3]
const TrackerTopology *const trackerTopology() const
uint32_t connectedNumber(const std::string &subDet, const uint16_t layer) const
SiStripDetCabling(const TrackerTopology *const topology)
const uint16_t nApvPairs(uint32_t det_id) const
uint32_t detNumber(const std::string &subDet, const uint16_t layer, const int connectionType) const
void addActiveDetectorsRawIds(std::vector< uint32_t > &) const