CMS 3D CMS Logo

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
template<typename T >
using BranchAliasSetterT = ProductRegistryHelper::BranchAliasSetterT< T >
 
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
 
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
 
- 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, SiStripDetCablingRcddetCablingToken_
 
edm::ESGetToken< GeometricDet, IdealGeometryRecordgeomDetToken_
 
int globalStatusFilling_
 
std::string const inputFileName_
 
std::string const outputFileName_
 
bool printFaultyModuleList_
 
edm::ESGetToken< RunInfo, RunInfoRcdrunInfoToken_
 
edm::ESGetToken< TkDetMap, TrackerTopologyRcdtkDetMapToken_
 
TTree * tkinfoTree_ {nullptr}
 
std::vector< MapOptionstkMapOptions_
 
bool trackerFEDsFound_
 
edm::ESGetToken< TrackerTopology, TrackerTopologyRcdtTopoToken_
 
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
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 ()
 
- 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< Bconsumes (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)
 

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

◆ DQMStore

Definition at line 56 of file SiStripOfflineDQM.h.

◆ MonitorElement

Definition at line 55 of file SiStripOfflineDQM.h.

Constructor & Destructor Documentation

◆ SiStripOfflineDQM()

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>()}
61  : decltype(detCablingToken_){}},
63  ? decltype(tTopoToken_){esConsumes<edm::Transition::EndRun>()}
64  : decltype(tTopoToken_){}},
66  ? decltype(tkDetMapToken_){esConsumes<edm::Transition::EndRun>()}
67  : decltype(tkDetMapToken_){}},
68  geomDetToken_{createTkMap_ && createTkInfoFile_ ? decltype(geomDetToken_){esConsumes<edm::Transition::EndRun>()}
69  : decltype(geomDetToken_){}},
70  runInfoToken_{esConsumes<edm::Transition::BeginRun>()} {
71  if (createTkMap_) {
73  for (const auto& ps : pSet.getUntrackedParameter<std::vector<edm::ParameterSet>>("TkMapOptions")) {
74  edm::ParameterSet tkMapPSet = ps;
75  const auto map_type = ps.getUntrackedParameter<std::string>("mapName", "");
76  tkMapPSet.augment(pSet.getUntrackedParameter<edm::ParameterSet>("TkmapParameters"));
77  const bool useSSQ = tkMapPSet.getUntrackedParameter<bool>("useSSQuality", false);
78  auto token = useSSQ ? QualityToken{esConsumes<edm::Transition::EndRun>(
79  edm::ESInputTag{"", tkMapPSet.getUntrackedParameter<std::string>("ssqLabel", "")})}
80  : QualityToken{};
81  tkMapOptions_.emplace_back(map_type, std::move(tkMapPSet), useSSQ, std::move(token));
82  }
83  }
84 
85  if (createTkInfoFile_) {
86  tkinfoTree_ = edm::Service<TFileService> { } -> make<TTree>("TkDetIdInfo", ""); }
87 
88  // explicit dependency to make sure the QTest reults needed here are present
89  // already in endRun.
90  consumes<DQMToken, edm::InRun>(edm::InputTag("siStripQTester", "DQMGenerationQTestRun"));
91  consumes<DQMToken, edm::InLumi>(edm::InputTag("siStripQTester", "DQMGenerationQTestLumi"));
92  usesResource("DQMStore");
93  produces<DQMToken, edm::Transition::EndRun>("DQMGenerationSiStripAnalyserRun");
94  produces<DQMToken, edm::Transition::EndLuminosityBlock>("DQMGenerationSiStripAnalyserLumi");
95 }
std::string const inputFileName_
std::vector< MapOptions > tkMapOptions_
edm::ESGetToken< SiStripDetCabling, SiStripDetCablingRcd > detCablingToken_
void augment(ParameterSet const &from)
T getUntrackedParameter(std::string const &, T const &) const
bool const createTkInfoFile_
edm::ESGetToken< TkDetMap, TrackerTopologyRcd > tkDetMapToken_
edm::ESGetToken< RunInfo, RunInfoRcd > runInfoToken_
std::string const outputFileName_
SiStripActionExecutor actionExecutor_
edm::ESGetToken< TrackerTopology, TrackerTopologyRcd > tTopoToken_
edm::ESGetToken< GeometricDet, IdealGeometryRecord > geomDetToken_
def move(src, dest)
Definition: eostools.py:511

Member Function Documentation

◆ beginJob()

void SiStripOfflineDQM::beginJob ( void  )
overrideprivatevirtual

Reimplemented from edm::one::EDProducerBase.

Definition at line 97 of file SiStripOfflineDQM.cc.

References actionExecutor_, createSummary_, and SiStripActionExecutor::readConfiguration().

97  {
98  // Essential: reads xml file to get the histogram names to create summary
99  // Read the summary configuration file
100  if (createSummary_) {
102  edm::LogInfo("ReadConfigurationProblem") << "SiStripOfflineDQM:: Error to read configuration file!! Summary "
103  "will not be produced!!!";
104  createSummary_ = false;
105  }
106  }
107  edm::LogInfo("BeginJobDone") << "SiStripOfflineDQM::beginJob done";
108 }
Log< level::Info, false > LogInfo
SiStripActionExecutor actionExecutor_

◆ beginLuminosityBlock()

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

Definition at line 63 of file SiStripOfflineDQM.h.

63 {};

◆ beginRun()

void SiStripOfflineDQM::beginRun ( edm::Run const &  run,
edm::EventSetup const &  eSetup 
)
overrideprivate

Definition at line 110 of file SiStripOfflineDQM.cc.

References actionExecutor_, SiStripActionExecutor::createStatus(), createSummary_, edm::EventSetup::getHandle(), globalStatusFilling_, FEDNumbering::MAXSiStripFEDID, FEDNumbering::MINSiStripFEDID, openInputFile(), runInfoToken_, trackerFEDsFound_, edm::EventSetup::tryToGet(), and usedWithEDMtoMEConverter_.

110  {
111  edm::LogInfo("BeginRun") << "SiStripOfflineDQM:: Begining of Run";
112 
113  int nFEDs = 0;
114  if (eSetup.tryToGet<RunInfoRcd>()) {
115  if (auto sumFED = eSetup.getHandle(runInfoToken_)) {
116  constexpr int siStripFedIdMin{FEDNumbering::MINSiStripFEDID};
117  constexpr int siStripFedIdMax{FEDNumbering::MAXSiStripFEDID};
118 
119  for (auto const fedID : sumFED->m_fed_in) {
120  if (fedID >= siStripFedIdMin && fedID <= siStripFedIdMax)
121  ++nFEDs;
122  }
123  }
124  }
125  auto& dqm_store = *edm::Service<DQMStore>{};
126  trackerFEDsFound_ = (nFEDs > 0);
128  if (!openInputFile(dqm_store))
129  createSummary_ = false;
130  }
131  if (globalStatusFilling_ > 0) {
132  actionExecutor_.createStatus(dqm_store);
133  }
134 }
bool openInputFile(DQMStore &dqm_store)
edm::ESGetToken< RunInfo, RunInfoRcd > runInfoToken_
Log< level::Info, false > LogInfo
void createStatus(DQMStore &dqm_store)
SiStripActionExecutor actionExecutor_

◆ checkTrackerFEDs()

void SiStripOfflineDQM::checkTrackerFEDs ( edm::Event const &  e)
private

◆ endJob()

void SiStripOfflineDQM::endJob ( void  )
overrideprivatevirtual

Reimplemented from edm::one::EDProducerBase.

Definition at line 189 of file SiStripOfflineDQM.cc.

References actionExecutor_, gather_cfg::cout, SiStripActionExecutor::printFaultyModuleList(), printFaultyModuleList_, and usedWithEDMtoMEConverter_.

189  {
190  edm::LogInfo("EndOfJob") << "SiStripOfflineDQM::endJob";
192  return;
193 
195  std::ostringstream str_val;
196  auto& dqm_store = *edm::Service<DQMStore>{};
197  actionExecutor_.printFaultyModuleList(dqm_store, str_val);
198  std::cout << str_val.str() << std::endl;
199  }
200 }
Log< level::Info, false > LogInfo
void printFaultyModuleList(DQMStore &dqm_store, std::ostringstream &str_val)
SiStripActionExecutor actionExecutor_

◆ endLuminosityBlock()

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

Definition at line 138 of file SiStripOfflineDQM.cc.

References actionExecutor_, SiStripActionExecutor::fillStatusAtLumi(), globalStatusFilling_, and trackerFEDsFound_.

138  {
139  edm::LogInfo("EndLumiBlock") << "SiStripOfflineDQM::endLuminosityBlock";
140  if (trackerFEDsFound_) {
141  if (globalStatusFilling_ > 0) {
142  auto& dqm_store = *edm::Service<DQMStore>{};
144  }
145  }
146 }
void fillStatusAtLumi(DQMStore &dqm_store)
Log< level::Info, false > LogInfo
SiStripActionExecutor actionExecutor_

◆ endLuminosityBlockProduce()

void SiStripOfflineDQM::endLuminosityBlockProduce ( edm::LuminosityBlock ,
edm::EventSetup const &   
)
inlineoverrideprivate

Definition at line 66 of file SiStripOfflineDQM.h.

66 {};

◆ endRun()

void SiStripOfflineDQM::endRun ( edm::Run const &  run,
edm::EventSetup const &  eSetup 
)
overrideprivate

Definition at line 148 of file SiStripOfflineDQM.cc.

References actionExecutor_, SiStripActionExecutor::createOfflineTkMap(), SiStripActionExecutor::createStatus(), createSummary_, SiStripActionExecutor::createSummaryOffline(), SiStripActionExecutor::createTkInfoFile(), createTkInfoFile_, createTkMap_, detCablingToken_, SiStripActionExecutor::fillDummyStatus(), SiStripActionExecutor::fillStatus(), geomDetToken_, edm::EventSetup::getData(), globalStatusFilling_, SiStripActionExecutor::readTkMapConfiguration(), AlCaHLTBitMon_QueryRunRegistry::string, tkDetMapToken_, tkinfoTree_, tkMapOptions_, trackerFEDsFound_, tTopoToken_, and usedWithEDMtoMEConverter_.

148  {
149  edm::LogInfo("EndOfRun") << "SiStripOfflineDQM::endRun";
150 
151  auto& dqm_store = *edm::Service<DQMStore>{};
152  if (globalStatusFilling_ > 0) {
153  actionExecutor_.createStatus(dqm_store);
154  if (!trackerFEDsFound_) {
156  return;
157  }
158  // Fill Global Status
160  dqm_store, &eSetup.getData(detCablingToken_), &eSetup.getData(tkDetMapToken_), &eSetup.getData(tTopoToken_));
161  }
162 
164  return;
165 
166  // create Summary Plots
167  if (createSummary_)
169 
170  // Create TrackerMap
171  if (createTkMap_) {
173  &eSetup.getData(detCablingToken_), &eSetup.getData(tkDetMapToken_), &eSetup.getData(tTopoToken_))) {
174  std::vector<std::string> mapNames;
175  for (const auto& mapOptions : tkMapOptions_) {
176  edm::LogInfo("TkMapParameters") << mapOptions.pset;
177  std::string map_type = mapOptions.type;
179  mapOptions.pset, dqm_store, map_type, mapOptions.useSSQ ? &eSetup.getData(mapOptions.token) : nullptr);
180  mapNames.push_back(map_type);
181  }
182  if (createTkInfoFile_) {
183  actionExecutor_.createTkInfoFile(mapNames, tkinfoTree_, dqm_store, &eSetup.getData(geomDetToken_));
184  }
185  }
186  }
187 }
std::vector< MapOptions > tkMapOptions_
edm::ESGetToken< SiStripDetCabling, SiStripDetCablingRcd > detCablingToken_
bool const createTkInfoFile_
edm::ESGetToken< TkDetMap, TrackerTopologyRcd > tkDetMapToken_
void fillStatus(DQMStore &dqm_store, const SiStripDetCabling *cabling, const TkDetMap *tkDetMap, const TrackerTopology *tTopo)
Log< level::Info, false > LogInfo
void createStatus(DQMStore &dqm_store)
void createOfflineTkMap(const edm::ParameterSet &tkmapPset, DQMStore &dqm_store, std::string &map_type, const SiStripQuality *stripQuality)
void createTkInfoFile(std::vector< std::string > tkhmap_names, TTree *tkinfo_tree, DQMStore &dqm_store, const GeometricDet *geomDet)
void createSummaryOffline(DQMStore &dqm_store)
SiStripActionExecutor actionExecutor_
edm::ESGetToken< TrackerTopology, TrackerTopologyRcd > tTopoToken_
bool readTkMapConfiguration(const SiStripDetCabling *detCabling, const TkDetMap *tkDetMap, const TrackerTopology *tTopo)
edm::ESGetToken< GeometricDet, IdealGeometryRecord > geomDetToken_

◆ endRunProduce()

void SiStripOfflineDQM::endRunProduce ( edm::Run ,
edm::EventSetup const &   
)
inlineoverrideprivate

Definition at line 68 of file SiStripOfflineDQM.h.

68 {};

◆ openInputFile()

bool SiStripOfflineDQM::openInputFile ( DQMStore dqm_store)
private

Definition at line 202 of file SiStripOfflineDQM.cc.

References inputFileName_, LegacyIOHelper::open(), and groupFilesInBlocks::temp.

Referenced by beginRun().

202  {
203  if (inputFileName_.empty()) {
204  return false;
205  }
206  edm::LogInfo("OpenFile") << "SiStripOfflineDQM::openInputFile: Accessing root File" << inputFileName_;
207  dqm::harvesting::DQMStore* temp = dynamic_cast<dqm::harvesting::DQMStore*>(&dqm_store);
208  LegacyIOHelper leo(temp);
209  return leo.open(inputFileName_);
210 }
std::string const inputFileName_
Log< level::Info, false > LogInfo

◆ produce()

void SiStripOfflineDQM::produce ( edm::Event e,
edm::EventSetup const &  eSetup 
)
overrideprivatevirtual

Implements edm::one::EDProducerBase.

Definition at line 136 of file SiStripOfflineDQM.cc.

136 {}

Member Data Documentation

◆ actionExecutor_

SiStripActionExecutor SiStripOfflineDQM::actionExecutor_
private

Definition at line 74 of file SiStripOfflineDQM.h.

Referenced by beginJob(), beginRun(), endJob(), endLuminosityBlock(), and endRun().

◆ createSummary_

bool SiStripOfflineDQM::createSummary_
private

Definition at line 77 of file SiStripOfflineDQM.h.

Referenced by beginJob(), beginRun(), and endRun().

◆ createTkInfoFile_

bool const SiStripOfflineDQM::createTkInfoFile_
private

Definition at line 78 of file SiStripOfflineDQM.h.

Referenced by endRun().

◆ createTkMap_

bool const SiStripOfflineDQM::createTkMap_
private

Definition at line 78 of file SiStripOfflineDQM.h.

Referenced by endRun().

◆ detCablingToken_

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

Definition at line 85 of file SiStripOfflineDQM.h.

Referenced by endRun().

◆ geomDetToken_

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

Definition at line 88 of file SiStripOfflineDQM.h.

Referenced by endRun().

◆ globalStatusFilling_

int SiStripOfflineDQM::globalStatusFilling_
private

Definition at line 81 of file SiStripOfflineDQM.h.

Referenced by beginRun(), endLuminosityBlock(), and endRun().

◆ inputFileName_

std::string const SiStripOfflineDQM::inputFileName_
private

Definition at line 79 of file SiStripOfflineDQM.h.

Referenced by openInputFile().

◆ outputFileName_

std::string const SiStripOfflineDQM::outputFileName_
private

Definition at line 80 of file SiStripOfflineDQM.h.

◆ printFaultyModuleList_

bool SiStripOfflineDQM::printFaultyModuleList_
private

Definition at line 83 of file SiStripOfflineDQM.h.

Referenced by endJob().

◆ runInfoToken_

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

Definition at line 89 of file SiStripOfflineDQM.h.

Referenced by beginRun().

◆ tkDetMapToken_

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

Definition at line 87 of file SiStripOfflineDQM.h.

Referenced by endRun().

◆ tkinfoTree_

TTree* SiStripOfflineDQM::tkinfoTree_ {nullptr}
private

Definition at line 84 of file SiStripOfflineDQM.h.

Referenced by endRun().

◆ tkMapOptions_

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

Definition at line 103 of file SiStripOfflineDQM.h.

Referenced by endRun().

◆ trackerFEDsFound_

bool SiStripOfflineDQM::trackerFEDsFound_
private

Definition at line 82 of file SiStripOfflineDQM.h.

Referenced by beginRun(), endLuminosityBlock(), and endRun().

◆ tTopoToken_

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

Definition at line 86 of file SiStripOfflineDQM.h.

Referenced by endRun().

◆ usedWithEDMtoMEConverter_

bool SiStripOfflineDQM::usedWithEDMtoMEConverter_
private

Definition at line 76 of file SiStripOfflineDQM.h.

Referenced by beginRun(), endJob(), and endRun().