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