|
void | bookHistograms (DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override |
|
| ZDCDigiStudy (const edm::ParameterSet &ps) |
|
| ~ZDCDigiStudy () override=default |
|
void | accumulate (edm::Event const &event, edm::EventSetup const &setup) override |
|
void | beginRun (edm::Run const &run, edm::EventSetup const &setup) final |
|
| DQMOneEDAnalyzer () |
|
void | endRun (edm::Run const &, edm::EventSetup const &) final |
|
void | endRunProduce (edm::Run &run, edm::EventSetup const &setup) final |
|
virtual bool | getCanSaveByLumi () |
|
| 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 |
|
ESProxyIndex const * | esGetTokenIndices (edm::Transition iTrans) const |
|
std::vector< ESProxyIndex > 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 |
|
bool | registeredToConsumeMany (TypeID const &, 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::ESRecordsToProxyIndices const &) |
|
virtual | ~EDConsumerBase () noexcept(false) |
|
|
void | analyze (const edm::Event &e, const edm::EventSetup &c) override |
|
void | dqmEndRun (const edm::Run &run, const edm::EventSetup &c) override |
|
int | FillHitValHist (int side, int section, int channel, double energy, double time) |
|
virtual void | dqmBeginRun (edm::Run const &, edm::EventSetup const &) |
|
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 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<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) |
|
Definition at line 44 of file ZDCDigiStudy.h.
Reimplemented from DQMOneEDAnalyzer<>.
Definition at line 190 of file ZDCDigiStudy.cc.
References HcalQIESample::adc(), edm::SortedCollection< T, SORT >::begin(), HcalZDCDetId::channel(), edm::SortedCollection< T, SORT >::end(), dqm::impl::MonitorElement::Fill(), mps_fire::i, ZDCDataFrame::id(), iEvent, edm::HandleBase::isValid(), meZdcfCNEMvHAD, meZdcfCNHAD, meZdcfCNTOT, meZdcfCPEMvHAD, meZdcfCPHAD, meZdcfCPTOT, meZdcNEM1fCvsTS, meZdcNEM2fCvsTS, meZdcNEM3fCvsTS, meZdcNEM4fCvsTS, meZdcNEM5fCvsTS, meZdcNHAD1fCvsTS, meZdcNHAD2fCvsTS, meZdcNHAD3fCvsTS, meZdcNHAD4fCvsTS, meZdcPEM1fCvsTS, meZdcPEM2fCvsTS, meZdcPEM3fCvsTS, meZdcPEM4fCvsTS, meZdcPEM5fCvsTS, meZdcPHAD1fCvsTS, meZdcPHAD2fCvsTS, meZdcPHAD3fCvsTS, meZdcPHAD4fCvsTS, HcalQIESample::nominal_fC(), ZDCDataFrame::sample(), HcalZDCDetId::section(), ZDCDataFrame::size(), tok_zdc_, hcalSimParameters_cfi::zdc, and HcalZDCDetId::zside().
194 bool gotZDCDigis =
true;
204 double totalPHADCharge = 0;
205 double totalNHADCharge = 0;
206 double totalPEMCharge = 0;
207 double totalNEMCharge = 0;
208 double totalPCharge = 0;
209 double totalNCharge = 0;
212 if (gotZDCDigis ==
true) {
222 for (
int i = 0;
i < digi.
size(); ++
i)
245 if (
i == 4 ||
i == 5 ||
i == 6)
249 for (
int i = 0;
i < digi.
size(); ++
i) {
270 if (
i == 4 ||
i == 5 ||
i == 6)
279 for (
int i = 0;
i < digi.
size(); ++
i) {
305 if (
i == 4 ||
i == 5 ||
i == 6)
309 for (
int i = 0;
i < digi.
size(); ++
i) {
335 if (
i == 4 ||
i == 5 ||
i == 6)
341 totalPCharge = totalPHADCharge + (0.1) * totalPEMCharge;
342 totalNCharge = totalNHADCharge + (0.1) * totalNEMCharge;
346 for (
int i = 0;
i < digi.
size(); ++
i)
Log< level::Info, true > LogVerbatim
const HcalQIESample & sample(int i) const
access a sample
Section section() const
get the section
constexpr double nominal_fC() const
get the nominal FC (no calibrations applied)
std::vector< T >::const_iterator const_iterator
MonitorElement * meZdcfCPTOT
MonitorElement * meZdcPEM1fCvsTS
MonitorElement * meZdcfCPEMvHAD
MonitorElement * meZdcPHAD2fCvsTS
MonitorElement * meZdcfCNTOT
MonitorElement * meZdcPHAD3fCvsTS
MonitorElement * meZdcfCPHAD
MonitorElement * meZdcNHAD2fCvsTS
MonitorElement * meZdcPEM3fCvsTS
MonitorElement * meZdcNHAD3fCvsTS
MonitorElement * meZdcPEM2fCvsTS
MonitorElement * meZdcNEM2fCvsTS
MonitorElement * meZdcNEM4fCvsTS
MonitorElement * meZdcNEM3fCvsTS
const_iterator begin() const
const HcalZDCDetId & id() const
MonitorElement * meZdcPHAD1fCvsTS
int size() const
total number of samples in the digi
const_iterator end() const
MonitorElement * meZdcNHAD4fCvsTS
MonitorElement * meZdcNHAD1fCvsTS
const edm::EDGetTokenT< ZDCDigiCollection > tok_zdc_
MonitorElement * meZdcfCNHAD
constexpr int adc() const
get the ADC sample
MonitorElement * meZdcfCNEMvHAD
MonitorElement * meZdcPHAD4fCvsTS
MonitorElement * meZdcPEM4fCvsTS
MonitorElement * meZdcPEM5fCvsTS
MonitorElement * meZdcNEM1fCvsTS
int zside() const
get the z-side of the cell (1/-1)
int channel() const
get the channel
MonitorElement * meZdcNEM5fCvsTS
Implements DQMOneEDAnalyzer<>.
Definition at line 37 of file ZDCDigiStudy.cc.
References checkHit_, cuy::ib, meZdcfCNEMvHAD, meZdcfCNHAD, meZdcfCNTOT, meZdcfCPEMvHAD, meZdcfCPHAD, meZdcfCPTOT, meZdcNEM1fCvsTS, meZdcNEM2fCvsTS, meZdcNEM3fCvsTS, meZdcNEM4fCvsTS, meZdcNEM5fCvsTS, meZdcNHAD1fCvsTS, meZdcNHAD2fCvsTS, meZdcNHAD3fCvsTS, meZdcNHAD4fCvsTS, meZdcPEM1fCvsTS, meZdcPEM2fCvsTS, meZdcPEM3fCvsTS, meZdcPEM4fCvsTS, meZdcPEM5fCvsTS, meZdcPHAD1fCvsTS, meZdcPHAD2fCvsTS, meZdcPHAD3fCvsTS, meZdcPHAD4fCvsTS, dqm::impl::MonitorElement::setAxisTitle(), and dqm::impl::MonitorElement::setOption().
38 ib.setCurrentFolder(
"ZDCDigiValidation");
40 ib.setScope(MonitorElementData::Scope::RUN);
54 ib.setCurrentFolder(
"ZDCDigiValidation/ZDC_Digis/1D_fC");
55 meZdcfCPHAD =
ib.book1D(
"PHAD_TotalfC",
"PZDC_HAD_TotalfC", 1000, -50, 10000);
59 meZdcfCPTOT =
ib.book1D(
"PZDC_TotalfC",
"PZDC_TotalfC", 1000, -50, 20000);
63 meZdcfCNHAD =
ib.book1D(
"NHAD_TotalfC",
"NZDC_HAD_TotalfC", 1000, -50, 10000);
67 meZdcfCNTOT =
ib.book1D(
"NZDC_TotalfC",
"NZDC_TotalfC", 1000, -50, 20000);
73 ib.setCurrentFolder(
"ZDCDigiValidation/ZDC_Digis/fCvsTS/PZDC");
120 ib.setCurrentFolder(
"ZDCDigiValidation/ZDC_Digis/fCvsTS/NZDC");
169 ib.setCurrentFolder(
"ZDCDigiValidation/ZDC_Digis/2D_EMvHAD");
172 meZdcfCPEMvHAD =
ib.book2D(
"PEMvPHAD",
"PZDC_EMvHAD", 200, -25, 12000, 200, -25, 15000);
177 meZdcfCNEMvHAD =
ib.book2D(
"NEMvNHAD",
"NZDC_EMvHAD", 1000, -25, 12000, 1000, -25, 15000);
virtual void setOption(const char *option)
MonitorElement * meZdcfCPTOT
MonitorElement * meZdcPEM1fCvsTS
MonitorElement * meZdcfCPEMvHAD
MonitorElement * meZdcPHAD2fCvsTS
MonitorElement * meZdcfCNTOT
MonitorElement * meZdcPHAD3fCvsTS
MonitorElement * meZdcfCPHAD
MonitorElement * meZdcNHAD2fCvsTS
MonitorElement * meZdcPEM3fCvsTS
MonitorElement * meZdcNHAD3fCvsTS
MonitorElement * meZdcPEM2fCvsTS
MonitorElement * meZdcNEM2fCvsTS
MonitorElement * meZdcNEM4fCvsTS
MonitorElement * meZdcNEM3fCvsTS
MonitorElement * meZdcPHAD1fCvsTS
MonitorElement * meZdcNHAD4fCvsTS
MonitorElement * meZdcNHAD1fCvsTS
MonitorElement * meZdcfCNHAD
MonitorElement * meZdcfCNEMvHAD
MonitorElement * meZdcPHAD4fCvsTS
MonitorElement * meZdcPEM4fCvsTS
MonitorElement * meZdcPEM5fCvsTS
MonitorElement * meZdcNEM1fCvsTS
MonitorElement * meZdcNEM5fCvsTS
virtual void setAxisTitle(const std::string &title, int axis=1)
set x-, y- or z-axis title (axis=1, 2, 3 respectively)