CMS 3D CMS Logo

List of all members | Public Member Functions | Protected Member Functions | Protected Attributes
PFRecHitCreatorBase Class Referenceabstract

#include <PFRecHitCreatorBase.h>

Inheritance diagram for PFRecHitCreatorBase:
PFEcalBarrelRecHitCreator PFEcalEndcapRecHitCreator PFHBHERecHitCreator PFHcalRecHitCreator< Digi, Geometry, Layer, Detector > PFHFRecHitCreator PFHGCalRecHitCreator< DET, Layer, det, subdet > PFPSRecHitCreator

Public Member Functions

virtual void importRecHits (std::unique_ptr< reco::PFRecHitCollection > &, std::unique_ptr< reco::PFRecHitCollection > &, const edm::Event &, const edm::EventSetup &)=0
 
virtual void init (const edm::EventSetup &es)
 
 PFRecHitCreatorBase ()
 
 PFRecHitCreatorBase (const edm::ParameterSet &iConfig, edm::ConsumesCollector &iC)
 
virtual ~PFRecHitCreatorBase ()=default
 

Protected Member Functions

void beginEvent (const edm::Event &event, const edm::EventSetup &setup)
 

Protected Attributes

std::vector< std::unique_ptr< PFRecHitQTestBase > > qualityTests_
 

Detailed Description

Definition at line 23 of file PFRecHitCreatorBase.h.

Constructor & Destructor Documentation

◆ PFRecHitCreatorBase() [1/2]

PFRecHitCreatorBase::PFRecHitCreatorBase ( )
inline

Definition at line 25 of file PFRecHitCreatorBase.h.

25 {}

◆ PFRecHitCreatorBase() [2/2]

PFRecHitCreatorBase::PFRecHitCreatorBase ( const edm::ParameterSet iConfig,
edm::ConsumesCollector iC 
)
inline

Definition at line 26 of file PFRecHitCreatorBase.h.

26  {
27  std::vector<edm::ParameterSet> qTests = iConfig.getParameter<std::vector<edm::ParameterSet> >("qualityTests");
28  for (auto& qTest : qTests) {
29  std::string name = qTest.getParameter<std::string>("name");
30  qualityTests_.emplace_back(PFRecHitQTestFactory::get()->create(name, qTest));
31  }
32  }

References beamerCreator::create(), get, edm::ParameterSet::getParameter(), Skims_PA_cff::name, qualityTests_, and AlCaHLTBitMon_QueryRunRegistry::string.

◆ ~PFRecHitCreatorBase()

virtual PFRecHitCreatorBase::~PFRecHitCreatorBase ( )
virtualdefault

Member Function Documentation

◆ beginEvent()

void PFRecHitCreatorBase::beginEvent ( const edm::Event event,
const edm::EventSetup setup 
)
inlineprotected

◆ importRecHits()

virtual void PFRecHitCreatorBase::importRecHits ( std::unique_ptr< reco::PFRecHitCollection > &  ,
std::unique_ptr< reco::PFRecHitCollection > &  ,
const edm::Event ,
const edm::EventSetup  
)
pure virtual

◆ init()

virtual void PFRecHitCreatorBase::init ( const edm::EventSetup es)
inlinevirtual

Reimplemented in PFEcalEndcapRecHitCreator, and PFEcalBarrelRecHitCreator.

Definition at line 35 of file PFRecHitCreatorBase.h.

35 {}

Member Data Documentation

◆ qualityTests_

std::vector<std::unique_ptr<PFRecHitQTestBase> > PFRecHitCreatorBase::qualityTests_
protected
beamerCreator.create
def create(alignables, pedeDump, additionalData, outputFile, config)
Definition: beamerCreator.py:44
singleTopDQM_cfi.setup
setup
Definition: singleTopDQM_cfi.py:37
PFRecHitCreatorBase::qualityTests_
std::vector< std::unique_ptr< PFRecHitQTestBase > > qualityTests_
Definition: PFRecHitCreatorBase.h:48
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
get
#define get
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
Skims_PA_cff.name
name
Definition: Skims_PA_cff.py:17
event
Definition: event.py:1