#include <myTKAnalyses/DigiInvestigator/src/OccupancyPlots.cc>
Public Member Functions | |
OccupancyPlots (const edm::ParameterSet &) | |
~OccupancyPlots () override | |
Public Member Functions inherited from edm::EDAnalyzer | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
EDAnalyzer () | |
ModuleDescription const & | moduleDescription () const |
std::string | workerType () const |
~EDAnalyzer () override | |
Public Member Functions inherited from edm::EDConsumerBase | |
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 |
void | updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet) |
virtual | ~EDConsumerBase () noexcept(false) |
Private Member Functions | |
void | analyze (const edm::Event &, const edm::EventSetup &) override |
void | beginJob () override |
void | beginRun (const edm::Run &, const edm::EventSetup &) override |
void | endJob () override |
void | endRun (const edm::Run &, const edm::EventSetup &) override |
Private Attributes | |
TProfile ** | m_avemultiplicity |
TProfile ** | m_aveoccupancy |
TProfile ** | m_averadius |
TProfile ** | m_avex |
TProfile ** | m_avey |
TProfile ** | m_avez |
edm::FileInPath | m_fp |
std::vector< edm::EDGetTokenT< std::map< unsigned int, int > > > | m_multiplicityMapTokens |
TH1F ** | m_nchannels_ideal |
TH1F ** | m_nchannels_real |
std::vector< edm::EDGetTokenT< std::map< unsigned int, int > > > | m_occupancyMapTokens |
RunHistogramManager | m_rhm |
std::map< unsigned int, DetIdSelector > | m_wantedsubdets |
TProfile ** | m_xavedr |
TProfile ** | m_xavedrphi |
TProfile ** | m_xavedz |
TProfile ** | m_yavedr |
TProfile ** | m_yavedrphi |
TProfile ** | m_yavedz |
TProfile ** | m_zavedr |
TProfile ** | m_zavedrphi |
TProfile ** | m_zavedz |
Additional Inherited Members | |
Public Types inherited from edm::EDAnalyzer | |
typedef EDAnalyzer | ModuleType |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from edm::EDAnalyzer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &) |
Protected Member Functions inherited from edm::EDConsumerBase | |
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) |
Description: <one line="" class="" summary>="">
Implementation: <Notes on="" implementation>="">
Definition at line 67 of file OccupancyPlots.cc.
|
explicit |
Definition at line 123 of file OccupancyPlots.cc.
References edm::EDConsumerBase::consumesCollector(), m_avemultiplicity, m_aveoccupancy, m_averadius, m_avex, m_avey, m_avez, m_fp, m_nchannels_ideal, m_nchannels_real, m_occupancyMapTokens, m_rhm, m_wantedsubdets, m_xavedr, m_xavedrphi, m_xavedz, m_yavedr, m_yavedrphi, m_yavedz, m_zavedr, m_zavedrphi, m_zavedz, RunHistogramManager::makeTH1F(), RunHistogramManager::makeTProfile(), GlobalPosition_Frontier_DevDB_cff::tag, and edm::vector_transform().
|
override |
Definition at line 166 of file OccupancyPlots.cc.
|
overrideprivate |
Definition at line 181 of file OccupancyPlots.cc.
References edm::Event::getByToken(), m_avemultiplicity, m_aveoccupancy, m_multiplicityMapTokens, and m_occupancyMapTokens.
|
overrideprivatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 213 of file OccupancyPlots.cc.
|
overrideprivate |
Definition at line 219 of file OccupancyPlots.cc.
References RunHistogramManager::beginRun(), and m_rhm.
|
overrideprivatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 374 of file OccupancyPlots.cc.
References DEFINE_FWK_MODULE.
|
overrideprivate |
Definition at line 226 of file OccupancyPlots.cc.
References TrackerGeometry::detUnitIds(), PVValHelper::dx, PVValHelper::dy, PVValHelper::dz, edm::FileInPath::fullPath(), edm::EventSetup::get(), SiPixelDetInfoFileReader::getAllDetIds(), SiStripDetInfoFileReader::getAllDetIds(), SiStripDetInfoFileReader::getNumberOfApvsAndStripLength(), TrackerGeometry::idToDet(), SiPixelQuality::IsModuleBad(), SiStripQuality::IsStripBad(), TrackerGeometry::isThere(), LogDebug, LogTrace, m_averadius, m_avex, m_avey, m_avez, m_fp, m_nchannels_ideal, m_nchannels_real, m_wantedsubdets, m_xavedr, m_xavedrphi, m_xavedz, m_yavedr, m_yavedrphi, m_yavedz, m_zavedr, m_zavedrphi, m_zavedz, Utilities::operator, GeomDetEnumerators::P1PXB, GeomDetEnumerators::P1PXEC, GeomDetEnumerators::P2OTB, GeomDetEnumerators::P2OTEC, GeomDetEnumerators::P2PXB, GeomDetEnumerators::P2PXEC, PV3DBase< T, PVType, FrameType >::perp(), GeomDetEnumerators::PixelBarrel, GeomDetEnumerators::PixelEndcap, position, jets_cff::quality, matplotRender::reader, triggerObjects_cff::sel, digi_MixPreMix_cfi::strip, GeomDetEnumerators::TEC, GeomDetEnumerators::TIB, GeomDetEnumerators::TID, GeomDetEnumerators::TOB, GeomDet::toGlobal(), DetId::Tracker, PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
|
private |
Definition at line 89 of file OccupancyPlots.cc.
Referenced by analyze(), and OccupancyPlots().
|
private |
Definition at line 90 of file OccupancyPlots.cc.
Referenced by analyze(), and OccupancyPlots().
|
private |
Definition at line 95 of file OccupancyPlots.cc.
Referenced by endRun(), and OccupancyPlots().
|
private |
Definition at line 97 of file OccupancyPlots.cc.
Referenced by endRun(), and OccupancyPlots().
|
private |
Definition at line 98 of file OccupancyPlots.cc.
Referenced by endRun(), and OccupancyPlots().
|
private |
Definition at line 96 of file OccupancyPlots.cc.
Referenced by endRun(), and OccupancyPlots().
|
private |
Definition at line 84 of file OccupancyPlots.cc.
Referenced by endRun(), and OccupancyPlots().
|
private |
Definition at line 82 of file OccupancyPlots.cc.
Referenced by analyze().
|
private |
Definition at line 92 of file OccupancyPlots.cc.
Referenced by endRun(), and OccupancyPlots().
|
private |
Definition at line 93 of file OccupancyPlots.cc.
Referenced by endRun(), and OccupancyPlots().
|
private |
Definition at line 83 of file OccupancyPlots.cc.
Referenced by analyze(), and OccupancyPlots().
|
private |
Definition at line 86 of file OccupancyPlots.cc.
Referenced by beginRun(), and OccupancyPlots().
|
private |
Definition at line 87 of file OccupancyPlots.cc.
Referenced by endRun(), and OccupancyPlots().
|
private |
Definition at line 105 of file OccupancyPlots.cc.
Referenced by endRun(), and OccupancyPlots().
|
private |
Definition at line 107 of file OccupancyPlots.cc.
Referenced by endRun(), and OccupancyPlots().
|
private |
Definition at line 106 of file OccupancyPlots.cc.
Referenced by endRun(), and OccupancyPlots().
|
private |
Definition at line 102 of file OccupancyPlots.cc.
Referenced by endRun(), and OccupancyPlots().
|
private |
Definition at line 104 of file OccupancyPlots.cc.
Referenced by endRun(), and OccupancyPlots().
|
private |
Definition at line 103 of file OccupancyPlots.cc.
Referenced by endRun(), and OccupancyPlots().
|
private |
Definition at line 99 of file OccupancyPlots.cc.
Referenced by endRun(), and OccupancyPlots().
|
private |
Definition at line 101 of file OccupancyPlots.cc.
Referenced by endRun(), and OccupancyPlots().
|
private |
Definition at line 100 of file OccupancyPlots.cc.
Referenced by endRun(), and OccupancyPlots().