|
| SiPixelPhase1ResidualsExtra (const edm::ParameterSet &conf) |
|
| ~SiPixelPhase1ResidualsExtra () override |
|
void | accumulate (edm::Event const &ev, edm::EventSetup const &es) final |
|
void | beginJob () override |
|
void | beginLuminosityBlock (edm::LuminosityBlock const &lumi, edm::EventSetup const &) final |
|
void | beginRun (edm::Run const &run, edm::EventSetup const &) override |
|
virtual void | dqmAnalyze (DQMStore::IBooker &, DQMStore::IGetter &, edm::Event const &, edm::EventSetup const &) |
|
| DQMEDHarvester (edm::ParameterSet const &iConfig) |
|
| DQMEDHarvester () |
|
virtual void | dqmEndLuminosityBlock (DQMStore::IBooker &, DQMStore::IGetter &, edm::LuminosityBlock const &, edm::EventSetup const &) |
|
virtual void | dqmEndRun (DQMStore::IBooker &, DQMStore::IGetter &, edm::Run const &, edm::EventSetup const &) |
|
void | endLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) final |
|
void | endLuminosityBlockProduce (edm::LuminosityBlock &lumi, edm::EventSetup const &es) final |
|
void | endProcessBlockProduce (edm::ProcessBlock &) final |
|
void | endRun (edm::Run const &, edm::EventSetup const &) override |
|
void | endRunProduce (edm::Run &run, edm::EventSetup const &es) final |
|
| ~DQMEDHarvester () override=default |
|
| EDProducer ()=default |
|
| EDProducer (const EDProducer &)=delete |
|
SerialTaskQueue * | globalLuminosityBlocksQueue () final |
|
SerialTaskQueue * | globalRunsQueue () final |
|
bool | hasAbilityToProduceInBeginLumis () const final |
|
bool | hasAbilityToProduceInBeginProcessBlocks () const final |
|
bool | hasAbilityToProduceInBeginRuns () const final |
|
bool | hasAbilityToProduceInEndLumis () const final |
|
bool | hasAbilityToProduceInEndProcessBlocks () const final |
|
bool | hasAbilityToProduceInEndRuns () const final |
|
const EDProducer & | operator= (const EDProducer &)=delete |
|
bool | wantsGlobalLuminosityBlocks () const final |
|
bool | wantsGlobalRuns () const final |
|
bool | wantsInputProcessBlocks () const final |
|
bool | wantsProcessBlocks () 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 |
|
std::vector< bool > const & | recordProvenanceList () 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) |
|
TypeLabelList const & | typeLabelList () const |
| used by the fwk to register the list of products of this module More...
|
|
| ~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 |
|
ESResolverIndex const * | esGetTokenIndices (edm::Transition iTrans) const |
|
std::vector< ESResolverIndex > const & | esGetTokenIndicesVector (edm::Transition iTrans) const |
|
std::vector< ESRecordIndex > const & | esGetTokenRecordIndicesVector (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::array< std::vector< ModuleDescription const *> *, NumBranchTypes > &modulesAll, std::vector< ModuleProcessName > &modulesInPreviousProcesses, 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 |
|
void | selectInputProcessBlocks (ProductRegistry const &productRegistry, ProcessBlockHelperBase const &processBlockHelperBase) |
|
ProductResolverIndexAndSkipBit | uncheckedIndexFrom (EDGetToken) const |
|
void | updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet) |
|
void | updateLookup (eventsetup::ESRecordsToProductResolverIndices const &) |
|
virtual | ~EDConsumerBase () noexcept(false) |
|
|
void | beginRun (edm::Run const &run, edm::EventSetup const &eSetup) override |
|
void | dqmEndJob (DQMStore::IBooker &iBooker, DQMStore::IGetter &iGetter) override |
|
template<Transition Tr = Transition::Event> |
auto | produces (std::string instanceName) noexcept |
| declare what type of product will make and with which optional label More...
|
|
template<Transition B> |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
|
template<BranchType B> |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
|
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
|
template<typename ProductType , Transition B> |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
|
template<class ProductType > |
BranchAliasSetterT< ProductType > | produces () |
|
template<typename ProductType , BranchType B> |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
|
template<typename ProductType , BranchType B> |
BranchAliasSetterT< ProductType > | produces () |
|
template<class ProductType > |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
|
template<typename ProductType , Transition B> |
BranchAliasSetterT< ProductType > | produces () |
|
template<Transition Tr = Transition::Event> |
auto | produces () noexcept |
|
ProducesCollector | producesCollector () |
|
template<typename ProductType , BranchType B = InEvent> |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
|
template<BranchType B = InEvent> |
EDConsumerBaseAdaptor< B > | consumes (edm::InputTag tag) noexcept |
|
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 ESProduct , typename ESRecord , Transition Tr = Transition::Event> |
auto | esConsumes () |
|
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> |
auto | esConsumes (ESInputTag const &tag) |
|
template<Transition Tr = Transition::Event> |
constexpr auto | esConsumes () |
|
template<Transition Tr = Transition::Event> |
auto | esConsumes (ESInputTag tag) |
|
template<Transition Tr = Transition::Event> |
ESGetTokenGeneric | esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey) |
| Used with EventSetupRecord::doGet. More...
|
|
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) |
|
void | resetItemsToGetFrom (BranchType iType) |
|
Normalized Resiuduals Plots
Definition at line 72 of file SiPixelPhase1ResidualsExtra.cc.
References dqm::implementation::IBooker::book1D(), dqm::implementation::NavigatorBase::cd(), DRnR_, nano_mu_digi_cff::layer, residuals_, dqm::implementation::NavigatorBase::setCurrentFolder(), AlCaHLTBitMon_QueryRunRegistry::string, and topFolderName_.
Referenced by dqmEndJob().
79 float mean_range = 20.;
80 float rms_range = 200.;
86 iBooker.
book1D(
"residual_mean_x_Inner_PXLayer_" +
layer,
87 "Mean of Track Residuals X Inner Modules for Layer " +
layer +
";mean(x_rec-x_pred)[#mum]",
92 iBooker.
book1D(
"residual_mean_x_Outer_PXLayer_" +
layer,
93 "Mean of Track Residuals X Outer Modules for Layer " +
layer +
";mean(x_rec-x_pred)[#mum]",
98 iBooker.
book1D(
"residual_mean_y_Inner_PXLayer_" +
layer,
99 "Mean of Track Residuals Y Inner Modules for Layer " +
layer +
";mean(y_rec-y_pred)[#mum]",
104 iBooker.
book1D(
"residual_mean_y_Outer_PXLayer_" +
layer,
105 "Mean of Track Residuals Y Outer Modules for Layer " +
layer +
";mean(y_rec-y_pred)[#mum]",
111 iBooker.
book1D(
"residual_rms_x_Inner_PXLayer_" +
layer,
112 "RMS of Track Residuals X Inner Modules for Layer " +
layer +
";rms(x_rec-x_pred)[#mum]",
117 iBooker.
book1D(
"residual_rms_x_Outer_PXLayer_" +
layer,
118 "RMS of Track Residuals X Outer Modules for Layer " +
layer +
";rms(x_rec-x_pred)[#mum]",
123 iBooker.
book1D(
"residual_rms_y_Inner_PXLayer_" +
layer,
124 "RMS of Track Residuals Y Inner Modules for Layer " +
layer +
";rms(y_rec-y_pred)[#mum]",
129 iBooker.
book1D(
"residual_rms_y_Outer_PXLayer_" +
layer,
130 "RMS of Track Residuals Y Outer Modules for Layer " +
layer +
";rms(y_rec-y_pred)[#mum]",
136 "NormRes_mean_x_Inner_PXLayer_" +
layer,
137 "Mean of Normalized Track Residuals X Inner Modules for Layer " +
layer +
";mean((x_rec-x_pred)/x_err)",
142 "NormRes_mean_x_Outer_PXLayer_" +
layer,
143 "Mean of Normalized Track Residuals X Outer Modules for Layer " +
layer +
";mean((x_rec-x_pred)/x_err)",
148 "NormRes_mean_y_Inner_PXLayer_" +
layer,
149 "Mean of Normalized Track Residuals Y Inner Modules for Layer " +
layer +
";mean((y_rec-y_pred)/y_err)",
154 "NormRes_mean_y_Outer_PXLayer_" +
layer,
155 "Mean of Normalized Track Residuals Y Outer Modules for Layer " +
layer +
";mean((y_rec-y_pred)/y_err)",
161 "DRnR_x_Inner_PXLayer_" +
layer,
162 "RMS of Normalized Track Residuals X Inner Modules for Layer " +
layer +
";rms((x_rec-x_pred)/x_err)",
167 "DRnR_x_Outer_PXLayer_" +
layer,
168 "RMS of Normalized Track Residuals X Outer Modules for Layer " +
layer +
";rms((x_rec-x_pred)/x_err)",
173 "DRnR_y_Inner_PXLayer_" +
layer,
174 "RMS of Normalized Track Residuals Y Inner Modules for Layer " +
layer +
";rms((y_rec-y_pred)/y_err)",
179 "DRnR_y_Outer_PXLayer_" +
layer,
180 "RMS of Normalized Track Residuals Y Outer Modules for Layer " +
layer +
";rms((y_rec-y_pred)/y_err)",
190 "residual_mean_x_Inner",
"Mean of Track Residuals X Inner Modules;mean(x_rec-x_pred)[#mum]", 100, -20., 20.);
192 "residual_mean_x_Outer",
"Mean of Track Residuals X Outer Modules;mean(x_rec-x_pred)[#mum]", 100, -20., 20.);
194 "residual_mean_y_Inner",
"Mean of Track Residuals Y Inner Modules;mean(y_rec-y_pred)[#mum]", 100, -20., 20.);
196 "residual_mean_y_Outer",
"Mean of Track Residuals Y Outer Modules;mean(y_rec-y_pred)[#mum]", 100, -20., 20.);
199 "residual_rms_x_Inner",
"RMS of Track Residuals X Inner Modules;rms(x_rec-x_pred)[#mum]", 100, 0., 200.);
201 "residual_rms_x_Outer",
"RMS of Track Residuals X Outer Modules;rms(x_rec-x_pred)[#mum]", 100, 0., 200.);
203 "residual_rms_y_Inner",
"RMS of Track Residuals Y Inner Modules;rms(y_rec-y_pred)[#mum]", 100, 0., 200.);
205 "residual_rms_y_Outer",
"RMS of Track Residuals Y Outer Modules;rms(y_rec-y_pred)[#mum]", 100, 0., 200.);
207 DRnR_[
"NormRes_mean_x_Inner"] =
208 iBooker.
book1D(
"NormRes_mean_x_Inner",
209 "Mean of Normalized Track Residuals X Inner Modules;mean((x_rec-x_pred)/x_err)",
213 DRnR_[
"NormRes_mean_x_Outer"] =
214 iBooker.
book1D(
"NormRes_mean_x_Outer",
215 "Mean of Normalized Track Residuals X Outer Modules;mean((x_rec-x_pred)/x_err)",
219 DRnR_[
"NormRes_mean_y_Inner"] =
220 iBooker.
book1D(
"NormRes_mean_y_Inner",
221 "Mean of Normalized Track Residuals Y Inner Modules;mean((y_rec-y_pred)/y_err)",
225 DRnR_[
"NormRes_mean_y_Outer"] =
226 iBooker.
book1D(
"NormRes_mean_y_Outer",
227 "Mean of Normalized Track Residuals Y Outer Modules;mean((y_rec-y_pred)/y_err)",
233 "DRnR_x_Inner",
"RMS of Normalized Track Residuals X Inner Modules;rms((x_rec-x_pred)/x_err)", 100, 0., 2.);
235 "DRnR_x_Outer",
"RMS of Normalized Track Residuals X Outer Modules;rms((x_rec-x_pred)/x_err)", 100, 0., 2.);
237 "DRnR_y_Inner",
"RMS of Normalized Track Residuals Y Inner Modules;rms((y_rec-y_pred)/y_err)", 100, 0., 2.);
239 "DRnR_y_Outer",
"RMS of Normalized Track Residuals Y Outer Modules;rms((y_rec-y_pred)/y_err)", 100, 0., 2.);
245 "residual_mean_x_pos",
"Mean of Track Residuals X pos. Side;mean(x_rec-x_pred)[#mum]", 100, -20., 20.);
247 "residual_mean_x_neg",
"Mean of Track Residuals X neg. Side;mean(x_rec-x_pred)[#mum]", 100, -20., 20.);
249 "residual_mean_y_pos",
"Mean of Track Residuals Y pos. Side;mean(y_rec-y_pred)[#mum]", 100, -20., 20.);
251 "residual_mean_y_neg",
"Mean of Track Residuals Y neg. Side;mean(y_rec-y_pred)[#mum]", 100, -20., 20.);
254 iBooker.
book1D(
"residual_rms_x_pos",
"RMS of Track Residuals X pos. Side;rms(x_rec-x_pred)[#mum]", 100, 0., 200.);
256 iBooker.
book1D(
"residual_rms_x_neg",
"RMS of Track Residuals X neg. Side;rms(x_rec-x_pred)[#mum]", 100, 0., 200.);
258 iBooker.
book1D(
"residual_rms_y_pos",
"RMS of Track Residuals Y pos. Side;rms(y_rec-y_pred)[#mum]", 100, 0., 200.);
260 iBooker.
book1D(
"residual_rms_y_neg",
"RMS of Track Residuals Y neg. Side;rms(y_rec-y_pred)[#mum]", 100, 0., 200.);
263 "NormRes_mean_x_pos",
"Mean of Normalized Track Residuals X pos. Side;mean((x_rec-x_pred)/x_err)", 100, -1., 1.);
265 "NormRes_mean_x_neg",
"Mean of Normalized Track Residuals X neg. Side;mean((x_rec-x_pred)/x_err)", 100, -1., 1.);
267 "NormRes_mean_y_pos",
"Mean of Normalized Track Residuals Y pos. Side;mean((y_rec-y_pred)/y_err)", 100, -1., 1.);
269 "NormRes_mean_y_neg",
"Mean of Normalized Track Residuals Y neg. Side;mean((y_rec-y_pred)/y_err)", 100, -1., 1.);
272 "DRnR_x_pos",
"RMS of Normalized Track Residuals X pos. Side;rms((x_rec-x_pred)/x_err)", 100, 0., 2.);
274 "DRnR_x_neg",
"RMS of Normalized Track Residuals X neg. Side;rms((x_rec-x_pred)/x_err)", 100, 0., 2.);
276 "DRnR_y_pos",
"RMS of Normalized Track Residuals Y pos. Side;rms((y_rec-y_pred)/y_err)", 100, 0., 2.);
278 "DRnR_y_neg",
"RMS of Normalized Track Residuals Y neg. Side;rms((y_rec-y_pred)/y_err)", 100, 0., 2.);
virtual void setCurrentFolder(std::string const &fullpath)
MonitorElement * book1D(TString const &name, TString const &title, int const nchX, double const lowX, double const highX, FUNC onbooking=NOOP())
Definition at line 287 of file SiPixelPhase1ResidualsExtra.cc.
References DRnR_, vertexPlots::e4, dqm::implementation::IGetter::get(), dqm::impl::MonitorElement::getBin(), dqm::impl::MonitorElement::getBinContent(), dqm::impl::MonitorElement::getBinEntries(), dqm::impl::MonitorElement::getBinError(), dqm::impl::MonitorElement::getNbinsX(), dqm::impl::MonitorElement::getNbinsY(), mps_fire::i, dqmiolumiharvest::j, nano_mu_digi_cff::layer, minHits_, residuals_, relativeConstraints::ring, dqm::impl::MonitorElement::setBinContent(), dqm::impl::MonitorElement::setBinEntries(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by dqmEndJob().
295 iGetter.
get(
"PixelPhase1/Tracks/PXBarrel/residual_x_per_SignedModule_per_SignedLadder_PXLayer_" +
layer);
297 iGetter.
get(
"PixelPhase1/Tracks/PXBarrel/residual_y_per_SignedModule_per_SignedLadder_PXLayer_" +
layer);
299 "PixelPhase1/Tracks/ResidualsExtra/PXBarrel/DRnR_x_per_SignedModule_per_SignedLadder_PXLayer_" +
layer);
301 "PixelPhase1/Tracks/ResidualsExtra/PXBarrel/DRnR_y_per_SignedModule_per_SignedLadder_PXLayer_" +
layer);
303 if (me_x ==
nullptr || me_y ==
nullptr || me2_x ==
nullptr || me2_y ==
nullptr) {
305 <<
"Residuals plots for Pixel BPIX Layer" <<
layer <<
" not found. Skipping ResidualsExtra plots generation.";
313 if (i <= me_x->getNbinsY() / 2) {
314 bool iAmInner = (
i % 2 == 0);
316 for (
int j : {1, 2, 3, 4, 6, 7, 8, 9}) {
329 for (
int j : {1, 2, 3, 4, 6, 7, 8, 9}) {
343 bool iAmInner = (
i % 2 == 1);
345 for (
int j : {1, 2, 3, 4, 6, 7, 8, 9}) {
358 for (
int j : {1, 2, 3, 4, 6, 7, 8, 9}) {
372 for (
int j : {1, 2, 3, 4, 6, 7, 8, 9}) {
391 iGetter.
get(
"PixelPhase1/Tracks/PXForward/residual_x_per_PXDisk_per_SignedBladePanel_PXRing_" +
ring);
393 iGetter.
get(
"PixelPhase1/Tracks/PXForward/residual_y_per_PXDisk_per_SignedBladePanel_PXRing_" +
ring);
395 "PixelPhase1/Tracks/ResidualsExtra/PXForward/DRnR_x_per_PXDisk_per_SignedBladePanel_PXRing_" +
ring);
397 "PixelPhase1/Tracks/ResidualsExtra/PXForward/DRnR_y_per_PXDisk_per_SignedBladePanel_PXRing_" +
ring);
399 if (me_x ==
nullptr || me_y ==
nullptr || me2_x ==
nullptr || me2_y ==
nullptr) {
401 <<
"Residuals plots for Pixel FPIX Ring" <<
ring <<
" not found. Skipping ResidualsExtra plots generation.";
405 bool posSide =
false;
420 bool iAmInner = (
i % 2 == 0);
virtual double getBinEntries(int bin) const
get # of bin entries (for profiles)
virtual int getNbinsY() const
get # of bins in Y-axis
virtual void setBinEntries(int bin, double nentries)
set # of bin entries (to be used for profiles)
virtual void setBinContent(int binx, double content)
set content of bin (1-D)
virtual MonitorElement * get(std::string const &fullpath) const
virtual int getBin(int binx, int biny) const
get global bin number (for 2-D profiles)
virtual int getNbinsX() const
get # of bins in X-axis
virtual double getBinError(int binx) const
get uncertainty on content of bin (1-D) - See TH1::GetBinError for details
Log< level::Warning, false > LogWarning
virtual double getBinContent(int binx) const
get content of bin (1-D)