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