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