24 if(0 != iSetup.
find( recordKey ) ) {
29 std::vector<int> FedsInIds= sumFED->m_fed_in;
34 for(
unsigned int fedItr=0;fedItr<FedsInIds.size(); ++fedItr) {
35 int fedID=FedsInIds[fedItr];
66 for (
int i = -1 * limit;
i<=
limit;
i++ ){
69 streams <<
"RPC_Wheel" <<
i;
80 streams <<
"RPC_Disk" <<
i;
91 DaqMap_ =
dbe_->
book2D(
"DAQSummaryMap",
"RPC DAQ Summary Map",15, -7.5, 7.5, 12, 0.5 ,12.5);
94 std::stringstream BinLabel;
95 for (
int i= 1 ;
i<=15;
i++){
104 BinLabel<<
"Disk"<<
i-5;
106 BinLabel<<
"Disk"<<i-11;
107 else if(i==11 || i==5)
110 BinLabel<<
"Wheel"<<i-8;
T getUntrackedParameter(std::string const &, T const &) const
MonitorElement * daqDiskFractions[10]
std::pair< int, int > FEDRange_
MonitorElement * DaqFraction_
void setBinLabel(int bin, const std::string &label, int axis=1)
set bin label for x, y or z axis (axis=1, 2, 3 respectively)
MonitorElement * bookFloat(const char *name)
Book float.
const eventsetup::EventSetupRecord * find(const eventsetup::EventSetupRecordKey &) const
RPCDaqInfo(const edm::ParameterSet &)
virtual void beginLuminosityBlock(const edm::LuminosityBlock &, const edm::EventSetup &)
virtual void analyze(const edm::Event &, const edm::EventSetup &)
unsigned int offset(bool)
MonitorElement * daqWheelFractions[5]
MonitorElement * book2D(const char *name, const char *title, int nchX, double lowX, double highX, int nchY, double lowY, double highY)
Book 2D histogram.
void setCurrentFolder(const std::string &fullpath)
static HCTypeTag findType(char const *iTypeName)
find a type based on the types name, if not found will return default HCTypeTag
virtual void endLuminosityBlock(const edm::LuminosityBlock &, const edm::EventSetup &)