36 if(0 != setup.
find( recordKey ) ) {
41 std::vector<int> FedsInIds= sumFED->m_fed_in;
44 while(!flag && f < FedsInIds.size()) {
45 int fedID=FedsInIds[
f];
64 CertMap_ =
theDbe->
book2D(
"CertificationSummaryMap",
"RPC Certification Summary Map",15, -7.5, 7.5, 12, 0.5 ,12.5);
67 std::stringstream BinLabel;
68 for (
int i= 1 ;
i<13;
i++){
74 for(
int i = -2 ;
i <=2;
i++){
90 for(
int i=1;
i<=15;
i++){
91 for (
int j=1;
j<=12;
j++ ){
92 if(
i==5 ||
i==11 || (
j>6 && (i<6 || i>10)))
101 for (
int j=1;
j<=12;
j++ ){
113 for (
int i = -1 * limit;
i<=
limit;
i++ ){
116 streams <<
"RPC_Wheel" <<
i;
126 streams <<
"RPC_Disk" <<
i;
T getUntrackedParameter(std::string const &, T const &) const
void setBinContent(int binx, double content)
set content of bin (1-D)
MonitorElement * certWheelFractions[5]
virtual void beginLuminosityBlock(const edm::LuminosityBlock &lumi, const edm::EventSetup &setup)
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
MonitorElement * CertMap_
MonitorElement * totalCertFraction
std::pair< int, int > FEDRange_
RPCDataCertification(const edm::ParameterSet &pset)
Constructor.
unsigned int offset(bool)
MonitorElement * certDiskFractions[10]
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision and the trigger will pass if any such matching triggers are FAIL or EXCEPTION A wildcarded negative criterion that matches more than one trigger in the trigger but the state exists so we define the behavior If all triggers are the negative crieriion will lead to accepting the event(this again matches the behavior of"!*"before the partial wildcard feature was incorporated).The per-event"cost"of each negative criterion with multiple relevant triggers is about the same as!*was in the past
virtual void analyze(const edm::Event &event, const edm::EventSetup &setup)
virtual ~RPCDataCertification()
Destructor.
virtual void endLuminosityBlock(const edm::LuminosityBlock &lumi, const edm::EventSetup &setup)
virtual void beginRun(const edm::Run &r, const edm::EventSetup &setup)
MonitorElement * book2D(const char *name, const char *title, int nchX, double lowX, double highX, int nchY, double lowY, double highY)
Book 2D histogram.
void setup(std::vector< TH2F > &depth, std::string name, std::string units="")
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