RecoLocalCalo
HcalRecAlgos
interface
HBHEStatusBitSetter.h
Go to the documentation of this file.
1
#ifndef HBHESTATUSBITSETTER_H
2
#define HBHESTATUSBITSETTER_H 1
3
4
#include "
DataFormats/HcalDigi/interface/HBHEDataFrame.h
"
5
#include "
DataFormats/HcalRecHit/interface/HcalRecHitCollections.h
"
6
#include "
DataFormats/HcalRecHit/interface/HBHERecHit.h
"
7
#include "
CondFormats/HcalObjects/interface/HcalFrontEndMap.h
"
8
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
9
#include "
DataFormats/METReco/interface/HcalCaloFlagLabels.h
"
10
#include "
CalibFormats/HcalObjects/interface/HcalCalibrations.h
"
11
#include "
CalibFormats/HcalObjects/interface/HcalCoderDb.h
"
12
#include "
Geometry/CaloTopology/interface/HcalTopology.h
"
13
14
class
HBHEStatusBitSetter
{
15
public
:
16
HBHEStatusBitSetter
();
17
HBHEStatusBitSetter
(
double
nominalPedestal
,
18
double
hitEnergyMinimum
,
19
int
hitMultiplicityThreshold
,
20
const
std::vector<edm::ParameterSet>&
pulseShapeParameterSets
);
21
~HBHEStatusBitSetter
();
22
23
void
SetFrontEndMap
(
const
HcalFrontEndMap
*
m
);
24
void
Clear
();
25
void
SetFlagsFromDigi
(
HBHERecHit
&
hbhe
,
26
const
HBHEDataFrame
& digi,
27
const
HcalCoder
& coder,
28
const
HcalCalibrations
&
calib
);
29
void
rememberHit
(
const
HBHERecHit
&
hbhe
);
30
void
SetFlagsFromRecHits
(
HBHERecHitCollection
& rec);
31
32
HBHEStatusBitSetter
(
const
HBHEStatusBitSetter
&) =
delete
;
33
HBHEStatusBitSetter
&
operator=
(
const
HBHEStatusBitSetter
&) =
delete
;
34
35
private
:
36
double
hitEnergyMinimum_
;
37
int
hitMultiplicityThreshold_
;
38
double
nominalPedestal_
;
39
const
HcalFrontEndMap
*
frontEndMap_
;
40
std::vector<int>
hpdMultiplicity_
;
41
std::vector<std::vector<double> >
pulseShapeParameters_
;
42
};
43
44
#endif
HBHEStatusBitSetter::SetFrontEndMap
void SetFrontEndMap(const HcalFrontEndMap *m)
Definition:
HBHEStatusBitSetter.cc:30
HcalCalibrations.h
HBHEStatusBitSetter::hitEnergyMinimum_
double hitEnergyMinimum_
Definition:
HBHEStatusBitSetter.h:36
HBHEStatusBitSetter::Clear
void Clear()
Definition:
HBHEStatusBitSetter.cc:42
HBHERecHit
Definition:
HBHERecHit.h:13
HLT_FULL_cff.nominalPedestal
nominalPedestal
Definition:
HLT_FULL_cff.py:8420
edm::SortedCollection
Definition:
SortedCollection.h:49
HLT_FULL_cff.hitMultiplicityThreshold
hitMultiplicityThreshold
Definition:
HLT_FULL_cff.py:8421
HBHEStatusBitSetter::SetFlagsFromDigi
void SetFlagsFromDigi(HBHERecHit &hbhe, const HBHEDataFrame &digi, const HcalCoder &coder, const HcalCalibrations &calib)
Definition:
HBHEStatusBitSetter.cc:60
HcalCoderDb.h
HBHEStatusBitSetter
Definition:
HBHEStatusBitSetter.h:14
visualization-live-secondInstance_cfg.m
m
Definition:
visualization-live-secondInstance_cfg.py:78
HBHEStatusBitSetter::HBHEStatusBitSetter
HBHEStatusBitSetter()
Definition:
HBHEStatusBitSetter.cc:5
HcalCalibrations
Definition:
HcalCalibrations.h:9
HBHEStatusBitSetter::nominalPedestal_
double nominalPedestal_
Definition:
HBHEStatusBitSetter.h:38
HBHEStatusBitSetter::~HBHEStatusBitSetter
~HBHEStatusBitSetter()
Definition:
HBHEStatusBitSetter.cc:28
calib
Definition:
CalibElectron.h:12
HBHEDataFrame
Definition:
HBHEDataFrame.h:14
HcalFrontEndMap.h
HcalCaloFlagLabels.h
HBHEStatusBitSetter::hpdMultiplicity_
std::vector< int > hpdMultiplicity_
Definition:
HBHEStatusBitSetter.h:40
HBHEStatusBitSetter::hitMultiplicityThreshold_
int hitMultiplicityThreshold_
Definition:
HBHEStatusBitSetter.h:37
photonIsolationHIProducer_cfi.hbhe
hbhe
Definition:
photonIsolationHIProducer_cfi.py:8
HBHERecHit.h
HcalTopology.h
HcalCoder
Definition:
HcalCoder.h:19
HcalFrontEndMap
Definition:
HcalFrontEndMap.h:23
HcalRecHitCollections.h
HBHEStatusBitSetter::SetFlagsFromRecHits
void SetFlagsFromRecHits(HBHERecHitCollection &rec)
Definition:
HBHEStatusBitSetter.cc:120
HBHEStatusBitSetter::frontEndMap_
const HcalFrontEndMap * frontEndMap_
Definition:
HBHEStatusBitSetter.h:39
HBHEStatusBitSetter::rememberHit
void rememberHit(const HBHERecHit &hbhe)
Definition:
HBHEStatusBitSetter.cc:48
ParameterSet.h
HBHEStatusBitSetter::operator=
HBHEStatusBitSetter & operator=(const HBHEStatusBitSetter &)=delete
HLT_FULL_cff.pulseShapeParameterSets
pulseShapeParameterSets
Definition:
HLT_FULL_cff.py:8414
HBHEDataFrame.h
HLT_FULL_cff.hitEnergyMinimum
hitEnergyMinimum
Definition:
HLT_FULL_cff.py:8413
HBHEStatusBitSetter::pulseShapeParameters_
std::vector< std::vector< double > > pulseShapeParameters_
Definition:
HBHEStatusBitSetter.h:41
Generated for CMSSW Reference Manual by
1.8.16