|
| L1TPUM (const edm::ParameterSet &ps) |
|
| ~L1TPUM () override |
|
void | accumulate (edm::Event const &ev, edm::EventSetup const &es) final |
|
virtual void | analyze (edm::Event const &, edm::EventSetup const &) |
|
void | beginLuminosityBlock (edm::LuminosityBlock const &lumi, edm::EventSetup const &setup) override |
|
void | beginRun (edm::Run const &run, edm::EventSetup const &setup) final |
|
virtual void | bookHistograms (DQMStore::IBooker &i, edm::Run const &, edm::EventSetup const &)=0 |
|
virtual void | dqmBeginRun (edm::Run const &, edm::EventSetup const &) |
|
| DQMEDAnalyzer () |
|
| DQMEDAnalyzer (DQMEDAnalyzer const &)=delete |
|
| DQMEDAnalyzer (DQMEDAnalyzer &&)=delete |
|
void | endLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) override |
|
void | endLuminosityBlockProduce (edm::LuminosityBlock &lumi, edm::EventSetup const &setup) final |
|
void | endRun (edm::Run const &run, edm::EventSetup const &setup) override |
|
void | endRunProduce (edm::Run &run, edm::EventSetup const &setup) override |
|
| ~DQMEDAnalyzer () 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 () 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 |
|
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) |
|
virtual | ~EDConsumerBase () noexcept(false) |
|
|
void | analyze (const edm::Event &e, const edm::EventSetup &c) override |
|
void | beginLuminosityBlock (const edm::LuminosityBlock &, const edm::EventSetup &) override |
|
void | bookHistograms (DQMStore::IBooker &ibooker, const edm::Run &, const edm::EventSetup &) override |
|
void | dqmBeginRun (const edm::Run &, const edm::EventSetup &) 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 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 25 of file L1TPUM.h.
Definition at line 44 of file L1TPUM.cc.
References conversionPostprocessing_cfi::etaBin, MonitorElement::Fill(), HcalObjRepresent::Fill(), nonZeroRegionsBx0_, nonZeroRegionsBxM2_, nonZeroRegionsBxP2_, regionBxEtSum_, regionBxPopulation_, regionsAvgEtBx0_, regionsAvgEtBxM2_, regionsAvgEtBxP2_, regionsAvgNonZeroEtBx0_, regionsAvgNonZeroEtBxM2_, regionsAvgNonZeroEtBxP2_, regionSource_, regionsPUMEtaBx0_, regionsPUMEtaBxM2_, regionsPUMEtaBxP2_, regionsTotalEtBx0_, regionsTotalEtBxM2_, and regionsTotalEtBxP2_.
49 int nonzeroRegionsBxP2{0};
50 int nonzeroRegionsBx0{0};
51 int nonzeroRegionsBxM2{0};
53 float regionsTotalEtBxP2{0.};
54 float regionsTotalEtBx0{0.};
55 float regionsTotalEtBxM2{0.};
57 for (
const auto& region : *regionCollection) {
58 if ( region.et() > 0 ) {
59 if ( region.bx() == 0 ) {
61 regionsTotalEtBx0 += region.et();
63 else if ( region.bx() == 2 ) {
65 regionsTotalEtBxP2 += region.et();
67 else if ( region.bx() == -2 ) {
69 regionsTotalEtBxM2 += region.et();
90 for (
const auto& region : *regionCollection) {
91 size_t etaBin = region.gctEta();
94 if ( region.bx() == 0 )
96 else if ( region.bx() == 2 )
98 else if ( region.bx() == -2 )
MonitorElement * regionsTotalEtBxP2_
MonitorElement * regionsAvgNonZeroEtBxM2_
MonitorElement * regionsAvgEtBxM2_
edm::EDGetTokenT< L1CaloRegionCollection > regionSource_
MonitorElement * regionsAvgEtBxP2_
std::vector< MonitorElement * > regionsPUMEtaBxP2_
MonitorElement * nonZeroRegionsBxM2_
MonitorElement * regionBxPopulation_
MonitorElement * nonZeroRegionsBx0_
void Fill(HcalDetId &id, double val, std::vector< TH2F > &depth)
MonitorElement * nonZeroRegionsBxP2_
MonitorElement * regionsAvgNonZeroEtBxP2_
std::vector< MonitorElement * > regionsPUMEtaBxM2_
std::vector< MonitorElement * > regionsPUMEtaBx0_
MonitorElement * regionsAvgEtBx0_
MonitorElement * regionsTotalEtBx0_
MonitorElement * regionsAvgNonZeroEtBx0_
MonitorElement * regionsTotalEtBxM2_
MonitorElement * regionBxEtSum_
Definition at line 103 of file L1TPUM.cc.
References DQMStore::IBooker::book1D(), DQMStore::IBooker::book2D(), histFolder_, nonZeroRegionsBx0_, nonZeroRegionsBxM2_, nonZeroRegionsBxP2_, R10BINS, R10MAX, R10MIN, regionBxEtSum_, regionBxPopulation_, regionsAvgEtBx0_, regionsAvgEtBxM2_, regionsAvgEtBxP2_, regionsAvgNonZeroEtBx0_, regionsAvgNonZeroEtBxM2_, regionsAvgNonZeroEtBxP2_, regionsPUMEtaBx0_, regionsPUMEtaBxM2_, regionsPUMEtaBxP2_, regionsTotalEtBx0_, regionsTotalEtBxM2_, regionsTotalEtBxP2_, and DQMStore::IBooker::setCurrentFolder().
107 for (
size_t ieta=0; ieta<PUMETABINS; ++ieta) {
111 nonZeroRegionsBx0_ = ibooker.
book1D(
"nonZeroRegions",
"Nonzero regions;Number Regions >0;Counts", 397, -0.5, 396.5);
117 for (
size_t ieta=0; ieta<PUMETABINS; ++ieta) {
127 for (
size_t ieta=0; ieta<PUMETABINS; ++ieta) {
136 regionBxPopulation_ = ibooker.
book2D(
"regionBxPopulation",
"Event counts per region per bunch crossing;Region index (18*eta+phi);BX index;Counts", 396, -0.5, 395.5, 5, -2.5, 2.5);
137 regionBxEtSum_ = ibooker.
book2D(
"regionBxEtSum",
"Et per region per bunch crossing;Region index (18*eta+phi);BX index;Counts*et", 396, -0.5, 395.5, 5, -2.5, 2.5);
MonitorElement * regionsTotalEtBxP2_
MonitorElement * regionsAvgNonZeroEtBxM2_
MonitorElement * regionsAvgEtBxM2_
const unsigned int R10BINS
MonitorElement * regionsAvgEtBxP2_
std::vector< MonitorElement * > regionsPUMEtaBxP2_
MonitorElement * nonZeroRegionsBxM2_
MonitorElement * regionBxPopulation_
MonitorElement * nonZeroRegionsBx0_
MonitorElement * book1D(Args &&...args)
MonitorElement * nonZeroRegionsBxP2_
MonitorElement * regionsAvgNonZeroEtBxP2_
std::vector< MonitorElement * > regionsPUMEtaBxM2_
void setCurrentFolder(const std::string &fullpath)
MonitorElement * book2D(Args &&...args)
std::vector< MonitorElement * > regionsPUMEtaBx0_
MonitorElement * regionsAvgEtBx0_
MonitorElement * regionsTotalEtBx0_
MonitorElement * regionsAvgNonZeroEtBx0_
MonitorElement * regionsTotalEtBxM2_
MonitorElement * regionBxEtSum_