SimCalorimetry
EcalTrigPrimAlgos
interface
EcalFenixTcpFormatEE.h
Go to the documentation of this file.
1
#ifndef SIMCALORIMETRY_ECALTRIGPRIMALGOS_ECALFENIXTCPFORMATEE_H
2
#define SIMCALORIMETRY_ECALTRIGPRIMALGOS_ECALFENIXTCPFORMATEE_H
3
4
#include "
DataFormats/EcalDigi/interface/EcalTriggerPrimitiveSample.h
"
5
#include <vector>
6
7
class
EcalTPGLutGroup
;
8
class
EcalTPGLutIdMap
;
9
class
EcalTPGTowerStatus
;
10
class
EcalTPGSpike
;
11
class
EcalTPGTPMode
;
12
23
class
EcalFenixTcpFormatEE
{
24
public
:
25
EcalFenixTcpFormatEE
(
bool
tccFormat,
bool
debug
,
bool
famos,
int
binOfMax);
26
virtual
~EcalFenixTcpFormatEE
();
27
virtual
std::vector<int>
process
(
const
std::vector<int> &,
const
std::vector<int> &) {
28
std::vector<int>
v
;
29
return
v
;
30
}
31
void
process
(std::vector<int> &Et_even_sum,
32
std::vector<int> &Et_odd_sum,
33
std::vector<int> &fgvb,
34
std::vector<int> &sfgvb,
35
int
eTTotShift,
36
std::vector<EcalTriggerPrimitiveSample> &
out
,
37
std::vector<EcalTriggerPrimitiveSample> &outTcc,
38
bool
isInInnerRings);
39
void
setParameters
(uint32_t towid,
40
const
EcalTPGLutGroup
*ecaltpgLutGroup,
41
const
EcalTPGLutIdMap
*ecaltpgLut,
42
const
EcalTPGTowerStatus
*ecaltpgbadTT,
43
const
EcalTPGSpike
*ecaltpgSpike,
44
const
EcalTPGTPMode
*ecaltpgTPMode);
45
46
private
:
47
const
unsigned
int
*
lut_
;
48
const
uint16_t *
badTTStatus_
;
49
uint16_t
status_
;
50
bool
tcpFormat_
;
51
bool
debug_
;
52
bool
famos_
;
53
unsigned
int
binOfMax_
;
54
uint16_t
spikeZeroThresh_
;
55
const
EcalTPGTPMode
*
ecaltpgTPMode_
;
56
};
57
58
#endif
EcalFenixTcpFormatEE::EcalFenixTcpFormatEE
EcalFenixTcpFormatEE(bool tccFormat, bool debug, bool famos, int binOfMax)
Definition:
EcalFenixTcpFormatEE.cc:11
EcalTPGTPMode
Definition:
EcalTPGTPMode.h:12
EcalFenixTcpFormatEE::badTTStatus_
const uint16_t * badTTStatus_
Definition:
EcalFenixTcpFormatEE.h:48
EcalFenixTcpFormatEE::~EcalFenixTcpFormatEE
virtual ~EcalFenixTcpFormatEE()
Definition:
EcalFenixTcpFormatEE.cc:17
EcalTPGSpike
Definition:
EcalTPGSpike.h:9
EcalFenixTcpFormatEE::famos_
bool famos_
Definition:
EcalFenixTcpFormatEE.h:52
EcalFenixTcpFormatEE::ecaltpgTPMode_
const EcalTPGTPMode * ecaltpgTPMode_
Definition:
EcalFenixTcpFormatEE.h:55
EcalFenixTcpFormatEE::setParameters
void setParameters(uint32_t towid, const EcalTPGLutGroup *ecaltpgLutGroup, const EcalTPGLutIdMap *ecaltpgLut, const EcalTPGTowerStatus *ecaltpgbadTT, const EcalTPGSpike *ecaltpgSpike, const EcalTPGTPMode *ecaltpgTPMode)
Definition:
EcalFenixTcpFormatEE.cc:120
findQualityFiles.v
v
Definition:
findQualityFiles.py:179
EcalTPGLutGroup
Definition:
EcalTPGLutGroup.h:13
EcalFenixTcpFormatEE::spikeZeroThresh_
uint16_t spikeZeroThresh_
Definition:
EcalFenixTcpFormatEE.h:54
debug
#define debug
Definition:
HDRShower.cc:19
EcalTPGLutIdMap
Definition:
EcalTPGLutIdMap.h:10
EcalFenixTcpFormatEE::process
virtual std::vector< int > process(const std::vector< int > &, const std::vector< int > &)
Definition:
EcalFenixTcpFormatEE.h:27
EcalFenixTcpFormatEE::tcpFormat_
bool tcpFormat_
Definition:
EcalFenixTcpFormatEE.h:50
EcalFenixTcpFormatEE::binOfMax_
unsigned int binOfMax_
Definition:
EcalFenixTcpFormatEE.h:53
EcalFenixTcpFormatEE
Definition:
EcalFenixTcpFormatEE.h:23
EcalTriggerPrimitiveSample.h
EcalTPGTowerStatus
Definition:
EcalTPGTowerStatus.h:9
EcalFenixTcpFormatEE::status_
uint16_t status_
Definition:
EcalFenixTcpFormatEE.h:49
EcalFenixTcpFormatEE::debug_
bool debug_
Definition:
EcalFenixTcpFormatEE.h:51
EcalFenixTcpFormatEE::lut_
const unsigned int * lut_
Definition:
EcalFenixTcpFormatEE.h:47
MillePedeFileConverter_cfg.out
out
Definition:
MillePedeFileConverter_cfg.py:31
Generated for CMSSW Reference Manual by
1.8.16