RecoLocalCalo
HGCalRecAlgos
interface
HGCalRecHitAbsAlgo.h
Go to the documentation of this file.
1
#ifndef RecoLocalCalo_HGCalRecAlgos_HGCalRecHitAbsAlgo_HH
2
#define RecoLocalCalo_HGCalRecAlgos_HGCalRecHitAbsAlgo_HH
3
12
#include <vector>
13
#include "
DataFormats/HGCRecHit/interface/HGCRecHit.h
"
14
#include "
DataFormats/HGCRecHit/interface/HGCUncalibratedRecHit.h
"
15
#include "
RecoLocalCalo/HGCalRecAlgos/interface/RecHitTools.h
"
16
17
class
HGCalRecHitAbsAlgo
{
18
public
:
20
//HGCalRecHitAbsAlgo() { };
21
23
virtual
~HGCalRecHitAbsAlgo
(){};
24
25
inline
void
set
(
const
CaloGeometry
&
geom
) {
rhtools_
.
setGeometry
(
geom
); }
26
28
virtual
void
setLayerWeights
(
const
std::vector<float>&
weights
){};
29
30
virtual
void
setADCToGeVConstant
(
const
float
value
) = 0;
31
virtual
HGCRecHit
makeRecHit
(
const
HGCUncalibratedRecHit
& uncalibRH,
const
uint32_t&
flags
)
const
= 0;
32
33
protected
:
34
hgcal::RecHitTools
rhtools_
;
35
};
36
#endif
hgcal::RecHitTools
Definition:
RecHitTools.h:23
HLT_2018_cff.weights
weights
Definition:
HLT_2018_cff.py:87167
HGCalRecHitAbsAlgo::~HGCalRecHitAbsAlgo
virtual ~HGCalRecHitAbsAlgo()
Constructor.
Definition:
HGCalRecHitAbsAlgo.h:23
HGCalRecHitAbsAlgo::rhtools_
hgcal::RecHitTools rhtools_
Definition:
HGCalRecHitAbsAlgo.h:34
HGCUncalibratedRecHit
Definition:
HGCUncalibratedRecHit.h:7
CaloGeometry
Definition:
CaloGeometry.h:21
HGCRecHit.h
HGCalRecHitAbsAlgo::setLayerWeights
virtual void setLayerWeights(const std::vector< float > &weights)
make rechits from dataframes
Definition:
HGCalRecHitAbsAlgo.h:28
HGCalRecHitAbsAlgo::set
void set(const CaloGeometry &geom)
Definition:
HGCalRecHitAbsAlgo.h:25
relativeConstraints.geom
geom
Definition:
relativeConstraints.py:72
HGCRecHit
Definition:
HGCRecHit.h:14
HGCalRecHitAbsAlgo
Definition:
HGCalRecHitAbsAlgo.h:17
value
Definition:
value.py:1
HGCalRecHitAbsAlgo::makeRecHit
virtual HGCRecHit makeRecHit(const HGCUncalibratedRecHit &uncalibRH, const uint32_t &flags) const =0
hgcal::RecHitTools::setGeometry
void setGeometry(CaloGeometry const &)
Definition:
RecHitTools.cc:68
HLT_2018_cff.flags
flags
Definition:
HLT_2018_cff.py:11758
HGCalRecHitAbsAlgo::setADCToGeVConstant
virtual void setADCToGeVConstant(const float value)=0
RecHitTools.h
HGCUncalibratedRecHit.h
Generated for CMSSW Reference Manual by
1.8.16