RecoLocalCalo
EcalRecProducers
interface
EcalUncalibRecHitWorkerRunOneDigiBase.h
Go to the documentation of this file.
1
#ifndef RecoLocalCalo_EcalRecProducers_EcalUncalibRecHitWorkerRunOneDigiBase_hh
2
#define RecoLocalCalo_EcalRecProducers_EcalUncalibRecHitWorkerRunOneDigiBase_hh
3
4
#include "
RecoLocalCalo/EcalRecProducers/interface/EcalUncalibRecHitWorkerBaseClass.h
"
5
9
10
class
EcalUncalibRecHitWorkerRunOneDigiBase
:
public
EcalUncalibRecHitWorkerBaseClass
{
11
public
:
12
EcalUncalibRecHitWorkerRunOneDigiBase
(
const
edm::ParameterSet
&
p
,
edm::ConsumesCollector
&
c
)
13
:
EcalUncalibRecHitWorkerBaseClass
(
p
,
c
) {}
14
EcalUncalibRecHitWorkerRunOneDigiBase
(
const
edm::ParameterSet
&
p
) :
EcalUncalibRecHitWorkerBaseClass
(
p
) {}
15
EcalUncalibRecHitWorkerRunOneDigiBase
() {}
16
~EcalUncalibRecHitWorkerRunOneDigiBase
()
override
{}
17
18
virtual
bool
run
(
const
edm::Event
& evt,
19
const
EcalDigiCollection::const_iterator
& digi,
20
EcalUncalibratedRecHitCollection
&
result
) = 0;
21
22
void
run
(
const
edm::Event
& evt,
const
EcalDigiCollection
& digis,
EcalUncalibratedRecHitCollection
&
result
)
override
{
23
result
.reserve(
result
.size() + digis.
size
());
24
for
(
auto
it = digis.
begin
(); it != digis.
end
(); ++it)
25
run
(evt, it,
result
);
26
}
27
};
28
29
#endif
EcalUncalibRecHitWorkerRunOneDigiBase::run
void run(const edm::Event &evt, const EcalDigiCollection &digis, EcalUncalibratedRecHitCollection &result) override
Definition:
EcalUncalibRecHitWorkerRunOneDigiBase.h:22
EcalUncalibRecHitWorkerBaseClass.h
EcalUncalibRecHitWorkerRunOneDigiBase::run
virtual bool run(const edm::Event &evt, const EcalDigiCollection::const_iterator &digi, EcalUncalibratedRecHitCollection &result)=0
edm::DataFrameContainer::const_iterator
boost::transform_iterator< IterHelp, boost::counting_iterator< int > > const_iterator
Definition:
DataFrameContainer.h:61
EcalUncalibRecHitWorkerRunOneDigiBase::~EcalUncalibRecHitWorkerRunOneDigiBase
~EcalUncalibRecHitWorkerRunOneDigiBase() override
Definition:
EcalUncalibRecHitWorkerRunOneDigiBase.h:16
edm::SortedCollection
Definition:
SortedCollection.h:49
EcalUncalibRecHitWorkerRunOneDigiBase
Definition:
EcalUncalibRecHitWorkerRunOneDigiBase.h:10
edm::ParameterSet
Definition:
ParameterSet.h:47
AlCaHLTBitMon_ParallelJobs.p
def p
Definition:
AlCaHLTBitMon_ParallelJobs.py:153
EcalUncalibRecHitWorkerRunOneDigiBase::EcalUncalibRecHitWorkerRunOneDigiBase
EcalUncalibRecHitWorkerRunOneDigiBase(const edm::ParameterSet &p, edm::ConsumesCollector &c)
Definition:
EcalUncalibRecHitWorkerRunOneDigiBase.h:12
edm::DataFrameContainer::begin
const_iterator begin() const
The iterator returned can not safely be used across threads.
Definition:
DataFrameContainer.h:149
EcalUncalibRecHitWorkerRunOneDigiBase::EcalUncalibRecHitWorkerRunOneDigiBase
EcalUncalibRecHitWorkerRunOneDigiBase()
Definition:
EcalUncalibRecHitWorkerRunOneDigiBase.h:15
EcalUncalibRecHitWorkerRunOneDigiBase::EcalUncalibRecHitWorkerRunOneDigiBase
EcalUncalibRecHitWorkerRunOneDigiBase(const edm::ParameterSet &p)
Definition:
EcalUncalibRecHitWorkerRunOneDigiBase.h:14
EcalDigiCollection
Definition:
EcalDigiCollections.h:46
mps_fire.result
result
Definition:
mps_fire.py:311
c
auto & c
Definition:
CAHitNtupletGeneratorKernelsImpl.h:56
edm::Event
Definition:
Event.h:73
edm::DataFrameContainer::end
const_iterator end() const
Definition:
DataFrameContainer.h:152
edm::ConsumesCollector
Definition:
ConsumesCollector.h:45
edm::DataFrameContainer::size
size_type size() const
Definition:
DataFrameContainer.h:162
EcalUncalibRecHitWorkerBaseClass
Definition:
EcalUncalibRecHitWorkerBaseClass.h:16
Generated for CMSSW Reference Manual by
1.8.16