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.

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

32  : geometryInterface(iConfig.getParameter<edm::ParameterSet>("geometry"), std::move(iC), transition) {
33  auto histograms = iConfig.getParameter<edm::VParameterSet>("histograms");
34  for (const auto& histoconf : histograms) {
35  histo.emplace_back(HistogramManager(histoconf, geometryInterface));
36  }
37  };
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
std::vector< ParameterSet > VParameterSet
Definition: ParameterSet.h:34
GeometryInterface geometryInterface
std::vector< HistogramManager > histo
def move(src, dest)
Definition: eostools.py:511

Member Data Documentation

◆ geometryInterface

GeometryInterface HistogramManagerHolder::geometryInterface
protected

◆ histo

std::vector<HistogramManager> HistogramManagerHolder::histo
protected