Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
RecoLocalCalo
HcalRecAlgos
interface
HBHEStatusBitSetter.h
Go to the documentation of this file.
1
#ifndef HBHESTATUSBITSETTER_H
2
#define HBHESTATUSBITSETTER_H 1
3
4
5
#include "
DataFormats/HcalDigi/interface/HBHEDataFrame.h
"
6
#include "
DataFormats/HcalRecHit/interface/HcalRecHitCollections.h
"
7
#include "
DataFormats/HcalRecHit/interface/HBHERecHit.h
"
8
#include "
CondFormats/HcalObjects/interface/HcalLogicalMap.h
"
9
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
10
#include "
RecoLocalCalo/HcalRecAlgos/interface/HcalCaloFlagLabels.h
"
11
#include "
CalibFormats/HcalObjects/interface/HcalCalibrations.h
"
12
#include "
CalibFormats/HcalObjects/interface/HcalCoderDb.h
"
13
14
class
HBHEStatusBitSetter
{
15
public
:
16
HBHEStatusBitSetter
();
17
HBHEStatusBitSetter
(
double
nominalPedestal,
double
hitEnergyMinimum,
int
hitMultiplicityThreshold,
const
std::vector<edm::ParameterSet>& pulseShapeParameterSets);
18
~HBHEStatusBitSetter
();
19
void
Clear
();
20
void
SetFlagsFromDigi
(
const
HcalTopology
* topo,
HBHERecHit
& hbhe,
const
HBHEDataFrame
& digi,
const
HcalCoder
& coder,
21
const
HcalCalibrations
&
calib
,
22
int
firstSample
=3,
23
int
samplesToAdd=4
24
);
25
void
SetFlagsFromRecHits
(
const
HcalTopology
* topo,
HBHERecHitCollection
& rec);
26
private
:
27
double
hitEnergyMinimum_
;
28
int
hitMultiplicityThreshold_
;
29
unsigned
int
firstSample_
;
30
unsigned
int
samplesToAdd_
;
31
double
nominalPedestal_
;
32
HcalLogicalMap
*
logicalMap_
;
33
std::vector<int>
hpdMultiplicity_
;
34
std::vector< std::vector<double> >
pulseShapeParameters_
;
35
};
36
37
#endif
HcalCaloFlagLabels.h
HBHEStatusBitSetter::Clear
void Clear()
Definition:
HBHEStatusBitSetter.cc:46
edm::SortedCollection< HBHERecHit >
castor_dqm_sourceclient_file_cfg.firstSample
tuple firstSample
Definition:
castor_dqm_sourceclient_file_cfg.py:149
HBHEStatusBitSetter::~HBHEStatusBitSetter
~HBHEStatusBitSetter()
Definition:
HBHEStatusBitSetter.cc:42
HBHEStatusBitSetter::hpdMultiplicity_
std::vector< int > hpdMultiplicity_
Definition:
HBHEStatusBitSetter.h:33
HcalTopology
Definition:
HcalTopology.h:25
HcalCalibrations.h
HcalCalibrations
Definition:
HcalCalibrations.h:9
HBHERecHit.h
HBHEStatusBitSetter::samplesToAdd_
unsigned int samplesToAdd_
Definition:
HBHEStatusBitSetter.h:30
HBHEStatusBitSetter
Definition:
HBHEStatusBitSetter.h:14
ParameterSet.h
HBHERecHit
Definition:
HBHERecHit.h:12
HBHEStatusBitSetter::HBHEStatusBitSetter
HBHEStatusBitSetter()
Definition:
HBHEStatusBitSetter.cc:6
HBHEStatusBitSetter::hitEnergyMinimum_
double hitEnergyMinimum_
Definition:
HBHEStatusBitSetter.h:27
calib
MVATrainerComputer * calib
Definition:
MVATrainer.cc:64
HBHEStatusBitSetter::firstSample_
unsigned int firstSample_
Definition:
HBHEStatusBitSetter.h:29
HcalLogicalMap
Definition:
HcalLogicalMap.h:9
HcalLogicalMap.h
HcalCoder
Definition:
HcalCoder.h:18
HBHEDataFrame.h
HBHEStatusBitSetter::hitMultiplicityThreshold_
int hitMultiplicityThreshold_
Definition:
HBHEStatusBitSetter.h:28
HcalCoderDb.h
HcalRecHitCollections.h
HBHEStatusBitSetter::pulseShapeParameters_
std::vector< std::vector< double > > pulseShapeParameters_
Definition:
HBHEStatusBitSetter.h:34
HBHEStatusBitSetter::SetFlagsFromRecHits
void SetFlagsFromRecHits(const HcalTopology *topo, HBHERecHitCollection &rec)
Definition:
HBHEStatusBitSetter.cc:118
HBHEStatusBitSetter::nominalPedestal_
double nominalPedestal_
Definition:
HBHEStatusBitSetter.h:31
HBHEStatusBitSetter::logicalMap_
HcalLogicalMap * logicalMap_
Definition:
HBHEStatusBitSetter.h:32
HBHEDataFrame
Definition:
HBHEDataFrame.h:15
HBHEStatusBitSetter::SetFlagsFromDigi
void SetFlagsFromDigi(const HcalTopology *topo, HBHERecHit &hbhe, const HBHEDataFrame &digi, const HcalCoder &coder, const HcalCalibrations &calib, int firstSample=3, int samplesToAdd=4)
Definition:
HBHEStatusBitSetter.cc:51
Generated for CMSSW Reference Manual by
1.8.5