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

virtual bool EcalUncalibRecHitWorkerRunOneDigiBase::run ( const edm::Event evt,
const EcalDigiCollection::const_iterator digi,
EcalUncalibratedRecHitCollection result 
)
pure virtual

◆ run() [2/2]

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

Implements EcalUncalibRecHitWorkerBaseClass.

Definition at line 22 of file EcalUncalibRecHitWorkerRunOneDigiBase.h.

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

22  {
23  result.reserve(result.size() + digis.size());
24  for (auto it = digis.begin(); it != digis.end(); ++it)
25  run(evt, it, result);
26  }
virtual bool run(const edm::Event &evt, const EcalDigiCollection::const_iterator &digi, EcalUncalibratedRecHitCollection &result)=0
const_iterator end() const
const_iterator begin() const
The iterator returned can not safely be used across threads.