SimCalorimetry
EcalTrigPrimAlgos
src
EcalFenixEtStrip.cc
Go to the documentation of this file.
1
#include <
SimCalorimetry/EcalTrigPrimAlgos/interface/EcalFenixEtStrip.h
>
2
3
EcalFenixEtStrip::EcalFenixEtStrip
() {}
4
EcalFenixEtStrip::~EcalFenixEtStrip
() {}
5
6
void
EcalFenixEtStrip::process
(
const
std::vector
<std::vector<int>> &linout,
int
nrXtals, std::vector<int> &
output
) {
7
for
(
unsigned
int
i
= 0;
i
<
output
.size();
i
++) {
8
output
[
i
] = 0;
9
}
10
for
(
int
ixtal = 0; ixtal < nrXtals; ixtal++) {
11
for
(
unsigned
int
i
= 0;
i
<
output
.size();
i
++) {
12
output
[
i
] += (linout[ixtal])[
i
];
13
}
14
}
15
for
(
unsigned
int
i
= 0;
i
<
output
.size();
i
++) {
16
if
(
output
[
i
] > 0X3FFFF)
17
output
[
i
] = 0X3FFFF;
18
}
19
return
;
20
}
EcalFenixEtStrip::~EcalFenixEtStrip
virtual ~EcalFenixEtStrip()
Definition:
EcalFenixEtStrip.cc:4
mps_fire.i
i
Definition:
mps_fire.py:429
EcalFenixEtStrip::EcalFenixEtStrip
EcalFenixEtStrip()
Definition:
EcalFenixEtStrip.cc:3
convertSQLitetoXML_cfg.output
output
Definition:
convertSQLitetoXML_cfg.py:72
EcalFenixEtStrip::process
void process(const std::vector< std::vector< int >> &linout, int nrXtals, std::vector< int > &output)
Definition:
EcalFenixEtStrip.cc:6
EcalFenixEtStrip.h
trackerHitRTTI::vector
Definition:
trackerHitRTTI.h:21
Generated for CMSSW Reference Manual by
1.8.14