1 #ifndef SISTRIPPSUDETIDMAP_H
2 #define SISTRIPPSUDETIDMAP_H
15 #include "DeviceFactory.h"
17 #include "boost/cstdint.hpp"
42 void getHvDetID(
std::string psuchannel, std::vector<uint32_t> & ids, std::vector<uint32_t> & unmapped_ids, std::vector<uint32_t> & crosstalking_ids );
48 void getDetID(
std::string pvss,
bool, std::vector<uint32_t> & detids,std::vector<uint32_t> & unmapped_detids,std::vector<uint32_t> & crosstalking_detids);
99 void BuildMap(
const std::string & mapFile, std::vector<std::pair<uint32_t,std::string> > & rawmap);
107 std::vector< std::pair<uint32_t, std::string> >
getDcuPsuMap();
133 std::vector< std::pair<uint32_t, std::string> >
pgMap,
cgMap;
void clone(DcuPsuVector &input, DcuPsuVector &output)
std::vector< std::pair< uint32_t, std::string > > getPsuDetIdMap()
std::vector< std::string > getDetectorLocations()
std::vector< uint32_t > getCcuDcuIds()
std::vector< std::pair< std::vector< uint16_t >, std::vector< uint32_t > > > dcu_device_addr_vector
std::vector< uint32_t > ccuDcuIds
std::string getPSUName(uint32_t detid)
edm::MapOfVectors< std::string, TkDcuPsuMap * > DcuPsus
std::map< std::string, std::vector< uint32_t > > getHVCrosstalkingMap()
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...
std::map< std::string, std::vector< uint32_t > > getHVUnmappedMap()
PsuDetIdMap HVUnmapped_Map
DcuPsus::range DcuPsusRange
std::vector< uint32_t > cgDcuIds
std::vector< std::pair< uint32_t, std::string > > pgMap
edm::Service< SiStripConfigDb > db_
int IsHVChannel(std::string pvss)
std::vector< std::pair< uint32_t, std::string > > cgMap
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 > > getDcuPsuMap()
std::map< std::string, std::vector< uint32_t > > PsuDetIdMap
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
std::vector< std::pair< uint32_t, std::string > > getControlPsuDetIdMap()
void BuildMap(const std::string &mapFile, const bool debug)
std::vector< uint32_t > getCgDcuIds()
uint32_t getDcuId(std::string pvss)
std::vector< TkDcuPsuMap * > DcuPsuVector
void checkMapInputValues(SiStripConfigDb::DcuDetIdsV dcuDetIds_, DcuPsuVector dcuPsus_)
boost::iterator_range< data_iterator > range
std::string getDetectorLocation(uint32_t detid)
PsuDetIdMap HVCrosstalking_Map
std::vector< std::string > getControlDetectorLocations()