#include <HLTEventInfoClient.h>
|
| HLTEventInfoClient (const edm::ParameterSet &ps) |
| Constructor. More...
|
|
virtual | ~HLTEventInfoClient () |
| Destructor. More...
|
|
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 () |
|
|
void | analyze (const edm::Event &e, const edm::EventSetup &c) |
| Fake Analyze. More...
|
|
void | beginJob () |
| BeginJob. More...
|
|
void | beginLuminosityBlock (const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &context) |
|
void | beginRun (const edm::Run &r, const edm::EventSetup &c) |
| BeginRun. More...
|
|
void | endJob () |
| Endjob. More...
|
|
void | endLuminosityBlock (const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &c) |
| DQM Client Diagnostic. More...
|
|
void | endRun (const edm::Run &r, const edm::EventSetup &c) |
| EndRun. More...
|
|
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) |
|
Definition at line 23 of file HLTEventInfoClient.h.
HLTEventInfoClient::~HLTEventInfoClient |
( |
| ) |
|
|
virtual |
void HLTEventInfoClient::beginJob |
( |
void |
| ) |
|
|
protectedvirtual |
BeginJob.
Reimplemented from edm::EDAnalyzer.
Definition at line 70 of file HLTEventInfoClient.cc.
References gather_cfg::cout, dbe_, timingPdfMaker::histo, roll_playback::k, n, and cppFunctionSkipper::operator.
76 dbe_->setCurrentFolder(
"HLT/EventInfo");
91 dbe_->setCurrentFolder(
"HLT/EventInfo/reportSummaryContents");
96 for (
int n = 0;
n < nPDs;
n++) {
99 case 0 : sprintf(histo,
"hlt_dqm_EGamma");
break;
100 case 1 : sprintf(histo,
"hlt_dqm_Muon");
break;
101 case 2 : sprintf(histo,
"hlt_dqm_JetMet");
break;
102 case 3 : sprintf(histo,
"hlt_dqm_BJets");
break;
103 case 4 : sprintf(histo,
"hlt_dqm_Tau");
break;
104 case 5 : sprintf(histo,
"hlt_dqm_Test1");
break;
105 case 6 : sprintf(histo,
"hlt_dqm_Test2");
break;
106 case 7 : sprintf(histo,
"hlt_dqm_Test3");
break;
107 case 8 : sprintf(histo,
"hlt_dqm_Test4");
break;
108 case 9 : sprintf(histo,
"hlt_dqm_Test5");
break;
109 case 10 : sprintf(histo,
"hlt_dqm_Test6");
break;
110 case 11 : sprintf(histo,
"hlt_dqm_Test7");
break;
111 case 12 : sprintf(histo,
"hlt_dqm_Test8");
break;
112 case 13 : sprintf(histo,
"hlt_dqm_Test9");
break;
113 case 14 : sprintf(histo,
"hlt_dqm_Test10");
break;
114 case 15 : sprintf(histo,
"hlt_dqm_Test11");
break;
115 case 16 : sprintf(histo,
"hlt_dqm_Test12");
break;
116 case 17 : sprintf(histo,
"hlt_dqm_Test13");
break;
117 case 18 : sprintf(histo,
"hlt_dqm_Test14");
break;
118 case 19 : sprintf(histo,
"hlt_dqm_Test15");
break;
132 for (
int k = 0;
k < nPDs;
k++) {
138 dbe_->setCurrentFolder(
"HLT/EventInfo");
const std::string & getName(void) const
get name of ME
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 * reportSummaryContent_[20]
MonitorElement * reportSummaryMap_
Float_t summaryContent[20]
MonitorElement * reportSummary_
void setAxisTitle(const std::string &title, int axis=1)
set x-, y- or z-axis title (axis=1, 2, 3 respectively)
void HLTEventInfoClient::endJob |
( |
void |
| ) |
|
|
protectedvirtual |
DQM Client Diagnostic.
Reimplemented from edm::EDAnalyzer.
Definition at line 172 of file HLTEventInfoClient.cc.
References dbe_, MonitorElement::getBinContent(), MonitorElement::getNbinsX(), i, edm::LuminosityBlockBase::id(), j, roll_playback::k, edm::LuminosityBlockID::luminosityBlock(), m, and getDQMSummary::reportSummary.
180 double PDResult[nPDs];
182 for(
int i = 0;
i < nPDs;
i++ ) {
186 bool isCollision =
true;
188 for(
int i = 0;
i < nPDs;
i++ ) {
189 if(
i == 0 ) Pass_Hists[
i] =
dbe_->get(
"HLT/FourVector/PathsSummary/HLT_SingleElectron_Pass_Any");
190 if(
i == 1 ) Pass_Hists[
i] =
dbe_->get(
"HLT/FourVector/PathsSummary/HLT_DoubleElectron_Pass_Any");
191 if(
i == 2 ) Pass_Hists[
i] =
dbe_->get(
"HLT/FourVector/PathsSummary/HLT_SingleMu_Pass_Any");
192 if(
i == 3 ) Pass_Hists[
i] =
dbe_->get(
"HLT/FourVector/PathsSummary/HLT_DoubleMu_Pass_Any");
193 if(
i == 4 ) Pass_Hists[
i] =
dbe_->get(
"HLT/FourVector/PathsSummary/HLT_Photon_Pass_Any");
194 if(
i == 5 ) Pass_Hists[
i] =
dbe_->get(
"HLT/FourVector/PathsSummary/HLT_Tau_Pass_Any");
195 if(
i == 6 ) Pass_Hists[
i] =
dbe_->get(
"HLT/FourVector/PathsSummary/HLT_BTag_Pass_Any");
196 if(
i == 7 ) Pass_Hists[
i] =
dbe_->get(
"HLT/FourVector/PathsSummary/HLT_HT_Pass_Any");
197 if(
i == 8 ) Pass_Hists[
i] =
dbe_->get(
"HLT/FourVector/PathsSummary/HLT_Jet_Pass_Any");
198 if(
i == 9 ) Pass_Hists[
i] =
dbe_->get(
"HLT/FourVector/PathsSummary/HLT_MET_Pass_Any");
200 if( Pass_Hists[
i] ) {
201 if( i == 5 && !isCollision )
continue;
204 if( i == 1 ) noBins = 3;
205 if( i == 8 ) noBins = 4;
207 for(
int j = 0;
j < nPathsPD[
i]-noBins;
j++ ) {
210 if( i == 1 && (
j == 0) )
continue;
211 if( i == 3 && (
j == 1 ||
j == 4) )
continue;
212 if( i == 4 && (
j > 1) )
continue;
213 if( i == 5 && (
j > 4) )
continue;
214 if( i == 7 && (
j == 7) )
continue;
215 if( i == 8 && (
j == 8) )
continue;
216 if( i == 9 && (
j == 8 ||
j == 13 ||
j == 15) )
continue;
220 if( ilumi > 5 ) PDResult[
i] = 0.5;
224 if( nTotPD[i] == 0 ) {
225 if( ilumi > 5 ) PDResult[
i] = 0.0;
233 for (
int k = 0;
k < nPDs;
k++) {
245 for (
int m = 0;
m < nPDs;
m++) {
LuminosityBlockID id() const
void setBinContent(int binx, double content)
set content of bin (1-D)
MonitorElement * reportSummaryContent_[20]
MonitorElement * reportSummaryMap_
Float_t summaryContent[20]
Float_t reportSummary
prescale on number of events
LuminosityBlockNumber_t luminosityBlock() const
double getBinContent(int binx) const
get content of bin (1-D)
int getNbinsX(void) const
get # of bins in X-axis
MonitorElement * reportSummary_
TH1F * HLTEventInfoClient::get1DHisto |
( |
std::string |
meName, |
|
|
DQMStore * |
dbi |
|
) |
| |
|
private |
TProfile * HLTEventInfoClient::get1DProfile |
( |
std::string |
meName, |
|
|
DQMStore * |
dbi |
|
) |
| |
|
private |
TH2F * HLTEventInfoClient::get2DHisto |
( |
std::string |
meName, |
|
|
DQMStore * |
dbi |
|
) |
| |
|
private |
TProfile2D * HLTEventInfoClient::get2DProfile |
( |
std::string |
meName, |
|
|
DQMStore * |
dbi |
|
) |
| |
|
private |
void HLTEventInfoClient::initialize |
( |
| ) |
|
|
private |
int HLTEventInfoClient::counterEvt_ |
|
private |
int HLTEventInfoClient::counterLS_ |
|
private |
std::string HLTEventInfoClient::monitorDir_ |
|
private |
int HLTEventInfoClient::prescaleEvt_ |
|
private |
int HLTEventInfoClient::prescaleLS_ |
|
private |
Float_t HLTEventInfoClient::reportSummary |
|
private |
Float_t HLTEventInfoClient::summaryContent[20] |
|
private |
Float_t HLTEventInfoClient::summarySum |
|
private |
bool HLTEventInfoClient::verbose_ |
|
private |