|
| RPCEventSummary (const edm::ParameterSet &ps) |
| Constructor. More...
|
|
| ~RPCEventSummary () override |
| Destructor. More...
|
|
void | accumulate (edm::Event const &ev, edm::EventSetup const &es) final |
|
void | beginLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) final |
|
void | beginRun (edm::Run const &, edm::EventSetup const &) override |
|
| DQMEDHarvester () |
|
void | endJob () final |
|
void | endLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) final |
|
void | endLuminosityBlockProduce (edm::LuminosityBlock &, edm::EventSetup const &) final |
|
void | endRun (edm::Run const &, edm::EventSetup const &) override |
|
void | endRunProduce (edm::Run &run, edm::EventSetup const &setup) override |
|
| ~DQMEDHarvester () override=default |
|
| EDProducer ()=default |
|
SerialTaskQueue * | globalLuminosityBlocksQueue () final |
|
SerialTaskQueue * | globalRunsQueue () final |
|
bool | hasAbilityToProduceInLumis () const final |
|
bool | hasAbilityToProduceInRuns () const final |
|
bool | wantsGlobalLuminosityBlocks () const final |
|
bool | wantsGlobalRuns () const final |
|
| EDProducerBase () |
|
ModuleDescription const & | moduleDescription () const |
|
bool | wantsStreamLuminosityBlocks () const |
|
bool | wantsStreamRuns () const |
|
| ~EDProducerBase () override |
|
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
|
std::vector< edm::ProductResolverIndex > const & | indiciesForPutProducts (BranchType iBranchType) const |
|
| ProducerBase () |
|
std::vector< edm::ProductResolverIndex > const & | putTokenIndexToProductResolverIndex () const |
|
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
|
std::function< void(BranchDescription const &)> | registrationCallback () const |
| used by the fwk to register list of products More...
|
|
void | resolvePutIndicies (BranchType iBranchType, ModuleToResolverIndicies const &iIndicies, std::string const &moduleLabel) |
|
| ~ProducerBase () noexcept(false) override |
|
std::vector< ConsumesInfo > | consumesInfo () const |
|
void | convertCurrentProcessAlias (std::string const &processName) |
| Convert "@currentProcess" in InputTag process names to the actual current process name. More...
|
|
| EDConsumerBase () |
|
| EDConsumerBase (EDConsumerBase const &)=delete |
|
| EDConsumerBase (EDConsumerBase &&)=default |
|
ProductResolverIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
|
void | itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
|
void | itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
|
std::vector< ProductResolverIndexAndSkipBit > const & | itemsToGetFrom (BranchType iType) const |
|
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
|
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
|
EDConsumerBase const & | operator= (EDConsumerBase const &)=delete |
|
EDConsumerBase & | operator= (EDConsumerBase &&)=default |
|
bool | registeredToConsume (ProductResolverIndex, bool, BranchType) const |
|
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
|
ProductResolverIndexAndSkipBit | uncheckedIndexFrom (EDGetToken) const |
|
void | updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet) |
|
virtual | ~EDConsumerBase () noexcept(false) |
|
|
void | beginJob () override |
|
void | dqmEndJob (DQMStore::IBooker &, DQMStore::IGetter &) override |
|
void | dqmEndLuminosityBlock (DQMStore::IBooker &, DQMStore::IGetter &, edm::LuminosityBlock const &, edm::EventSetup const &) override |
|
template<typename ProductType , BranchType B = InEvent> |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
|
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
|
template<BranchType B> |
EDGetToken | consumes (TypeToGet const &id, edm::InputTag const &tag) |
|
ConsumesCollector | consumesCollector () |
| Use a ConsumesCollector to gather consumes information from helper functions. More...
|
|
template<typename ProductType , BranchType B = InEvent> |
void | consumesMany () |
|
void | consumesMany (const TypeToGet &id) |
|
template<BranchType B> |
void | consumesMany (const TypeToGet &id) |
|
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> |
auto | esConsumes () |
|
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> |
auto | esConsumes (ESInputTag const &tag) |
|
template<typename ESProduct , Transition Tr = Transition::Event> |
auto | esConsumes (eventsetup::EventSetupRecordKey const &, ESInputTag const &tag) |
|
template<typename ProductType , BranchType B = InEvent> |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
|
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
|
template<BranchType B> |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
|
Definition at line 13 of file RPCEventSummary.h.
Definition at line 185 of file RPCEventSummary.cc.
References edmIntegrityCheck::d, DEAD, doEndcapCertification_, eventInfoPath_, MonitorElement::Fill(), DQMStore::IGetter::get(), MonitorElement::getBinContent(), MonitorElement::getNbinsX(), MonitorElement::getNbinsY(), globalFolder_, mps_fire::i, minimumEvents_, numberDisk_, PARTIALLY_DEAD, prefixFolder_, alignCSCRings::r, alignCSCRings::s, MonitorElement::setBinContent(), w, and y.
Referenced by dqmEndJob(), and dqmEndLuminosityBlock().
197 std::stringstream meName;
207 float barrelFactor = 0;
209 for(
int w = -2 ;
w<3;
w++){
212 meName<<
globalFolder_<<
"/RPCChamberQuality_Roll_vs_Sector_Wheel"<<
w;
213 myMe = igetter.
get(meName.str());
216 float wheelFactor = 0;
219 float sectorFactor = 0;
220 int rollInSector = 0;
224 if((
s!=4 &&
r > 17 ) || ((
s ==9 ||
s ==10) &&
r >15 ) )
continue;
230 else sectorFactor+=1;
234 sectorFactor = sectorFactor/rollInSector;
237 wheelFactor += sectorFactor;
241 wheelFactor = wheelFactor/myMe->
getNbinsX();
244 meName<<eventInfoPath_ +
"/reportSummaryContents/RPC_Wheel"<<
w;
245 globalMe=igetter.
get(meName.str());
246 if(globalMe) globalMe->
Fill(wheelFactor);
248 barrelFactor += wheelFactor;
252 barrelFactor = barrelFactor/5;
255 float endcapFactor = 0;
264 meName<<
globalFolder_<<
"/RPCChamberQuality_Ring_vs_Segment_Disk"<<
d;
265 myMe = igetter.
get(meName.str());
268 float diskFactor = 0;
270 float sectorFactor[6]= {0,0,0,0,0,0};
272 for (
int i = 0 ;
i <6;
i++){
273 int firstSeg = (
i *6 )+1;
274 int lastSeg = firstSeg +6;
275 int rollInSector = 0;
276 for(
int seg = firstSeg; seg< lastSeg ; seg++){
282 else sectorFactor[
i]+=1;
286 sectorFactor[
i] = sectorFactor[
i]/rollInSector;
290 for (
int sec = 0 ; sec<6; sec++){
291 diskFactor += sectorFactor[sec];
293 if (d<0) reportMe->
setBinContent(d+5, sec+1 , sectorFactor[sec]);
294 else reportMe->
setBinContent(d+11, sec+1 , sectorFactor[sec]);
298 diskFactor = diskFactor/6;
301 meName<<eventInfoPath_ +
"/reportSummaryContents/RPC_Disk"<<
d;
302 globalMe=igetter.
get(meName.str());
303 if(globalMe) globalMe->
Fill(diskFactor);
305 endcapFactor += diskFactor;
315 float rpcFactor = barrelFactor;
318 globalMe = igetter.
get(eventInfoPath_ +
"/reportSummary");
319 if(globalMe) globalMe->
Fill(rpcFactor);
std::string eventInfoPath_
void setBinContent(int binx, double content)
set content of bin (1-D)
bool doEndcapCertification_
std::string globalFolder_
MonitorElement * get(std::string const &path)
int getNbinsY() const
get # of bins in Y-axis
double getBinContent(int binx) const
get content of bin (1-D)
std::string prefixFolder_
int getNbinsX() const
get # of bins in X-axis
Reimplemented from DQMEDHarvester.
Definition at line 54 of file RPCEventSummary.cc.
References CentralityFilter_cfi::BinLabel, DQMStore::IBooker::book2D(), DQMStore::IBooker::bookFloat(), clientOperation(), eventInfoPath_, f, FEDRange_, MonitorElement::Fill(), edm::eventsetup::heterocontainer::HCTypeTag::findType(), mps_fire::i, init_, isIn_, lumiCounter_, RunInfo::m_fed_in, numberDisk_, offlineDQM_, prescaleFactor_, MonitorElement::setBinContent(), MonitorElement::setBinLabel(), DQMStore::IBooker::setCurrentFolder(), AlCaHLTBitMon_QueryRunRegistry::string, and edm::EventSetup::tryToGet().
71 runInfoRec->get(sumFED);
72 std::vector<int> FedsInIds= sumFED->
m_fed_in;
75 while(!
isIn_ && f < FedsInIds.size()) {
76 int fedID=FedsInIds[
f];
94 me->
Fill(defaultValue);
98 me = ibooker.
book2D(
"reportSummaryMap",
"RPC Report Summary Map", 15, -7.5, 7.5, 12, 0.5 ,12.5);
102 for (
int i= 1 ;
i<=15;
i++){
111 BinLabel<<
"Disk"<<i-5;
113 BinLabel<<
"Disk"<<i-11;
114 else if(i==11 || i==5)
117 BinLabel<<
"Wheel"<<i-8;
123 for(
int i=1; i<=15; i++){
124 for (
int j=1; j<=12; j++ ){
125 if(i==5 || i==11 || (j>6 && (i<6 || i>10)))
133 for (
int j=1; j<=12; j++ ){
142 std::stringstream segName;
143 std::vector<std::string> segmentNames;
144 for(
int i=-2; i<=2; i++){
146 segName<<
"RPC_Wheel"<<
i;
147 segmentNames.push_back(segName.str());
153 segName<<
"RPC_Disk"<<
i;
154 segmentNames.push_back(segName.str());
158 for(
unsigned int i=0; i<segmentNames.size(); i++){
161 me->
Fill(defaultValue);
std::string eventInfoPath_
void setBinContent(int binx, double content)
set content of bin (1-D)
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
void setCurrentFolder(std::string const &fullpath)
std::vector< int > m_fed_in
void clientOperation(DQMStore::IGetter &igetter)
MonitorElement * book2D(Args &&...args)
std::pair< int, int > FEDRange_
MonitorElement * bookFloat(Args &&...args)