CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Classes | Public Types | Public Member Functions | Private Member Functions | Private Attributes
SiStripOfflineDQM Class Reference

#include <SiStripOfflineDQM.h>

Inheritance diagram for SiStripOfflineDQM:
edm::one::EDProducer< edm::one::WatchLuminosityBlocks, edm::one::WatchRuns, edm::EndRunProducer, edm::EndLuminosityBlockProducer, edm::one::SharedResources > edm::one::EDProducerBase edm::ProducerBase edm::EDConsumerBase edm::ProductRegistryHelper

Classes

struct  MapOptions
 

Public Types

typedef dqm::harvesting::DQMStore DQMStore
 
typedef
dqm::harvesting::MonitorElement 
MonitorElement
 
- Public Types inherited from edm::one::EDProducerBase
typedef EDProducerBase ModuleType
 
- Public Types inherited from edm::ProducerBase
using ModuleToResolverIndicies = std::unordered_multimap< std::string, std::tuple< edm::TypeID const *, const char *, edm::ProductResolverIndex >>
 
typedef
ProductRegistryHelper::TypeLabelList 
TypeLabelList
 
- Public Types inherited from edm::EDConsumerBase
typedef ProductLabels Labels
 

Public Member Functions

 SiStripOfflineDQM (edm::ParameterSet const &ps)
 
- Public Member Functions inherited from edm::one::EDProducer< edm::one::WatchLuminosityBlocks, edm::one::WatchRuns, edm::EndRunProducer, edm::EndLuminosityBlockProducer, edm::one::SharedResources >
 EDProducer ()=default
 
 EDProducer (const EDProducer &)=delete
 
SerialTaskQueueglobalLuminosityBlocksQueue () final
 
SerialTaskQueueglobalRunsQueue () 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 EDProduceroperator= (const EDProducer &)=delete
 
bool wantsGlobalLuminosityBlocks () const final
 
bool wantsGlobalRuns () const final
 
bool wantsInputProcessBlocks () const final
 
bool wantsProcessBlocks () const final
 
- Public Member Functions inherited from edm::one::EDProducerBase
 EDProducerBase ()
 
ModuleDescription const & moduleDescription () const
 
bool wantsStreamLuminosityBlocks () const
 
bool wantsStreamRuns () const
 
 ~EDProducerBase () override
 
- Public Member Functions inherited from edm::ProducerBase
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
 
- Public Member Functions inherited from edm::EDConsumerBase
std::vector< ConsumesInfoconsumesInfo () 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
 
EDConsumerBaseoperator= (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)
 

Private Member Functions

void beginJob () override
 
void beginLuminosityBlock (edm::LuminosityBlock const &lumiSeg, edm::EventSetup const &iSetup) override
 
void beginRun (edm::Run const &run, edm::EventSetup const &eSetup) override
 
void checkTrackerFEDs (edm::Event const &e)
 
void endJob () override
 
void endLuminosityBlock (edm::LuminosityBlock const &lumiSeg, edm::EventSetup const &iSetup) override
 
void endLuminosityBlockProduce (edm::LuminosityBlock &, edm::EventSetup const &) override
 
void endRun (edm::Run const &run, edm::EventSetup const &eSetup) override
 
void endRunProduce (edm::Run &, edm::EventSetup const &) override
 
bool openInputFile (DQMStore &dqm_store)
 
void produce (edm::Event &e, edm::EventSetup const &eSetup) override
 

Private Attributes

SiStripActionExecutor actionExecutor_
 
bool createSummary_
 
bool const createTkInfoFile_
 
bool const createTkMap_
 
edm::ESGetToken
< SiStripDetCabling,
SiStripDetCablingRcd
detCablingToken_
 
edm::ESGetToken< GeometricDet,
IdealGeometryRecord
geomDetToken_
 
int globalStatusFilling_
 
std::string const inputFileName_
 
std::string const outputFileName_
 
bool printFaultyModuleList_
 
edm::ESGetToken< RunInfo,
RunInfoRcd
runInfoToken_
 
edm::ESGetToken< TkDetMap,
TrackerTopologyRcd
tkDetMapToken_
 
TTree * tkinfoTree_ {nullptr}
 
std::vector< MapOptionstkMapOptions_
 
bool trackerFEDsFound_
 
edm::ESGetToken
< TrackerTopology,
TrackerTopologyRcd
tTopoToken_
 
bool usedWithEDMtoMEConverter_
 

Additional Inherited Members

- Static Public Member Functions inherited from edm::one::EDProducerBase
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &descriptions)
 
- Protected Member Functions inherited from edm::ProducerBase
ProducesCollector producesCollector ()
 
- Protected Member Functions inherited from edm::EDConsumerBase
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 () noexcept
 
template<Transition Tr = Transition::Event>
auto esConsumes (ESInputTag tag) noexcept
 
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)
 

Detailed Description

DQM/SiStripMonitorCluster/src/SiStripOfflineDQM.cc

Description: <one line="" class="" summary>="">

Implementation: <Notes on="" implementation>="">

DQM/SiStripMonitorCluster/interface/SiStripOfflineDQM.h

Description: DQM class to perform Summary creation Quality Test on a merged Root file after CAF processing Usage: <usage>

Definition at line 49 of file SiStripOfflineDQM.h.

Member Typedef Documentation

Definition at line 56 of file SiStripOfflineDQM.h.

Definition at line 55 of file SiStripOfflineDQM.h.

Constructor & Destructor Documentation

SiStripOfflineDQM::SiStripOfflineDQM ( edm::ParameterSet const &  ps)

Definition at line 49 of file SiStripOfflineDQM.cc.

50  : actionExecutor_{pSet},
51  usedWithEDMtoMEConverter_{pSet.getUntrackedParameter<bool>("UsedWithEDMtoMEConverter", false)},
52  createSummary_{pSet.getUntrackedParameter<bool>("CreateSummary", false)},
53  createTkMap_{pSet.getUntrackedParameter<bool>("CreateTkMap", false)},
54  createTkInfoFile_{pSet.getUntrackedParameter<bool>("CreateTkInfoFile", false)},
55  inputFileName_{pSet.getUntrackedParameter<std::string>("InputFileName", "")},
56  outputFileName_{pSet.getUntrackedParameter<std::string>("OutputFileName", "")},
57  globalStatusFilling_{pSet.getUntrackedParameter<int>("GlobalStatusFilling", 1)},
58  printFaultyModuleList_{pSet.getUntrackedParameter<bool>("PrintFaultyModuleList", false)},
60  ? decltype(detCablingToken_){esConsumes<edm::Transition::EndRun>()}
std::string const inputFileName_
edm::ESGetToken< SiStripDetCabling, SiStripDetCablingRcd > detCablingToken_
bool const createTkInfoFile_
std::string const outputFileName_
SiStripActionExecutor actionExecutor_

Member Function Documentation

void SiStripOfflineDQM::beginJob ( )
overrideprivatevirtual

Reimplemented from edm::one::EDProducerBase.

void SiStripOfflineDQM::beginLuminosityBlock ( edm::LuminosityBlock const &  lumiSeg,
edm::EventSetup const &  iSetup 
)
inlineoverrideprivate

Definition at line 63 of file SiStripOfflineDQM.h.

63 {};
void SiStripOfflineDQM::beginRun ( edm::Run const &  run,
edm::EventSetup const &  eSetup 
)
overrideprivate
void SiStripOfflineDQM::checkTrackerFEDs ( edm::Event const &  e)
private
void SiStripOfflineDQM::endJob ( )
overrideprivatevirtual

Reimplemented from edm::one::EDProducerBase.

void SiStripOfflineDQM::endLuminosityBlock ( edm::LuminosityBlock const &  lumiSeg,
edm::EventSetup const &  iSetup 
)
overrideprivate
void SiStripOfflineDQM::endLuminosityBlockProduce ( edm::LuminosityBlock ,
edm::EventSetup const &   
)
inlineoverrideprivate

Definition at line 66 of file SiStripOfflineDQM.h.

66 {};
void SiStripOfflineDQM::endRun ( edm::Run const &  run,
edm::EventSetup const &  eSetup 
)
overrideprivate
void SiStripOfflineDQM::endRunProduce ( edm::Run ,
edm::EventSetup const &   
)
inlineoverrideprivate

Definition at line 68 of file SiStripOfflineDQM.h.

68 {};
bool SiStripOfflineDQM::openInputFile ( DQMStore dqm_store)
private
void SiStripOfflineDQM::produce ( edm::Event e,
edm::EventSetup const &  eSetup 
)
overrideprivatevirtual

Member Data Documentation

SiStripActionExecutor SiStripOfflineDQM::actionExecutor_
private

Definition at line 74 of file SiStripOfflineDQM.h.

bool SiStripOfflineDQM::createSummary_
private

Definition at line 77 of file SiStripOfflineDQM.h.

bool const SiStripOfflineDQM::createTkInfoFile_
private

Definition at line 78 of file SiStripOfflineDQM.h.

bool const SiStripOfflineDQM::createTkMap_
private

Definition at line 78 of file SiStripOfflineDQM.h.

edm::ESGetToken<SiStripDetCabling, SiStripDetCablingRcd> SiStripOfflineDQM::detCablingToken_
private

Definition at line 85 of file SiStripOfflineDQM.h.

edm::ESGetToken<GeometricDet, IdealGeometryRecord> SiStripOfflineDQM::geomDetToken_
private

Definition at line 88 of file SiStripOfflineDQM.h.

int SiStripOfflineDQM::globalStatusFilling_
private

Definition at line 81 of file SiStripOfflineDQM.h.

std::string const SiStripOfflineDQM::inputFileName_
private

Definition at line 79 of file SiStripOfflineDQM.h.

std::string const SiStripOfflineDQM::outputFileName_
private

Definition at line 80 of file SiStripOfflineDQM.h.

bool SiStripOfflineDQM::printFaultyModuleList_
private

Definition at line 83 of file SiStripOfflineDQM.h.

edm::ESGetToken<RunInfo, RunInfoRcd> SiStripOfflineDQM::runInfoToken_
private

Definition at line 89 of file SiStripOfflineDQM.h.

edm::ESGetToken<TkDetMap, TrackerTopologyRcd> SiStripOfflineDQM::tkDetMapToken_
private

Definition at line 87 of file SiStripOfflineDQM.h.

TTree* SiStripOfflineDQM::tkinfoTree_ {nullptr}
private

Definition at line 84 of file SiStripOfflineDQM.h.

std::vector<MapOptions> SiStripOfflineDQM::tkMapOptions_
private

Definition at line 103 of file SiStripOfflineDQM.h.

bool SiStripOfflineDQM::trackerFEDsFound_
private

Definition at line 82 of file SiStripOfflineDQM.h.

edm::ESGetToken<TrackerTopology, TrackerTopologyRcd> SiStripOfflineDQM::tTopoToken_
private

Definition at line 86 of file SiStripOfflineDQM.h.

bool SiStripOfflineDQM::usedWithEDMtoMEConverter_
private

Definition at line 76 of file SiStripOfflineDQM.h.