CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Protected Attributes
HGCalUncalibRecHitWorkerWeights Class Reference

#include <HGCalUncalibRecHitWorkerWeights.h>

Inheritance diagram for HGCalUncalibRecHitWorkerWeights:
HGCalUncalibRecHitWorkerBaseClass

Public Member Functions

 HGCalUncalibRecHitWorkerWeights (const edm::ParameterSet &)
 
bool run1 (const edm::Event &evt, const HGCEEDigiCollection::const_iterator &digi, HGCeeUncalibratedRecHitCollection &result)
 
bool run2 (const edm::Event &evt, const HGCHEDigiCollection::const_iterator &digi, HGChefUncalibratedRecHitCollection &result)
 
bool run3 (const edm::Event &evt, const HGCHEDigiCollection::const_iterator &digi, HGChebUncalibratedRecHitCollection &result)
 
void set (const edm::EventSetup &es)
 
virtual ~HGCalUncalibRecHitWorkerWeights ()
 
- Public Member Functions inherited from HGCalUncalibRecHitWorkerBaseClass
 HGCalUncalibRecHitWorkerBaseClass (const edm::ParameterSet &)
 
virtual ~HGCalUncalibRecHitWorkerBaseClass ()
 

Protected Attributes

HGCalUncalibRecHitRecWeightsAlgo
< HGCDataFrame< HGCEEDetId,
HGCSample > > 
uncalibMaker_ee_
 
HGCalUncalibRecHitRecWeightsAlgo
< HGCDataFrame< HGCHEDetId,
HGCSample > > 
uncalibMaker_heb_
 
HGCalUncalibRecHitRecWeightsAlgo
< HGCDataFrame< HGCHEDetId,
HGCSample > > 
uncalibMaker_hef_
 

Detailed Description

Definition at line 27 of file HGCalUncalibRecHitWorkerWeights.h.

Constructor & Destructor Documentation

HGCalUncalibRecHitWorkerWeights::HGCalUncalibRecHitWorkerWeights ( const edm::ParameterSet ps)

Definition at line 54 of file HGCalUncalibRecHitWorkerWeights.cc.

References configureIt(), edm::ParameterSet::getParameterSet(), uncalibMaker_ee_, uncalibMaker_heb_, and uncalibMaker_hef_.

54  :
56 {
57  const edm::ParameterSet& ee_cfg = ps.getParameterSet("HGCEEConfig");
58  const edm::ParameterSet& hef_cfg = ps.getParameterSet("HGCHEFConfig");
59  const edm::ParameterSet& heb_cfg = ps.getParameterSet("HGCHEBConfig");
63 }
HGCalUncalibRecHitRecWeightsAlgo< HGCDataFrame< HGCHEDetId, HGCSample > > uncalibMaker_hef_
void configureIt(const edm::ParameterSet &conf, HGCalUncalibRecHitRecWeightsAlgo< HGCDataFrame< DET, HGCSample >> &maker)
HGCalUncalibRecHitRecWeightsAlgo< HGCDataFrame< HGCEEDetId, HGCSample > > uncalibMaker_ee_
ParameterSet const & getParameterSet(std::string const &) const
HGCalUncalibRecHitRecWeightsAlgo< HGCDataFrame< HGCHEDetId, HGCSample > > uncalibMaker_heb_
HGCalUncalibRecHitWorkerBaseClass(const edm::ParameterSet &)
virtual HGCalUncalibRecHitWorkerWeights::~HGCalUncalibRecHitWorkerWeights ( )
inlinevirtual

Definition at line 31 of file HGCalUncalibRecHitWorkerWeights.h.

31 {};

Member Function Documentation

bool HGCalUncalibRecHitWorkerWeights::run1 ( const edm::Event evt,
const HGCEEDigiCollection::const_iterator digi,
HGCeeUncalibratedRecHitCollection result 
)
virtual

Implements HGCalUncalibRecHitWorkerBaseClass.

Definition at line 73 of file HGCalUncalibRecHitWorkerWeights.cc.

References HGCalUncalibRecHitRecWeightsAlgo< C >::makeRecHit(), edm::SortedCollection< T, SORT >::push_back(), and uncalibMaker_ee_.

76 {
77  result.push_back(uncalibMaker_ee_.makeRecHit(*itdg));
78  return true;
79 }
void push_back(T const &t)
virtual HGCUncalibratedRecHit makeRecHit(const C &dataFrame)
Compute parameters.
HGCalUncalibRecHitRecWeightsAlgo< HGCDataFrame< HGCEEDetId, HGCSample > > uncalibMaker_ee_
bool HGCalUncalibRecHitWorkerWeights::run2 ( const edm::Event evt,
const HGCHEDigiCollection::const_iterator digi,
HGChefUncalibratedRecHitCollection result 
)
virtual

Implements HGCalUncalibRecHitWorkerBaseClass.

Definition at line 82 of file HGCalUncalibRecHitWorkerWeights.cc.

References HGCalUncalibRecHitRecWeightsAlgo< C >::makeRecHit(), edm::SortedCollection< T, SORT >::push_back(), and uncalibMaker_hef_.

85 {
86  result.push_back(uncalibMaker_hef_.makeRecHit(*itdg));
87  return true;
88 }
HGCalUncalibRecHitRecWeightsAlgo< HGCDataFrame< HGCHEDetId, HGCSample > > uncalibMaker_hef_
void push_back(T const &t)
virtual HGCUncalibratedRecHit makeRecHit(const C &dataFrame)
Compute parameters.
bool HGCalUncalibRecHitWorkerWeights::run3 ( const edm::Event evt,
const HGCHEDigiCollection::const_iterator digi,
HGChebUncalibratedRecHitCollection result 
)
virtual

Implements HGCalUncalibRecHitWorkerBaseClass.

Definition at line 91 of file HGCalUncalibRecHitWorkerWeights.cc.

References HGCalUncalibRecHitRecWeightsAlgo< C >::makeRecHit(), edm::SortedCollection< T, SORT >::push_back(), and uncalibMaker_heb_.

94 {
95  result.push_back(uncalibMaker_heb_.makeRecHit(*itdg));
96  return true;
97 }
void push_back(T const &t)
virtual HGCUncalibratedRecHit makeRecHit(const C &dataFrame)
Compute parameters.
HGCalUncalibRecHitRecWeightsAlgo< HGCDataFrame< HGCHEDetId, HGCSample > > uncalibMaker_heb_
void HGCalUncalibRecHitWorkerWeights::set ( const edm::EventSetup es)
virtual

Member Data Documentation

HGCalUncalibRecHitRecWeightsAlgo<HGCDataFrame<HGCEEDetId,HGCSample> > HGCalUncalibRecHitWorkerWeights::uncalibMaker_ee_
protected

Definition at line 40 of file HGCalUncalibRecHitWorkerWeights.h.

Referenced by HGCalUncalibRecHitWorkerWeights(), and run1().

HGCalUncalibRecHitRecWeightsAlgo<HGCDataFrame<HGCHEDetId,HGCSample> > HGCalUncalibRecHitWorkerWeights::uncalibMaker_heb_
protected

Definition at line 42 of file HGCalUncalibRecHitWorkerWeights.h.

Referenced by HGCalUncalibRecHitWorkerWeights(), and run3().

HGCalUncalibRecHitRecWeightsAlgo<HGCDataFrame<HGCHEDetId,HGCSample> > HGCalUncalibRecHitWorkerWeights::uncalibMaker_hef_
protected

Definition at line 41 of file HGCalUncalibRecHitWorkerWeights.h.

Referenced by HGCalUncalibRecHitWorkerWeights(), and run2().