Go to the documentation of this file. 1 #ifndef SISTRIPPSUDETIDMAP_H
2 #define SISTRIPPSUDETIDMAP_H
15 #include "DeviceFactory.h"
42 std::vector<uint32_t> &ids,
43 std::vector<uint32_t> &unmapped_ids,
44 std::vector<uint32_t> &crosstalking_ids);
52 std::vector<uint32_t> &detids,
53 std::vector<uint32_t> &unmapped_detids,
54 std::vector<uint32_t> &crosstalking_detids);
105 void BuildMap(
const std::string &mapFile, std::vector<std::pair<uint32_t, std::string> > &rawmap);
118 std::vector<std::pair<uint32_t, std::string> >
getDcuPsuMap();
125 typedef std::map<std::string, std::vector<uint32_t> >
PsuDetIdMap;
std::vector< std::string > controlLocations
static const std::string input
std::vector< uint32_t > findDcuIdFromDeviceAddress(uint32_t dcuid_)
std::vector< std::pair< uint32_t, std::string > > getPsuDetIdMap()
void getDetID(std::string pvss, bool, std::vector< uint32_t > &detids, std::vector< uint32_t > &unmapped_detids, std::vector< uint32_t > &crosstalking_detids)
void getHvDetID(std::string psuchannel, std::vector< uint32_t > &ids, std::vector< uint32_t > &unmapped_ids, std::vector< uint32_t > &crosstalking_ids)
std::vector< DcuDetId > DcuDetIdsV
std::vector< std::pair< std::vector< uint16_t >, std::vector< uint32_t > > > retrieveDcuDeviceAddresses(std::string partition)
std::map< std::string, std::vector< uint32_t > > getHVUnmappedMap()
std::map< std::string, std::vector< uint32_t > > PsuDetIdMap
PsuDetIdMap HVUnmapped_Map
std::map< std::string, std::vector< uint32_t > > getHVCrosstalkingMap()
std::vector< std::string > detectorLocations
void BuildMap(const std::string &mapFile, const bool debug)
uint32_t getDcuId(std::string pvss)
std::string getDetectorLocation(uint32_t detid)
std::vector< std::pair< std::vector< uint16_t >, std::vector< uint32_t > > > dcu_device_addr_vector
edm::MapOfVectors< std::string, TkDcuPsuMap * > DcuPsus
int IsHVChannel(std::string pvss)
std::vector< uint32_t > getLvDetID(std::string psu)
PsuDetIdMap HVCrosstalking_Map
Extension to SiStripConfigDb to map PSU channels to DetIDs using DCU-PSU map and DCU-DetID map.
std::vector< std::pair< uint32_t, std::string > > cgMap
An interface class to the DeviceFactory.
std::vector< uint32_t > getCcuDcuIds()
void checkMapInputValues(const SiStripConfigDb::DcuDetIdsV &dcuDetIds_, const DcuPsuVector &dcuPsus_)
std::vector< std::string > getControlDetectorLocations()
edm::Service< SiStripConfigDb > db_
void clone(DcuPsuVector &input, DcuPsuVector &output)
std::vector< uint32_t > ccuDcuIds
std::vector< uint32_t > dcuIds
std::vector< std::string > getDetectorLocations()
std::vector< std::pair< uint32_t, std::string > > getDcuPsuMap()
void RemoveDuplicateDetIDs(std::vector< uint32_t > &detids)
std::vector< std::pair< uint32_t, std::string > > pgMap
boost::iterator_range< data_iterator > range
DcuPsus::range DcuPsusRange
std::vector< uint32_t > cgDcuIds
std::vector< uint32_t > getCgDcuIds()
std::vector< TkDcuPsuMap * > DcuPsuVector
std::vector< uint32_t > getDcuIds()
std::string getPSUName(uint32_t detid)
std::vector< std::pair< uint32_t, std::string > > getControlPsuDetIdMap()