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,std::vector<edm::ParameterSet> pulseShapeParameterSets);
18
~HBHEStatusBitSetter
();
19
void
Clear
();
20
void
SetFlagsFromDigi
(
HBHERecHit
& hbhe,
const
HBHEDataFrame
& digi,
const
HcalCoder
& coder,
21
const
HcalCalibrations
&
calib
,
22
int
firstSample
=3,
23
int
samplesToAdd=4
24
);
25
void
SetFlagsFromRecHits
(
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:49
edm::SortedCollection
Definition:
SortedCollection.h:49
castor_dqm_sourceclient_file_cfg.firstSample
tuple firstSample
Definition:
castor_dqm_sourceclient_file_cfg.py:174
HBHEStatusBitSetter::~HBHEStatusBitSetter
~HBHEStatusBitSetter()
Definition:
HBHEStatusBitSetter.cc:45
HBHEStatusBitSetter::hpdMultiplicity_
std::vector< int > hpdMultiplicity_
Definition:
HBHEStatusBitSetter.h:33
HcalCalibrations.h
HcalCalibrations
Definition:
HcalCalibrations.h:11
HBHERecHit.h
HBHEStatusBitSetter::samplesToAdd_
unsigned int samplesToAdd_
Definition:
HBHEStatusBitSetter.h:30
HBHEStatusBitSetter
Definition:
HBHEStatusBitSetter.h:14
HBHEStatusBitSetter::SetFlagsFromDigi
void SetFlagsFromDigi(HBHERecHit &hbhe, const HBHEDataFrame &digi, const HcalCoder &coder, const HcalCalibrations &calib, int firstSample=3, int samplesToAdd=4)
Definition:
HBHEStatusBitSetter.cc:54
ParameterSet.h
HBHERecHit
Definition:
HBHERecHit.h:14
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:10
HcalLogicalMap.h
HcalCoder
Definition:
HcalCoder.h:19
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::nominalPedestal_
double nominalPedestal_
Definition:
HBHEStatusBitSetter.h:31
HBHEStatusBitSetter::logicalMap_
HcalLogicalMap * logicalMap_
Definition:
HBHEStatusBitSetter.h:32
HBHEDataFrame
Definition:
HBHEDataFrame.h:15
HBHEStatusBitSetter::SetFlagsFromRecHits
void SetFlagsFromRecHits(HBHERecHitCollection &rec)
Definition:
HBHEStatusBitSetter.cc:115
Generated for CMSSW Reference Manual by
1.8.5