src
SimCalorimetry
EcalEBTrigPrimAlgos
interface
EcalEBPhase2AmplitudeReconstructor.h
Go to the documentation of this file.
1
#ifndef SimCalorimetry_EcalEBTrigPrimAlgos_EcalEBPhase2AmplitudeReconstructor_h
2
#define SimCalorimetry_EcalEBTrigPrimAlgos_EcalEBPhase2AmplitudeReconstructor_h
3
4
#include <vector>
5
#include <cstdint>
6
7
class
EcalEBPhase2TPGAmplWeightIdMap
;
8
class
EcalTPGWeightGroup
;
9
17
class
EcalEBPhase2AmplitudeReconstructor
{
18
private
:
19
static
const
int
maxSamplesUsed_
= 12;
20
bool
debug_
;
21
int
inputsAlreadyIn_
;
22
int
buffer_
[
maxSamplesUsed_
];
23
int
weights_
[
maxSamplesUsed_
];
24
int
shift_
;
25
int
setInput
(
int
input
);
26
void
process
();
27
int
processedOutput_
;
28
29
public
:
30
EcalEBPhase2AmplitudeReconstructor
(
bool
debug
);
31
virtual
~EcalEBPhase2AmplitudeReconstructor
();
32
virtual
void
process
(std::vector<int> &addout, std::vector<int> &
output
);
33
void
setParameters
(uint32_t raw,
34
const
EcalEBPhase2TPGAmplWeightIdMap
*ecaltpgWeightMap,
35
const
EcalTPGWeightGroup
*ecaltpgWeightGroup);
36
};
37
38
#endif
EcalTPGWeightGroup
Definition:
EcalTPGWeightGroup.h:8
EcalEBPhase2AmplitudeReconstructor::setInput
int setInput(int input)
Definition:
EcalEBPhase2AmplitudeReconstructor.cc:15
EcalEBPhase2AmplitudeReconstructor::debug_
bool debug_
Definition:
EcalEBPhase2AmplitudeReconstructor.h:20
EcalEBPhase2AmplitudeReconstructor
Definition:
EcalEBPhase2AmplitudeReconstructor.h:17
EcalEBPhase2TPGAmplWeightIdMap
Definition:
EcalEBPhase2TPGAmplWeightIdMap.h:10
input
static std::string const input
Definition:
EdmProvDump.cc:50
EcalEBPhase2AmplitudeReconstructor::process
void process()
Definition:
EcalEBPhase2AmplitudeReconstructor.cc:65
EcalEBPhase2AmplitudeReconstructor::buffer_
int buffer_[maxSamplesUsed_]
Definition:
EcalEBPhase2AmplitudeReconstructor.h:22
EcalEBPhase2AmplitudeReconstructor::weights_
int weights_[maxSamplesUsed_]
Definition:
EcalEBPhase2AmplitudeReconstructor.h:23
EcalEBPhase2AmplitudeReconstructor::inputsAlreadyIn_
int inputsAlreadyIn_
Definition:
EcalEBPhase2AmplitudeReconstructor.h:21
debug
#define debug
Definition:
HDRShower.cc:19
EcalEBPhase2AmplitudeReconstructor::EcalEBPhase2AmplitudeReconstructor
EcalEBPhase2AmplitudeReconstructor(bool debug)
Definition:
EcalEBPhase2AmplitudeReconstructor.cc:10
EcalEBPhase2AmplitudeReconstructor::shift_
int shift_
Definition:
EcalEBPhase2AmplitudeReconstructor.h:24
EcalEBPhase2AmplitudeReconstructor::setParameters
void setParameters(uint32_t raw, const EcalEBPhase2TPGAmplWeightIdMap *ecaltpgWeightMap, const EcalTPGWeightGroup *ecaltpgWeightGroup)
Definition:
EcalEBPhase2AmplitudeReconstructor.cc:88
EcalEBPhase2AmplitudeReconstructor::maxSamplesUsed_
static const int maxSamplesUsed_
Definition:
EcalEBPhase2AmplitudeReconstructor.h:19
output
Definition:
output.py:1
EcalEBPhase2AmplitudeReconstructor::~EcalEBPhase2AmplitudeReconstructor
virtual ~EcalEBPhase2AmplitudeReconstructor()
Definition:
EcalEBPhase2AmplitudeReconstructor.cc:13
EcalEBPhase2AmplitudeReconstructor::processedOutput_
int processedOutput_
Definition:
EcalEBPhase2AmplitudeReconstructor.h:27
Generated for CMSSW Reference Manual by
1.8.14