1 #ifndef SiStripObjects_SiStripDetCabling_h
2 #define SiStripObjects_SiStripDetCabling_h
16 #include <boost/cstdint.hpp>
41 const std::vector<const FedChannelConnection *>&
getConnections( uint32_t det_id )
const;
43 const unsigned int getDcuId( uint32_t det_id )
const;
44 const uint16_t
nApvPairs(uint32_t det_id)
const;
50 void print( std::stringstream& )
const;
67 bool IsInMap(
const uint32_t& det_id,
const std::map<uint32_t, std::vector<int> > &)
const;
69 uint32_t
detNumber(
const std::string & subDet,
const uint16_t layer,
const int connectionType)
const;
73 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
std::map< uint32_t, std::vector< int > > connected_
const unsigned int getDcuId(uint32_t det_id) const
bool IsInMap(const uint32_t &det_id, const std::map< uint32_t, std::vector< int > > &) const
bool IsConnected(const uint32_t &det_id) const
void addFromSpecificConnection(std::map< uint32_t, std::vector< int > > &, const std::map< uint32_t, std::vector< int > > &, const int connectionType=-1) const
uint32_t connectedNumber(const std::string &subDet, const uint16_t layer) const
int16_t layerSearch(const uint32_t detId) const
const SiStripFedCabling * fedCabling_
const std::vector< const FedChannelConnection * > & getConnections(uint32_t det_id) const
std::map< uint32_t, std::vector< int > > detected_
Class containning control, module, detector and connection information, at the level of a FED channel...
void addNotConnectedAPVs(std::map< uint32_t, std::vector< int > > &) const
uint32_t detNumber(const std::string &subDet, const uint16_t layer, const int connectionType) const
Return the number of modules for the specified subDet, layer and connectionType.
std::map< uint32_t, std::vector< const FedChannelConnection * > > fullcabling_
bool IsUndetected(const uint32_t &det_id) const
const SiStripDetCabling & operator=(const SiStripDetCabling &)
void getAllDetectorsContiguousIds(std::map< uint32_t, unsigned int > &) const
const SiStripFedCabling * fedCabling() const
const std::map< uint32_t, std::vector< const FedChannelConnection * > > & getDetCabling() const
virtual ~SiStripDetCabling()
void printSummary(std::stringstream &ss) const
std::map< int16_t, uint32_t > connectionCount[3]
Contains cabling info at the device level, including DetId, APV pair numbers, hardware addresses...
const uint16_t nApvPairs(uint32_t det_id) const
void getActiveDetectorsContiguousIds(std::map< uint32_t, unsigned int > &) const
void addDetected(std::map< uint32_t, std::vector< int > > &) const
void printDebug(std::stringstream &ss) const
void addDevices(const FedChannelConnection &, std::map< uint32_t, std::vector< const FedChannelConnection * > > &)
std::map< uint32_t, std::vector< int > > undetected_
void addAllDetectorsRawIds(std::vector< uint32_t > &vector_to_fill_with_detids) const
void addUnDetected(std::map< uint32_t, std::vector< int > > &) const
bool IsDetected(const uint32_t &det_id) const
void print(std::stringstream &) const
void addConnected(std::map< uint32_t, std::vector< int > > &) const