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