|
| HLTMon (const edm::ParameterSet &) |
|
| ~HLTMon () |
|
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 () |
|
Description: This is a DQM source meant to be an example for general development of HLT DQM code. Based on the general structure used for L1TMonitor DQM sources. This adaptation of HLTMonElectron was created by Ben BLOOM bbloo.nosp@m.m@gm.nosp@m.ail.c.nosp@m.om
Implementation: <Notes on="" implementation>="">
Definition at line 51 of file HLTMon.h.
Definition at line 47 of file HLTMon.cc.
References dbe, dirname_, filters, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), isoNames, LogDebug, logFile_, NULL, cppFunctionSkipper::operator, outputFile_, plotBounds, plotiso, reqNum, DQMStore::setCurrentFolder(), DQMStore::setVerbose(), AlCaHLTBitMon_QueryRunRegistry::string, theHLTCollectionLabels, theHLTOutputTypes, theNbins, thePtMax, and thePtMin.
50 LogDebug(
"HLTMon") <<
"constructor...." ;
63 edm::LogInfo(
"HLTMon") <<
"L1T Monitoring histograms will be saved to "
90 std::vector<edm::ParameterSet>
filters = iConfig.
getParameter<std::vector<edm::ParameterSet> >(
"filters");
92 for(std::vector<edm::ParameterSet>::iterator filterconf = filters.begin() ; filterconf != filters.end() ; filterconf++){
94 theHLTOutputTypes.push_back(filterconf->getParameter<
unsigned int>(
"theHLTOutputTypes"));
95 std::vector<double> bounds = filterconf->getParameter<std::vector<double> >(
"PlotBounds");
96 assert(bounds.size() == 2);
97 plotBounds.push_back(std::pair<double,double>(bounds[0],bounds[1]));
98 isoNames.push_back(filterconf->getParameter<std::vector<edm::InputTag> >(
"IsoCollections"));
100 if (
isoNames.back().at(0).label()==
"none")
std::vector< std::pair< double, double > > plotBounds
T getParameter(std::string const &) const
T getUntrackedParameter(std::string const &, T const &) const
std::vector< TPRegexp > filters
std::vector< bool > plotiso
void setVerbose(unsigned level)
std::vector< edm::InputTag > theHLTCollectionLabels
std::vector< int > theHLTOutputTypes
void setCurrentFolder(const std::string &fullpath)
std::vector< std::vector< edm::InputTag > > isoNames
void HLTMon::beginJob |
( |
void |
| ) |
|
|
privatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 229 of file HLTMon.cc.
References DQMStore::book1D(), DQMStore::book2D(), dbe, dirname_, eta_phihist, etahist, etahistiso, ethist, ethistiso, histoTitle, i, diffTwoXMLs::label, nev_, NULL, cppFunctionSkipper::operator, phihist, phihistiso, plotBounds, plotiso, DQMStore::rmdir(), MonitorElement::setAxisTitle(), MonitorElement::setBinLabel(), DQMStore::setCurrentFolder(), AlCaHLTBitMon_QueryRunRegistry::string, theHLTCollectionLabels, theNbins, thePtMax, thePtMaxTemp, thePtMin, thePtMinTemp, and total.
296 ethist.push_back(tmphisto);
std::vector< std::pair< double, double > > plotBounds
std::vector< MonitorElement * > eta_phihist
std::vector< MonitorElement * > etahistiso
MonitorElement * book1D(const char *name, const char *title, int nchX, double lowX, double highX)
Book 1D histogram.
void rmdir(const std::string &fullpath)
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)
std::vector< MonitorElement * > phihist
std::vector< MonitorElement * > phihistiso
std::vector< bool > plotiso
std::vector< MonitorElement * > etahist
std::vector< MonitorElement * > ethistiso
std::vector< MonitorElement * > ethist
std::vector< edm::InputTag > theHLTCollectionLabels
MonitorElement * book2D(const char *name, const char *title, int nchX, double lowX, double highX, int nchY, double lowY, double highY)
Book 2D histogram.
void setAxisTitle(const std::string &title, int axis=1)
set x-, y- or z-axis title (axis=1, 2, 3 respectively)
void setCurrentFolder(const std::string &fullpath)
Definition at line 171 of file HLTMon.cc.
References asciidump::at, eta(), eta_phihist, etahist, etahistiso, ethist, ethistiso, MonitorElement::Fill(), edm::Event::getByLabel(), i, isoNames, edm::HandleBase::isValid(), j, diffTwoXMLs::label, n, phi, phihist, phihistiso, plotiso, reqNum, theHLTCollectionLabels, theHLTOutputTypes, and total.
174 std::vector<edm::Ref<T> > particlecands;
185 std::vector<edm::Ref<T> > isocands;
187 if(isocands.size()>0)
188 for(
unsigned int i=0;
i < isocands.size();
i++)
189 particlecands.push_back(isocands[
i]);
193 if (particlecands.size()!=0){
194 if(particlecands.size() >=
reqNum )
196 for (
unsigned int i=0;
i<particlecands.size() && particlecands[
i].isAvailable();
i++) {
198 ethist[
n]->Fill(particlecands[
i]->et() );
206 for(
unsigned int j = 0 ;
j <
isoNames[n+1].size() ;
j++ ){
211 if(mapi!=depMap->end()){
213 ethistiso[n+1]->Fill(particlecands[i]->et(),mapi->val);
std::vector< MonitorElement * > eta_phihist
std::vector< MonitorElement * > etahistiso
std::vector< MonitorElement * > phihist
std::vector< MonitorElement * > phihistiso
std::vector< bool > plotiso
std::vector< MonitorElement * > etahist
std::vector< MonitorElement * > ethistiso
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
std::vector< MonitorElement * > ethist
std::vector< edm::InputTag > theHLTCollectionLabels
std::vector< int > theHLTOutputTypes
std::vector< std::vector< edm::InputTag > > isoNames