#include <EcalUncalibRecHitWorkerMaxSample.h>
Public Member Functions | |
EcalUncalibRecHitWorkerMaxSample (const edm::ParameterSet &ps) | |
bool | run (const edm::Event &evt, const EcalDigiCollection::const_iterator &digi, EcalUncalibratedRecHitCollection &result) |
void | set (const edm::EventSetup &es) |
virtual | ~EcalUncalibRecHitWorkerMaxSample () |
Private Attributes | |
EcalUncalibRecHitMaxSampleAlgo < EBDataFrame > | ebAlgo_ |
EcalUncalibRecHitMaxSampleAlgo < EEDataFrame > | eeAlgo_ |
Definition at line 16 of file EcalUncalibRecHitWorkerMaxSample.h.
EcalUncalibRecHitWorkerMaxSample::EcalUncalibRecHitWorkerMaxSample | ( | const edm::ParameterSet & | ps | ) |
Definition at line 27 of file EcalUncalibRecHitWorkerMaxSample.cc.
: EcalUncalibRecHitWorkerBaseClass( ps ) { }
virtual EcalUncalibRecHitWorkerMaxSample::~EcalUncalibRecHitWorkerMaxSample | ( | ) | [inline, virtual] |
Definition at line 20 of file EcalUncalibRecHitWorkerMaxSample.h.
{};
bool EcalUncalibRecHitWorkerMaxSample::run | ( | const edm::Event & | evt, |
const EcalDigiCollection::const_iterator & | digi, | ||
EcalUncalibratedRecHitCollection & | result | ||
) | [virtual] |
Implements EcalUncalibRecHitWorkerBaseClass.
Definition at line 39 of file EcalUncalibRecHitWorkerMaxSample.cc.
References cond::rpcobgas::detid, ebAlgo_, EcalBarrel, eeAlgo_, EcalUncalibRecHitMaxSampleAlgo< C >::makeRecHit(), and edm::SortedCollection< T, SORT >::push_back().
{ DetId detid(itdg->id()); if ( detid.subdetId() == EcalBarrel ) { result.push_back( ebAlgo_.makeRecHit(*itdg, 0, 0, 0, 0 ) ); } else { result.push_back( eeAlgo_.makeRecHit(*itdg, 0, 0, 0, 0 ) ); } return true; }
void EcalUncalibRecHitWorkerMaxSample::set | ( | const edm::EventSetup & | es | ) | [virtual] |
Implements EcalUncalibRecHitWorkerBaseClass.
Definition at line 34 of file EcalUncalibRecHitWorkerMaxSample.cc.
{ }
Definition at line 30 of file EcalUncalibRecHitWorkerMaxSample.h.
Referenced by run().
Definition at line 31 of file EcalUncalibRecHitWorkerMaxSample.h.
Referenced by run().