CMS 3D CMS Logo

List of all members | Public Member Functions
EcalUncalibRecHitWorkerRunOneDigiBase Class Referenceabstract

#include <EcalUncalibRecHitWorkerRunOneDigiBase.h>

Inheritance diagram for EcalUncalibRecHitWorkerRunOneDigiBase:
EcalUncalibRecHitWorkerBaseClass EcalUncalibRecHitWorkerAnalFit EcalUncalibRecHitWorkerFixedAlphaBetaFit EcalUncalibRecHitWorkerGlobal EcalUncalibRecHitWorkerMaxSample EcalUncalibRecHitWorkerRatio EcalUncalibRecHitWorkerWeights

Public Member Functions

 EcalUncalibRecHitWorkerRunOneDigiBase ()
 
 EcalUncalibRecHitWorkerRunOneDigiBase (const edm::ParameterSet &p)
 
 EcalUncalibRecHitWorkerRunOneDigiBase (const edm::ParameterSet &p, edm::ConsumesCollector &c)
 
void run (const edm::Event &evt, const EcalDigiCollection &digis, EcalUncalibratedRecHitCollection &result) override
 
virtual bool run (const edm::Event &evt, const EcalDigiCollection::const_iterator &digi, EcalUncalibratedRecHitCollection &result)=0
 
 ~EcalUncalibRecHitWorkerRunOneDigiBase () override
 
- Public Member Functions inherited from EcalUncalibRecHitWorkerBaseClass
 EcalUncalibRecHitWorkerBaseClass ()
 
 EcalUncalibRecHitWorkerBaseClass (const edm::ParameterSet &)
 
 EcalUncalibRecHitWorkerBaseClass (const edm::ParameterSet &, edm::ConsumesCollector &c)
 
virtual edm::ParameterSetDescription getAlgoDescription ()=0
 
virtual void set (const edm::Event &evt)
 
virtual void set (const edm::EventSetup &es)=0
 
virtual ~EcalUncalibRecHitWorkerBaseClass ()
 

Detailed Description

this is a compatibility base after the primary application (EcalUncalibRecHitProducer) moved to full collection used in argument given reduced overhead by running on the full collection as input, derived classes with CPU constraints should move to EcalUncalibRecHitWorkerBaseClass

Definition at line 10 of file EcalUncalibRecHitWorkerRunOneDigiBase.h.

Constructor & Destructor Documentation

◆ EcalUncalibRecHitWorkerRunOneDigiBase() [1/3]

EcalUncalibRecHitWorkerRunOneDigiBase::EcalUncalibRecHitWorkerRunOneDigiBase ( const edm::ParameterSet p,
edm::ConsumesCollector c 
)
inline

◆ EcalUncalibRecHitWorkerRunOneDigiBase() [2/3]

EcalUncalibRecHitWorkerRunOneDigiBase::EcalUncalibRecHitWorkerRunOneDigiBase ( const edm::ParameterSet p)
inline

◆ EcalUncalibRecHitWorkerRunOneDigiBase() [3/3]

EcalUncalibRecHitWorkerRunOneDigiBase::EcalUncalibRecHitWorkerRunOneDigiBase ( )
inline

Definition at line 15 of file EcalUncalibRecHitWorkerRunOneDigiBase.h.

15 {}

◆ ~EcalUncalibRecHitWorkerRunOneDigiBase()

EcalUncalibRecHitWorkerRunOneDigiBase::~EcalUncalibRecHitWorkerRunOneDigiBase ( )
inlineoverride

Definition at line 16 of file EcalUncalibRecHitWorkerRunOneDigiBase.h.

16 {}

Member Function Documentation

◆ run() [1/2]

void EcalUncalibRecHitWorkerRunOneDigiBase::run ( const edm::Event evt,
const EcalDigiCollection digis,
EcalUncalibratedRecHitCollection result 
)
inlineoverridevirtual

Implements EcalUncalibRecHitWorkerBaseClass.

Definition at line 22 of file EcalUncalibRecHitWorkerRunOneDigiBase.h.

22  {
23  result.reserve(result.size() + digis.size());
24  for (auto it = digis.begin(); it != digis.end(); ++it)
25  run(evt, it, result);
26  }

References edm::DataFrameContainer::begin(), edm::DataFrameContainer::end(), mps_fire::result, run(), and edm::DataFrameContainer::size().

◆ run() [2/2]

virtual bool EcalUncalibRecHitWorkerRunOneDigiBase::run ( const edm::Event evt,
const EcalDigiCollection::const_iterator digi,
EcalUncalibratedRecHitCollection result 
)
pure virtual
EcalUncalibRecHitWorkerRunOneDigiBase::run
virtual bool run(const edm::Event &evt, const EcalDigiCollection::const_iterator &digi, EcalUncalibratedRecHitCollection &result)=0
AlCaHLTBitMon_ParallelJobs.p
p
Definition: AlCaHLTBitMon_ParallelJobs.py:153
edm::DataFrameContainer::begin
const_iterator begin() const
The iterator returned can not safely be used across threads.
Definition: DataFrameContainer.h:149
EcalUncalibRecHitWorkerBaseClass::EcalUncalibRecHitWorkerBaseClass
EcalUncalibRecHitWorkerBaseClass()
Definition: EcalUncalibRecHitWorkerBaseClass.h:20
mps_fire.result
result
Definition: mps_fire.py:311
c
auto & c
Definition: CAHitNtupletGeneratorKernelsImpl.h:46
edm::DataFrameContainer::end
const_iterator end() const
Definition: DataFrameContainer.h:152
edm::DataFrameContainer::size
size_type size() const
Definition: DataFrameContainer.h:162