2 #ifndef OnlineDB_SiStripConfigDb_SiStripConfigDb_h 3 #define OnlineDB_SiStripConfigDb_SiStripConfigDb_h 5 #define DATABASE // Needed by DeviceFactory API! Do not comment! 17 #include "DeviceFactory.h" 18 #include "boost/range/iterator_range.hpp" 121 typedef boost::iterator_range<FedIds::const_iterator>
FedIdsRange;
131 typedef CommissioningAnalysisDescription::commissioningType
AnalysisType;
203 void partitions(std::list<std::string>&)
const;
293 DcuDetIdsV::const_iterator
end,
297 static DcuDetIdsV::iterator
findDcuDetId(DcuDetIdsV::iterator
begin, DcuDetIdsV::iterator
end, uint32_t dcu_id);
432 #endif // OnlineDB_SiStripConfigDb_SiStripConfigDb_h
DeviceDescriptionsV apvDevices_
DeviceDescriptionsV typedDevices_
DeviceDescriptionsV dohDevices_
DcuDetIds::range DcuDetIdsRange
DeviceDescriptionsV lldDevices_
void addDeviceDescriptions(std::string partition, DeviceDescriptionsV &)
void uploadFedConnections(std::string partition="")
FedDescriptionsRange getFedDescriptions(std::string partition="")
DbClient *const databaseCache(std::string method_name="") const
void uploadAnalysisDescriptions(bool calibration_for_physics=false, std::string partition="")
void addAnalysisDescriptions(std::string partition, AnalysisDescriptionsV &)
static const uint16_t FEC_RING_OFFSET
SiStripConfigDb(const edm::ParameterSet &, const edm::ActivityRegistry &)
AnalysisDescriptions analyses_
Sgi::hash_map< unsigned long, TkDcuInfo * > DcuDetIdMap
FedDescriptions::range FedDescriptionsRange
std::vector< uint16_t > FedIds
Constants and enumerated type for sistrip::RunType.
Extension to SiStripConfigDb to map PSU channels to DetIDs using DCU-PSU map and DCU-DetID map...
std::map< std::string, Runs > RunsByPartition
ConnectionDescription FedConnection
void clearDeviceDescriptions(std::string partition="")
bool checkFileExists(const std::string &path)
edm::MapOfVectors< std::string, DeviceDescription * > DeviceDescriptions
void uploadDcuDetIds(std::string partition="")
FedConnections connections_
DeviceDescriptionsV pllDevices_
void addFedDescriptions(std::string partition, FedDescriptionsV &)
friend class FedCablingHistosUsingDb
Class which reads a root file containing "commissioning histograms", analyzes the histograms to extra...
edm::MapOfVectors< std::string, DcuDetId > DcuDetIds
FedConnections::range FedConnectionsRange
DeviceDescriptionsV dcuDevices_
friend class testSiStripConfigDb
edm::MapOfVectors< std::string, AnalysisDescription * > AnalysisDescriptions
static DcuDetIdsV::const_iterator findDcuDetId(DcuDetIdsV::const_iterator begin, DcuDetIdsV::const_iterator end, uint32_t dcu_id)
enumDeviceType DeviceType
void partitions(std::list< std::string > &) const
CommissioningAnalysisDescription AnalysisDescription
DeviceDescriptions::range DeviceDescriptionsRange
FedConnectionsRange getFedConnections(std::string partition="")
void clearAnalysisDescriptions(std::string partition="")
An interface class to the DeviceFactory.
static std::atomic< uint32_t > cntr_
FedIdsRange getFedIds(std::string partition="")
Container class for database partition parameters.
void printDcuDetIds(std::string partition="")
DeviceAddress deviceAddress(const deviceDescription &)
AnalysisDescriptionsRange getAnalysisDescriptions(AnalysisType, std::string partition="")
std::map< sistrip::RunType, Runs > RunsByType
void clearFedConnections(std::string partition="")
Fed9U::Fed9UDescription FedDescription
deviceDescription DeviceDescription
Namespace of DDCMS conversion namespace.
void printFedDescriptions(std::string partition="")
std::string analysisType(AnalysisType) const
std::vector< DcuDetId > DcuDetIdsV
AnalysisDescriptions::range AnalysisDescriptionsRange
Container class for database connection parameters.
void uploadFedDescriptions(std::string partition="")
CommissioningAnalysisDescription::commissioningType AnalysisType
void handleException(const std::string &method_name, const std::string &extra_info="") const
boost::iterator_range< FedIds::const_iterator > FedIdsRange
void printFedConnections(std::string partition="")
void usingDatabaseCache()
void addDcuDetIds(std::string partition, DcuDetIdsV &)
DeviceDescriptionsV muxDevices_
DeviceDescriptions devices_
edm::MapOfVectors< std::string, FedDescription * > FedDescriptions
SiStripDbParams dbParams_
friend class SiStripCommissioningDbClient
std::vector< AnalysisDescription * > AnalysisDescriptionsV
void printDeviceDescriptions(std::string partition="")
static const uint16_t FEC_CRATE_OFFSET
static std::atomic< bool > allowCalibUpload_
void printAnalysisDescriptions(std::string partition="")
boost::iterator_range< data_iterator > range
void clone(const DcuDetIdMap &in, DcuDetIdsV &out) const
std::vector< FedConnection * > FedConnectionsV
const SiStripDbParams & dbParams() const
void addFedConnections(std::string partition, FedConnectionsV &)
std::string deviceType(const enumDeviceType &device_type) const
void clearDcuDetIds(std::string partition="")
void clearFedDescriptions(std::string partition="")
DeviceDescriptionsRange getDeviceDescriptions(std::string partition="")
std::pair< uint32_t, TkDcuInfo * > DcuDetId
void uploadDeviceDescriptions(std::string partition="")
std::vector< FedDescription * > FedDescriptionsV
DcuDetIdsRange getDcuDetIds(std::string partition="")
std::vector< DeviceDescription * > DeviceDescriptionsV
DeviceFactory *const deviceFactory(std::string method_name="") const
edm::MapOfVectors< std::string, FedConnection * > FedConnections