|
| 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 | hasAbilityToProduceInLumis () const final |
|
bool | hasAbilityToProduceInRuns () 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 |
|
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 36 of file MuonTrackResidualsTest.h.
Implements DQMEDHarvester.
Definition at line 44 of file MuonTrackResidualsTest.cc.
References DQMStore::IBooker::book1D(), EnergyCorrector::c, DQMStore::IGetter::get(), QReport::getBadChannels(), trackerHits::histo, genParticles_cff::map, SiStripPI::mean, callgraph::path, and DQMStore::IBooker::setCurrentFolder().
Referenced by ~MuonTrackResidualsTest().
51 string histName, MeanHistoName, SigmaHistoName, MeanHistoTitle, SigmaHistoTitle;
53 type.push_back(
"eta");
54 type.push_back(
"theta");
55 type.push_back(
"phi");
58 for(
unsigned int c=0;
c<type.size();
c++){
60 MeanHistoName =
"MeanTest_" + type[
c];
61 SigmaHistoName =
"SigmaTest_" + type[
c];
63 MeanHistoTitle =
"Mean of the #" + type[
c] +
" residuals distribution";
64 SigmaHistoTitle =
"Sigma of the #" + type[
c] +
" residuals distribution";
66 histName =
"Res_GlbSta_"+type[
c];
68 histName =
"Res_TkGlb_"+type[
c];
70 histName =
"Res_TkSta_"+type[
c];
74 MeanHistos[type[
c]] = ibooker.
book1D(MeanHistoName.c_str(),MeanHistoTitle.c_str(),3,0.5,3.5);
75 (
MeanHistos[type[
c]])->setBinLabel(1,
"Res_StaGlb",1);
76 (
MeanHistos[type[
c]])->setBinLabel(2,
"Res_TkGlb",1);
77 (
MeanHistos[type[
c]])->setBinLabel(3,
"Res_TkSta",1);
80 SigmaHistos[type[
c]] = ibooker.
book1D(SigmaHistoName.c_str(),SigmaHistoTitle.c_str(),3,0.5,3.5);
94 for (
unsigned int type=0; type< (*histo).second.size(); type++){
96 string path =
"Muons/MuonRecoAnalyzer/" + (*histo).second[
type];
102 int BinNumber = type+1;
103 float mean = (*res_histo).getMean(1);
104 float sigma = (*res_histo).getRMS(1);
105 MeanHistos.find((*histo).first)->second->setBinContent(BinNumber, mean);
106 SigmaHistos.find((*histo).first)->second->setBinContent(BinNumber, sigma);
113 for(map<string, MonitorElement*>::const_iterator hMean =
MeanHistos.begin();
118 vector<dqm::me_util::Channel> badChannels = theMeanQReport->
getBadChannels();
119 for (vector<dqm::me_util::Channel>::iterator channel = badChannels.begin();
120 channel != badChannels.end(); channel++) {
126 for(map<string, MonitorElement*>::const_iterator hSigma =
SigmaHistos.begin();
130 if(theSigmaQReport) {
131 vector<dqm::me_util::Channel> badChannels = theSigmaQReport->
getBadChannels();
132 for (vector<dqm::me_util::Channel>::iterator channel = badChannels.begin();
133 channel != badChannels.end(); channel++) {
const std::vector< DQMChannel > & getBadChannels() const
void setCurrentFolder(std::string const &fullpath)
std::string MeanCriterionName
MonitorElement * book1D(Args &&...args)
MonitorElement * get(std::string const &path)
std::map< std::string, MonitorElement * > MeanHistos
std::map< std::string, std::vector< std::string > > histoNames
std::string SigmaCriterionName
std::map< std::string,MonitorElement * > SigmaHistos