Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
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
i
int i
Definition:
DBlmapReader.cc:9
EcalFenixEtStrip::~EcalFenixEtStrip
virtual ~EcalFenixEtStrip()
Definition:
EcalFenixEtStrip.cc:5
EcalFenixEtStrip::EcalFenixEtStrip
EcalFenixEtStrip()
Definition:
EcalFenixEtStrip.cc:3
EcalFenixEtStrip.h
convertSQLitetoXML_cfg.output
tuple output
Definition:
convertSQLitetoXML_cfg.py:32
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.5