|
| MuonTrackResidualsTest (const edm::ParameterSet &ps) |
| Constructor. More...
|
|
| ~MuonTrackResidualsTest () override |
| Destructor. More...
|
|
void | accumulate (edm::Event const &ev, edm::EventSetup const &es) final |
|
void | beginLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) final |
|
void | beginRun (edm::Run const &, edm::EventSetup const &) override |
|
| DQMEDHarvester () |
|
virtual void | dqmEndLuminosityBlock (DQMStore::IBooker &, DQMStore::IGetter &, edm::LuminosityBlock const &, edm::EventSetup const &) |
|
void | endJob () final |
|
void | endLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) final |
|
void | endLuminosityBlockProduce (edm::LuminosityBlock &, edm::EventSetup const &) final |
|
void | endRun (edm::Run const &, edm::EventSetup const &) override |
|
void | endRunProduce (edm::Run &run, edm::EventSetup const &setup) override |
|
| ~DQMEDHarvester () override=default |
|
| EDProducer ()=default |
|
SerialTaskQueue * | globalLuminosityBlocksQueue () final |
|
SerialTaskQueue * | globalRunsQueue () final |
|
bool | hasAbilityToProduceInBeginLumis () const final |
|
bool | hasAbilityToProduceInBeginRuns () const final |
|
bool | hasAbilityToProduceInEndLumis () const final |
|
bool | hasAbilityToProduceInEndRuns () const final |
|
bool | wantsGlobalLuminosityBlocks () const final |
|
bool | wantsGlobalRuns () const final |
|
| EDProducerBase () |
|
ModuleDescription const & | moduleDescription () const |
|
bool | wantsStreamLuminosityBlocks () const |
|
bool | wantsStreamRuns () const |
|
| ~EDProducerBase () override |
|
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
|
std::vector< edm::ProductResolverIndex > const & | indiciesForPutProducts (BranchType iBranchType) const |
|
| ProducerBase () |
|
std::vector< edm::ProductResolverIndex > const & | putTokenIndexToProductResolverIndex () const |
|
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
|
std::function< void(BranchDescription const &)> | registrationCallback () const |
| used by the fwk to register list of products More...
|
|
void | resolvePutIndicies (BranchType iBranchType, ModuleToResolverIndicies const &iIndicies, std::string const &moduleLabel) |
|
| ~ProducerBase () noexcept(false) override |
|
std::vector< ConsumesInfo > | consumesInfo () const |
|
void | convertCurrentProcessAlias (std::string const &processName) |
| Convert "@currentProcess" in InputTag process names to the actual current process name. More...
|
|
| EDConsumerBase () |
|
| EDConsumerBase (EDConsumerBase const &)=delete |
|
| EDConsumerBase (EDConsumerBase &&)=default |
|
ESProxyIndex const * | esGetTokenIndices (edm::Transition iTrans) const |
|
ProductResolverIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
|
void | itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
|
void | itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
|
std::vector< ProductResolverIndexAndSkipBit > const & | itemsToGetFrom (BranchType iType) const |
|
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
|
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
|
EDConsumerBase const & | operator= (EDConsumerBase const &)=delete |
|
EDConsumerBase & | operator= (EDConsumerBase &&)=default |
|
bool | registeredToConsume (ProductResolverIndex, bool, BranchType) const |
|
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
|
ProductResolverIndexAndSkipBit | uncheckedIndexFrom (EDGetToken) const |
|
void | updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet) |
|
void | updateLookup (eventsetup::ESRecordsToProxyIndices const &) |
|
virtual | ~EDConsumerBase () noexcept(false) |
|
|
void | dqmEndJob (DQMStore::IBooker &, DQMStore::IGetter &) override |
|
ProducesCollector | producesCollector () |
|
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 ESProduct , typename ESRecord , Transition Tr = Transition::Event> |
auto | esConsumes () |
|
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> |
auto | esConsumes (ESInputTag const &tag) |
|
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 33 of file MuonTrackResidualsTest.h.
Implements DQMEDHarvester.
Definition at line 41 of file MuonTrackResidualsTest.cc.
References dqm::dqmstoreimpl::DQMStore::IBooker::book1D(), HltBtagPostValidation_cff::c, dqm::dqmstoreimpl::DQMStore::IGetter::get(), QReport::getBadChannels(), timingPdfMaker::histo, genParticles_cff::map, SiStripPI::mean, castor_dqm_sourceclient_file_cfg::path, and dqm::dqmstoreimpl::DQMStore::IBooker::setCurrentFolder().
Referenced by ~MuonTrackResidualsTest().
45 ibooker.setCurrentFolder(
"Muons/Tests/trackResidualsTest");
47 string histName, MeanHistoName, SigmaHistoName, MeanHistoTitle, SigmaHistoTitle;
49 type.push_back(
"eta");
50 type.push_back(
"theta");
51 type.push_back(
"phi");
53 for (
unsigned int c = 0;
c < type.size();
c++) {
54 MeanHistoName =
"MeanTest_" + type[
c];
55 SigmaHistoName =
"SigmaTest_" + type[
c];
57 MeanHistoTitle =
"Mean of the #" + type[
c] +
" residuals distribution";
58 SigmaHistoTitle =
"Sigma of the #" + type[
c] +
" residuals distribution";
60 histName =
"Res_GlbSta_" + type[
c];
62 histName =
"Res_TkGlb_" + type[
c];
64 histName =
"Res_TkSta_" + type[
c];
67 MeanHistos[type[
c]] = ibooker.book1D(MeanHistoName.c_str(), MeanHistoTitle.c_str(), 3, 0.5, 3.5);
68 (
MeanHistos[type[
c]])->setBinLabel(1,
"Res_StaGlb", 1);
69 (
MeanHistos[type[
c]])->setBinLabel(2,
"Res_TkGlb", 1);
70 (
MeanHistos[type[
c]])->setBinLabel(3,
"Res_TkSta", 1);
72 SigmaHistos[type[
c]] = ibooker.book1D(SigmaHistoName.c_str(), SigmaHistoTitle.c_str(), 3, 0.5, 3.5);
82 for (
unsigned int type = 0; type < (*histo).second.size(); type++) {
83 string path =
"Muons/MuonRecoAnalyzer/" + (*histo).second[
type];
88 int BinNumber = type + 1;
89 float mean = (*res_histo).getMean(1);
90 float sigma = (*res_histo).getRMS(1);
91 MeanHistos.find((*histo).first)->second->setBinContent(BinNumber, mean);
92 SigmaHistos.find((*histo).first)->second->setBinContent(BinNumber, sigma);
98 for (map<string, MonitorElement*>::const_iterator hMean =
MeanHistos.begin(); hMean !=
MeanHistos.end(); hMean++) {
100 if (theMeanQReport) {
101 vector<dqm::me_util::Channel> badChannels = theMeanQReport->
getBadChannels();
102 for (vector<dqm::me_util::Channel>::iterator channel = badChannels.begin(); channel != badChannels.end();
109 for (map<string, MonitorElement*>::const_iterator hSigma =
SigmaHistos.begin(); hSigma !=
SigmaHistos.end();
112 if (theSigmaQReport) {
113 vector<dqm::me_util::Channel> badChannels = theSigmaQReport->
getBadChannels();
114 for (vector<dqm::me_util::Channel>::iterator channel = badChannels.begin(); channel != badChannels.end();
const std::vector< DQMChannel > & getBadChannels() const
std::map< std::string, MonitorElement * > MeanHistos
std::string MeanCriterionName
std::map< std::string, std::vector< std::string > > histoNames
std::string SigmaCriterionName
std::map< std::string, MonitorElement * > SigmaHistos