52 double defaultValue = 1.;
54 if(0 != setup.
find( recordKey ) ) {
59 std::vector<int> FedsInIds= sumFED->
m_fed_in;
62 while(!flag && f < FedsInIds.size()) {
63 int fedID=FedsInIds[
f];
87 CertMap_ = ibooker.
book2D(
"CertificationSummaryMap",
"RPC Certification Summary Map",15, -7.5, 7.5, 12, 0.5 ,12.5);
91 for (
int i= 1 ;
i<13;
i++){
97 for(
int i = -2 ;
i <=2;
i++){
109 BinLabel<<
"Disk"<<-
i;
113 for(
int i=1;
i<=15;
i++){
114 for (
int j=1; j<=12; j++ ){
115 if(
i==5 ||
i==11 || (j>6 && (i<6 || i>10)))
124 for (
int j=1; j<=12; j++ ){
136 for (
int i = -1 * limit;
i<=
limit;
i++ ){
138 std::stringstream streams;
139 streams <<
"RPC_Wheel" <<
i;
148 std::stringstream streams;
149 streams <<
"RPC_Disk" <<
i;
T getUntrackedParameter(std::string const &, T const &) const
void myBooker(DQMStore::IBooker &)
void setBinContent(int binx, double content)
set content of bin (1-D)
MonitorElement * certWheelFractions[5]
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
const eventsetup::EventSetupRecord * find(const eventsetup::EventSetupRecordKey &) const
MonitorElement * CertMap_
MonitorElement * totalCertFraction
std::pair< int, int > FEDRange_
RPCDataCertification(const edm::ParameterSet &pset)
Constructor.
std::vector< int > m_fed_in
MonitorElement * certDiskFractions[10]
virtual ~RPCDataCertification()
Destructor.
void setCurrentFolder(const std::string &fullpath)
MonitorElement * book2D(Args &&...args)
void checkFED(edm::EventSetup const &)
void dqmEndLuminosityBlock(DQMStore::IBooker &, DQMStore::IGetter &, edm::LuminosityBlock const &, edm::EventSetup const &) override
MonitorElement * bookFloat(Args &&...args)
void dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &) override