CMS 3D CMS Logo

List of all members | Public Member Functions | Protected Attributes
HistogramManagerHolder Class Reference

#include <SiPixelPhase1Base.h>

Inheritance diagram for HistogramManagerHolder:
SiPixelPhase1Base SiPixelPhase1Harvester SiPixelStatusHarvester SiPixelPhase1DigisV SiPixelPhase1GeometryDebug SiPixelPhase1HitsV SiPixelPhase1RecHitsV SiPixelPhase1TrackClustersV SiPixelPhase1TrackingParticleV SiPixelPhase1DigisHarvesterV

Public Member Functions

 HistogramManagerHolder (const edm::ParameterSet &iConfig, edm::ConsumesCollector &&iC, edm::Transition transition=edm::Transition::BeginRun)
 

Protected Attributes

GeometryInterface geometryInterface
 
std::vector< HistogramManagerhisto
 

Detailed Description

Definition at line 27 of file SiPixelPhase1Base.h.

Constructor & Destructor Documentation

◆ HistogramManagerHolder()

HistogramManagerHolder::HistogramManagerHolder ( const edm::ParameterSet iConfig,
edm::ConsumesCollector &&  iC,
edm::Transition  transition = edm::Transition::BeginRun 
)
inline

Definition at line 29 of file SiPixelPhase1Base.h.

32  : geometryInterface(iConfig.getParameter<edm::ParameterSet>("geometry"), std::move(iC), transition) {
33  auto histograms = iConfig.getParameter<edm::VParameterSet>("histograms");
34  for (auto histoconf : histograms) {
35  histo.emplace_back(HistogramManager(histoconf, geometryInterface));
36  }
37  };

References geometryInterface, edm::ParameterSet::getParameter(), and histo.

Member Data Documentation

◆ geometryInterface

GeometryInterface HistogramManagerHolder::geometryInterface
protected

◆ histo

std::vector<HistogramManager> HistogramManagerHolder::histo
protected
HistogramManager
Definition: HistogramManager.h:31
edm::VParameterSet
std::vector< ParameterSet > VParameterSet
Definition: ParameterSet.h:34
HistogramManagerHolder::histo
std::vector< HistogramManager > histo
Definition: SiPixelPhase1Base.h:37
edm::ParameterSet
Definition: ParameterSet.h:47
histograms
Definition: histograms.py:1
eostools.move
def move(src, dest)
Definition: eostools.py:511
HistogramManagerHolder::geometryInterface
GeometryInterface geometryInterface
Definition: SiPixelPhase1Base.h:41
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
Definition: ParameterSet.h:303