#include <SiPixelCertification.h>
|
| SiPixelCertification (const edm::ParameterSet &) |
|
| ~SiPixelCertification () |
|
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
|
| EDAnalyzer () |
|
ModuleDescription const & | moduleDescription () const |
|
std::string | workerType () const |
|
virtual | ~EDAnalyzer () |
|
| 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 (const std::string &iProcessName, std::vector< const char * > &oModuleLabels) const |
|
bool | registeredToConsume (ProductHolderIndex, bool, BranchType) const |
|
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
|
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
|
virtual | ~EDConsumerBase () |
|
Definition at line 25 of file SiPixelCertification.h.
SiPixelCertification::~SiPixelCertification |
( |
| ) |
|
void SiPixelCertification::beginJob |
( |
void |
| ) |
|
|
privatevirtual |
void SiPixelCertification::endJob |
( |
void |
| ) |
|
|
privatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 53 of file SiPixelCertification.cc.
References dbe_, MonitorElement::Fill(), DQMStore::get(), and bookConverter::min.
55 edm::LogInfo(
"SiPixelCertification") <<
"SiPixelCertification::endLuminosityBlock ";
57 float dcsFrac = (
dbe_->
get(
"Pixel/EventInfo/DCSSummary"))->getFloatValue();
58 float daqFrac = (
dbe_->
get(
"Pixel/EventInfo/DAQSummary"))->getFloatValue();
59 float dqmFrac = (
dbe_->
get(
"Pixel/EventInfo/reportSummary"))->getFloatValue();
60 float pixel_all =
std::min(dcsFrac,daqFrac);
61 pixel_all =
std::min(pixel_all,dqmFrac);
66 dcsFrac = (
dbe_->
get(
"Pixel/EventInfo/DCSContents/PixelBarrelFraction"))->getFloatValue();
67 daqFrac = (
dbe_->
get(
"Pixel/EventInfo/DAQContents/PixelBarrelFraction"))->getFloatValue();
68 dqmFrac = (
dbe_->
get(
"Pixel/EventInfo/reportSummaryContents/PixelBarrelFraction"))->getFloatValue();
69 float pixel_barrel =
std::min(dcsFrac,daqFrac);
70 pixel_barrel =
std::min(pixel_barrel,dqmFrac);
75 dcsFrac = (
dbe_->
get(
"Pixel/EventInfo/DCSContents/PixelEndcapFraction"))->getFloatValue();
76 daqFrac = (
dbe_->
get(
"Pixel/EventInfo/DAQContents/PixelEndcapFraction"))->getFloatValue();
77 dqmFrac = (
dbe_->
get(
"Pixel/EventInfo/reportSummaryContents/PixelEndcapFraction"))->getFloatValue();
78 float pixel_endcap =
std::min(dcsFrac,daqFrac);
79 pixel_endcap =
std::min(pixel_endcap,dqmFrac);
MonitorElement * CertificationPixel
MonitorElement * CertificationBarrel
MonitorElement * get(const std::string &path) const
get ME from full pathname (e.g. "my/long/dir/my_histo")
MonitorElement * CertificationEndcap
Reimplemented from edm::EDAnalyzer.
Definition at line 87 of file SiPixelCertification.cc.
References dbe_, MonitorElement::Fill(), DQMStore::get(), and bookConverter::min.
89 edm::LogInfo(
"SiPixelCertification") <<
"SiPixelCertification::endRun ";
91 float dcsFrac = (
dbe_->
get(
"Pixel/EventInfo/DCSSummary"))->getFloatValue();
92 float daqFrac = (
dbe_->
get(
"Pixel/EventInfo/DAQSummary"))->getFloatValue();
93 float dqmFrac = (
dbe_->
get(
"Pixel/EventInfo/reportSummary"))->getFloatValue();
94 float pixel_all =
std::min(dcsFrac,daqFrac);
95 pixel_all =
std::min(pixel_all,dqmFrac);
100 dcsFrac = (
dbe_->
get(
"Pixel/EventInfo/DCSContents/PixelBarrelFraction"))->getFloatValue();
101 daqFrac = (
dbe_->
get(
"Pixel/EventInfo/DAQContents/PixelBarrelFraction"))->getFloatValue();
102 dqmFrac = (
dbe_->
get(
"Pixel/EventInfo/reportSummaryContents/PixelBarrelFraction"))->getFloatValue();
103 float pixel_barrel =
std::min(dcsFrac,daqFrac);
104 pixel_barrel =
std::min(pixel_barrel,dqmFrac);
109 dcsFrac = (
dbe_->
get(
"Pixel/EventInfo/DCSContents/PixelEndcapFraction"))->getFloatValue();
110 daqFrac = (
dbe_->
get(
"Pixel/EventInfo/DAQContents/PixelEndcapFraction"))->getFloatValue();
111 dqmFrac = (
dbe_->
get(
"Pixel/EventInfo/reportSummaryContents/PixelEndcapFraction"))->getFloatValue();
112 float pixel_endcap =
std::min(dcsFrac,daqFrac);
113 pixel_endcap =
std::min(pixel_endcap,dqmFrac);
MonitorElement * CertificationPixel
MonitorElement * CertificationBarrel
MonitorElement * get(const std::string &path) const
get ME from full pathname (e.g. "my/long/dir/my_histo")
MonitorElement * CertificationEndcap