#include <SiPixelCertification.h>
|
| SiPixelCertification (const edm::ParameterSet &) |
|
| ~SiPixelCertification () |
|
virtual void | analyze (edm::Event const &, edm::EventSetup const &) final |
|
virtual void | beginLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) final |
|
virtual void | beginRun (edm::Run const &, edm::EventSetup const &) |
|
| 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 () |
|
ProductHolderIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
|
void | itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
|
void | itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
|
std::vector
< ProductHolderIndexAndSkipBit >
const & | itemsToGetFromEvent () const |
|
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
|
void | modulesDependentUpon (std::string const &iProcessName, std::string const &iModuleLabel, bool iPrint, std::vector< char const * > &oModuleLabels) const |
|
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
|
bool | registeredToConsume (ProductHolderIndex, bool, BranchType) const |
|
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
|
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
|
virtual | ~EDConsumerBase () |
|
Definition at line 26 of file SiPixelCertification.h.
SiPixelCertification::~SiPixelCertification |
( |
| ) |
|
Implements DQMEDHarvester.
Definition at line 82 of file SiPixelCertification.cc.
References DQMStore::IGetter::get(), and min().
84 edm::LogInfo(
"SiPixelCertification") <<
"SiPixelCertification::endRun ";
86 float dcsFrac = (iGetter.
get(
"Pixel/EventInfo/DCSSummary"))->getFloatValue();
87 float daqFrac = (iGetter.
get(
"Pixel/EventInfo/DAQSummary"))->getFloatValue();
88 float dqmFrac = (iGetter.
get(
"Pixel/EventInfo/reportSummary"))->getFloatValue();
89 float pixel_all =
std::min(dcsFrac,daqFrac);
90 pixel_all =
std::min(pixel_all,dqmFrac);
94 dcsFrac = (iGetter.
get(
"Pixel/EventInfo/DCSContents/PixelBarrelFraction"))->getFloatValue();
95 daqFrac = (iGetter.
get(
"Pixel/EventInfo/DAQContents/PixelBarrelFraction"))->getFloatValue();
96 dqmFrac = (iGetter.
get(
"Pixel/EventInfo/reportSummaryContents/PixelBarrelFraction"))->getFloatValue();
97 float pixel_barrel =
std::min(dcsFrac,daqFrac);
98 pixel_barrel =
std::min(pixel_barrel,dqmFrac);
102 dcsFrac = (iGetter.
get(
"Pixel/EventInfo/DCSContents/PixelEndcapFraction"))->getFloatValue();
103 daqFrac = (iGetter.
get(
"Pixel/EventInfo/DAQContents/PixelEndcapFraction"))->getFloatValue();
104 dqmFrac = (iGetter.
get(
"Pixel/EventInfo/reportSummaryContents/PixelEndcapFraction"))->getFloatValue();
105 float pixel_endcap =
std::min(dcsFrac,daqFrac);
106 pixel_endcap =
std::min(pixel_endcap,dqmFrac);
MonitorElement * CertificationPixel
MonitorElement * get(const std::string &path)
MonitorElement * CertificationBarrel
MonitorElement * CertificationEndcap
Reimplemented from DQMEDHarvester.
Definition at line 32 of file SiPixelCertification.cc.
References DQMStore::IBooker::bookFloat(), MonitorElement::Fill(), DQMStore::IGetter::get(), min(), and DQMStore::IBooker::setCurrentFolder().
50 edm::LogInfo(
"SiPixelCertification") <<
"SiPixelCertification::endLuminosityBlock ";
52 float dcsFrac = (iGetter.
get(
"Pixel/EventInfo/DCSSummary"))->getFloatValue();
53 float daqFrac = (iGetter.
get(
"Pixel/EventInfo/DAQSummary"))->getFloatValue();
54 float dqmFrac = (iGetter.
get(
"Pixel/EventInfo/reportSummary"))->getFloatValue();
55 float pixel_all =
std::min(dcsFrac,daqFrac);
56 pixel_all =
std::min(pixel_all,dqmFrac);
61 dcsFrac = (iGetter.
get(
"Pixel/EventInfo/DCSContents/PixelBarrelFraction"))->getFloatValue();
62 daqFrac = (iGetter.
get(
"Pixel/EventInfo/DAQContents/PixelBarrelFraction"))->getFloatValue();
63 dqmFrac = (iGetter.
get(
"Pixel/EventInfo/reportSummaryContents/PixelBarrelFraction"))->getFloatValue();
64 float pixel_barrel =
std::min(dcsFrac,daqFrac);
65 pixel_barrel =
std::min(pixel_barrel,dqmFrac);
70 dcsFrac = (iGetter.
get(
"Pixel/EventInfo/DCSContents/PixelEndcapFraction"))->getFloatValue();
71 daqFrac = (iGetter.
get(
"Pixel/EventInfo/DAQContents/PixelEndcapFraction"))->getFloatValue();
72 dqmFrac = (iGetter.
get(
"Pixel/EventInfo/reportSummaryContents/PixelEndcapFraction"))->getFloatValue();
73 float pixel_endcap =
std::min(dcsFrac,daqFrac);
74 pixel_endcap =
std::min(pixel_endcap,dqmFrac);
MonitorElement * CertificationPixel
MonitorElement * get(const std::string &path)
MonitorElement * CertificationBarrel
void setCurrentFolder(const std::string &fullpath)
MonitorElement * CertificationEndcap
MonitorElement * bookFloat(Args &&...args)
bool SiPixelCertification::firstLumi |
|
private |