CMS 3D CMS Logo

List of all members | Public Member Functions | Protected Attributes
HGCalRecHitAbsAlgo Class Referenceabstract

#include <HGCalRecHitAbsAlgo.h>

Inheritance diagram for HGCalRecHitAbsAlgo:
HGCalRecHitSimpleAlgo

Public Member Functions

virtual HGCRecHit makeRecHit (const HGCUncalibratedRecHit &uncalibRH, const uint32_t &flags) const =0
 
void set (const edm::EventSetup &es)
 
virtual void setADCToGeVConstant (const float value)=0
 
virtual void setLayerWeights (const std::vector< float > &weights)
 make rechits from dataframes More...
 
virtual ~HGCalRecHitAbsAlgo ()
 Constructor. More...
 

Protected Attributes

hgcal::RecHitTools rhtools_
 

Detailed Description

Template algorithm to make rechits from uncalibrated rechits

Author
Valeri Andreev

Definition at line 17 of file HGCalRecHitAbsAlgo.h.

Constructor & Destructor Documentation

◆ ~HGCalRecHitAbsAlgo()

virtual HGCalRecHitAbsAlgo::~HGCalRecHitAbsAlgo ( )
inlinevirtual

Constructor.

Destructor

Definition at line 23 of file HGCalRecHitAbsAlgo.h.

23 {};

Member Function Documentation

◆ makeRecHit()

virtual HGCRecHit HGCalRecHitAbsAlgo::makeRecHit ( const HGCUncalibratedRecHit uncalibRH,
const uint32_t &  flags 
) const
pure virtual

Implemented in HGCalRecHitSimpleAlgo.

◆ set()

void HGCalRecHitAbsAlgo::set ( const edm::EventSetup es)
inline

Definition at line 25 of file HGCalRecHitAbsAlgo.h.

25 { rhtools_.getEventSetup(es); }

References hgcal::RecHitTools::getEventSetup(), and rhtools_.

◆ setADCToGeVConstant()

virtual void HGCalRecHitAbsAlgo::setADCToGeVConstant ( const float  value)
pure virtual

Implemented in HGCalRecHitSimpleAlgo.

◆ setLayerWeights()

virtual void HGCalRecHitAbsAlgo::setLayerWeights ( const std::vector< float > &  weights)
inlinevirtual

make rechits from dataframes

Reimplemented in HGCalRecHitSimpleAlgo.

Definition at line 28 of file HGCalRecHitAbsAlgo.h.

28 {};

Member Data Documentation

◆ rhtools_

hgcal::RecHitTools HGCalRecHitAbsAlgo::rhtools_
protected

Definition at line 34 of file HGCalRecHitAbsAlgo.h.

Referenced by HGCalRecHitSimpleAlgo::makeRecHit(), and set().

HGCalRecHitAbsAlgo::rhtools_
hgcal::RecHitTools rhtools_
Definition: HGCalRecHitAbsAlgo.h:34
hgcal::RecHitTools::getEventSetup
void getEventSetup(const edm::EventSetup &)
Definition: RecHitTools.cc:70