34 if(0 != setup.
find( recordKey ) ) {
39 std::vector<int> FedsInIds= sumFED->m_fed_in;
42 while(!flag && f < FedsInIds.size()) {
43 int fedID=FedsInIds[
f];
61 DCSMap_ =
theDbe->
book2D(
"DCSSummaryMap",
"RPC DCS Summary Map",15, -7.5, 7.5, 12, 0.5 ,12.5);
64 std::stringstream BinLabel;
65 for (
int i= 1 ;
i<13;
i++){
71 for(
int i = -2;
i<=2;
i++){
87 for(
int i=1;
i<=15;
i++){
88 for (
int j=1;
j<=12;
j++ ){
89 if(
i==5 ||
i==11 || (
j>6 && (i<6 || i>10)))
98 for (
int j=1;
j<=12;
j++ ){
111 for (
int i = -1 * limit;
i<=
limit;
i++ ){
114 streams <<
"RPC_Wheel" <<
i;
124 streams <<
"RPC_Disk" <<
i;
T getUntrackedParameter(std::string const &, T const &) const
virtual void endLuminosityBlock(const edm::LuminosityBlock &lumi, const edm::EventSetup &setup)
void setBinContent(int binx, double content)
set content of bin (1-D)
RPCDCSSummary(const edm::ParameterSet &pset)
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)
MonitorElement * totalDCSFraction
void beginRun(const edm::Run &, const edm::EventSetup &)
MonitorElement * bookFloat(const char *name)
Book float.
const eventsetup::EventSetupRecord * find(const eventsetup::EventSetupRecordKey &) const
MonitorElement * dcsDiskFractions[10]
virtual ~RPCDCSSummary()
Destructor.
unsigned int offset(bool)
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 void beginLuminosityBlock(const edm::LuminosityBlock &lumi, const edm::EventSetup &setup)
MonitorElement * dcsWheelFractions[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 setup(std::vector< TH2F > &depth, std::string name, std::string units="")
void setCurrentFolder(const std::string &fullpath)
std::pair< int, int > FEDRange_
static HCTypeTag findType(char const *iTypeName)
find a type based on the types name, if not found will return default HCTypeTag