|
| SiPixelPhase1Summary (const edm::ParameterSet &conf) |
|
| ~SiPixelPhase1Summary () |
|
virtual void | analyze (edm::Event const &, edm::EventSetup const &) final |
|
virtual void | beginLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) final |
|
| DQMEDHarvester (void) |
|
virtual void | endJob () final |
|
virtual void | endLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) final |
|
virtual void | endRun (edm::Run const &, edm::EventSetup const &) |
|
| EDAnalyzer ()=default |
|
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
|
| EDAnalyzerBase () |
|
ModuleDescription const & | moduleDescription () const |
|
virtual | ~EDAnalyzerBase () |
|
std::vector< ConsumesInfo > | consumesInfo () const |
|
| 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 |
|
void | updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet) |
|
virtual | ~EDConsumerBase () noexcept(false) |
|
|
void | beginRun (edm::Run const &run, edm::EventSetup const &eSetup) |
|
void | dqmEndJob (DQMStore::IBooker &iBooker, DQMStore::IGetter &iGetter) override |
|
void | dqmEndLuminosityBlock (DQMStore::IBooker &iBooker, DQMStore::IGetter &iGetter, edm::LuminosityBlock const &lumiSeg, edm::EventSetup const &c) 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 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) |
|
Description: Summary map generation for the Phase 1 pixel
Usage: <usage>
Definition at line 43 of file SiPixelPhase1Summary.h.
Definition at line 130 of file SiPixelPhase1Summary.cc.
References DEFINE_FWK_MODULE, DQMStore::IGetter::get(), MonitorElement::hasError(), MonitorElement::hasWarning(), mps_fire::i, reco::HaloData::minus, dataset::name, SurfaceOrientation::outer, AlCaHLTBitMon_QueryRunRegistry::string, summaryMap_, summaryPlotName_, and topFolderName_.
Referenced by dqmEndJob(), and dqmEndLuminosityBlock().
133 auto name = mapInfo.first;
134 if (
name ==
"Grand")
continue;
135 std::ostringstream histNameStream;
138 for (
int i = 0;
i < 12;
i++){
139 for (
int j = 0; j < 4; j++){
140 if (
i > 3 && j == 3)
continue;
141 bool minus = i < 2 || (i > 3 &&
i < 8);
142 int iOver2 = floor(
i/2.);
143 bool outer = (
i > 3)?iOver2%2==0:
i%2==0;
145 histNameStream.str(
"");
146 histNameStream <<
topFolderName_.c_str() <<
"PX" << ((
i > 3)?
"Forward":
"Barrel") <<
"/" << ((
i > 3)?
"HalfCylinder":
"Shell") <<
"_" << (minus?
"m":
"p") << ((outer)?
"O":
"I") <<
"/" << ((
i > 3)?((
i%2 == 0)?
"PXRing_1/":
"PXRing_2/"):
"") << summaryPlotName_[
name].c_str() <<
"_PX" << ((
i > 3)?
"Disk":
"Layer") <<
"_" << ((
i>3)?((minus)?
"-":
"+"):
"") << (j+1);
147 histName = histNameStream.str();
151 edm::LogWarning(
"SiPixelPhase1Summary") <<
"ME " << histName <<
" is not available !!";
167 for (
int i = 0;
i < 12;
i++){
168 for (
int j = 0; j < 4; j++){
170 for (
auto const mapInfo: summaryPlotName_){
171 auto name = mapInfo.first;
172 if (
name ==
"Grand")
continue;
std::map< std::string, std::string > summaryPlotName_
std::string topFolderName_
MonitorElement * get(const std::string &path)
bool hasError(void) const
true if at least of one of the quality tests returned an error
std::map< std::string, MonitorElement * > summaryMap_
bool hasWarning(void) const
true if at least of one of the quality tests returned a warning