56 if(
nullptr != setup.
find( recordKey ) ) {
61 std::vector<int> FedsInIds= sumFED->
m_fed_in;
64 while(!flag && f < FedsInIds.size()) {
65 int fedID=FedsInIds[
f];
84 DCSMap_ = ibooker.
book2D(
"DCSSummaryMap",
"RPC DCS Summary Map",15, -7.5, 7.5, 12, 0.5 ,12.5);
88 for (
int i= 1 ;
i<13;
i++){
94 for(
int i = -2;
i<=2;
i++){
105 BinLabel<<
"Disk"<<-
i;
110 for(
int i=1;
i<=15;
i++){
111 for (
int j=1; j<=12; j++ ){
112 if(
i==5 ||
i==11 || (j>6 && (i<6 || i>10)))
121 for (
int j=1; j<=12; j++ ){
134 for (
int i = -1 * limit;
i<=
limit;
i++ ){
136 std::stringstream streams;
137 streams <<
"RPC_Wheel" <<
i;
146 std::stringstream streams;
147 streams <<
"RPC_Disk" <<
i;
T getUntrackedParameter(std::string const &, T const &) const
void setBinContent(int binx, double content)
set content of bin (1-D)
void myBooker(DQMStore::IBooker &)
RPCDCSSummary(const edm::ParameterSet &)
Constructor.
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)
def setup(process, global_tag, zero_tesla=False)
static HCTypeTag findType(char const *iTypeName)
find a type based on the types name, if not found will return default HCTypeTag
MonitorElement * totalDCSFraction
MonitorElement * dcsDiskFractions[10]
std::vector< int > m_fed_in
void dqmEndLuminosityBlock(DQMStore::IBooker &, DQMStore::IGetter &, edm::LuminosityBlock const &, edm::EventSetup const &) override
void checkDCSbit(edm::EventSetup const &)
void setCurrentFolder(const std::string &fullpath)
MonitorElement * book2D(Args &&...args)
void dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &) override
boost::optional< eventsetup::EventSetupRecordGeneric > find(const eventsetup::EventSetupRecordKey &) const
~RPCDCSSummary() override
Destructor.
MonitorElement * dcsWheelFractions[5]
MonitorElement * bookFloat(Args &&...args)
std::pair< int, int > FEDRange_