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 11 of file EcalUncalibRecHitWorkerRunOneDigiBase.h.

Constructor & Destructor Documentation

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

Definition at line 15 of file EcalUncalibRecHitWorkerRunOneDigiBase.h.

15 {}
EcalUncalibRecHitWorkerRunOneDigiBase::~EcalUncalibRecHitWorkerRunOneDigiBase ( )
inlineoverride

Definition at line 16 of file EcalUncalibRecHitWorkerRunOneDigiBase.h.

References mps_fire::result, and run().

16 {}

Member Function Documentation

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

Implements EcalUncalibRecHitWorkerBaseClass.

Definition at line 20 of file EcalUncalibRecHitWorkerRunOneDigiBase.h.

References edm::DataFrameContainer::begin(), edm::DataFrameContainer::end(), edm::SortedCollection< T, SORT >::reserve(), run(), edm::SortedCollection< T, SORT >::size(), and edm::DataFrameContainer::size().

21  {
22  result.reserve(result.size() + digis.size());
23  for (auto it = digis.begin(); it != digis.end(); ++it)
24  run(evt, it, result);
25  }
const_iterator begin() const
virtual bool run(const edm::Event &evt, const EcalDigiCollection::const_iterator &digi, EcalUncalibratedRecHitCollection &result)=0
const_iterator end() const
size_type size() const
void reserve(size_type n)