|
void | analyze (const edm::Event &event, const edm::EventSetup &eventSetup) override |
|
| DQMHcalIsoTrackPostProcessor (const edm::ParameterSet &pset) |
|
void | endJob () override |
|
void | endRun (edm::Run const &, edm::EventSetup const &) override |
|
| ~DQMHcalIsoTrackPostProcessor () |
|
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 |
|
bool | registeredToConsume (ProductHolderIndex, bool, BranchType) const |
|
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
|
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
|
virtual | ~EDConsumerBase () |
|
DQMHcalIsoTrackPostProcessor::DQMHcalIsoTrackPostProcessor |
( |
const edm::ParameterSet & |
pset | ) |
|
DQMHcalIsoTrackPostProcessor::~DQMHcalIsoTrackPostProcessor |
( |
| ) |
|
|
inline |
void DQMHcalIsoTrackPostProcessor::endJob |
( |
void |
| ) |
|
|
overridevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 45 of file DQMHcalIsoTrackPostProcessor.cc.
References DQMStore::book1D(), DQMStore::cd(), gather_cfg::cout, DQMStore::dirExists(), DQMStore::get(), getTH1F(), MonitorElement::getTH1F(), cppFunctionSkipper::operator, outputRootFileName_, DQMStore::pwd(), DQMStore::save(), saveToFile_, and subDir_.
53 edm::LogInfo(
"DQMHcalIsoTrackPostProcessor") <<
"Cannot create DQMStore instance\n";
64 MonitorElement* hPurityEta=dqm->book1D(
"hPurityEta",
"Purity of sample vs eta",16,-2,2);
65 MonitorElement* hPurityPhi=dqm->book1D(
"hPurityPhi",
"Purity of sample vs phi",16,-3.2,3.2);
67 MonitorElement* hSumOffEta=dqm->book1D(
"hSumOffEta",
"hSumOffEta",16,-2,2);
68 MonitorElement* hSumOffPhi=dqm->book1D(
"hSumOffPhi",
"hSumOffPhi",16,-3.2,3.2);
70 MonitorElement* hSumL3Eta=dqm->book1D(
"hSumL3Eta",
"hSumL3Eta",16,-2,2);
71 MonitorElement* hSumL3Phi=dqm->book1D(
"hSumL3Phi",
"hSumL3Phi",16,-3.2,3.2);
73 hSumOffEta->
getTH1F()->Add(dqm->get(dqm->pwd() +
"/hOffEtaFP")->
getTH1F(),1);
74 hSumOffPhi->
getTH1F()->Add(dqm->get(dqm->pwd() +
"/hOffPhiFP")->
getTH1F(),1);
76 hSumL3Eta->
getTH1F()->Add(dqm->get(dqm->pwd() +
"/hl3eta")->
getTH1F(),1);
77 hSumL3Phi->
getTH1F()->Add(dqm->get(dqm->pwd() +
"/hl3phi")->
getTH1F(),1);
80 hSumOffEta->
getTH1F()->TH1F::Sumw2();
81 hSumOffPhi->
getTH1F()->TH1F::Sumw2();
82 hSumL3Eta->
getTH1F()->TH1F::Sumw2();
83 hSumL3Phi->
getTH1F()->TH1F::Sumw2();
TH1F * getTH1F(std::string name, std::string process, std::string rootfolder, DQMStore *dbe_, bool verb, bool clone)
TH1F * getTH1F(void) const
std::string outputRootFileName_
std::string DQMHcalIsoTrackPostProcessor::outputRootFileName_ |
|
private |
bool DQMHcalIsoTrackPostProcessor::saveToFile_ |
|
private |
std::string DQMHcalIsoTrackPostProcessor::subDir_ |
|
private |