Main Page
Namespaces
Classes
Package Documentation
SimCalorimetry
EcalTrigPrimAlgos
src
EcalFenixEtTot.cc
Go to the documentation of this file.
1
#include <
SimCalorimetry/EcalTrigPrimAlgos/interface/EcalFenixEtTot.h
>
2
3
//----------------------------------------------------------------------------------------
4
EcalFenixEtTot::EcalFenixEtTot
()
5
{}
6
//----------------------------------------------------------------------------------------
7
EcalFenixEtTot::~EcalFenixEtTot
()
8
{}
9
//----------------------------------------------------------------------------------------
10
std::vector<int>
EcalFenixEtTot::process
(
const
std::vector<EBDataFrame *> &calodatafr)
11
{
12
std::vector<int>
out
;
13
return
out
;
14
}
15
//----------------------------------------------------------------------------------------
16
void
EcalFenixEtTot::process
(std::vector<std::vector <int> > &bypasslinout,
int
nStr,
int
bitMask, std::vector<int> &
output
)
17
{
18
19
for
(
unsigned
int
i
=0;
i
<output.size();
i
++){
20
output[
i
]= 0;
21
}
22
23
int
mask
= (1<<bitMask)-1;
24
for
(
int
istrip=0;istrip<nStr;istrip++){
25
for
(
unsigned
int
i
=0;
i
<bypasslinout[istrip].size();
i
++) {
26
output[
i
]+= (bypasslinout[istrip][
i
] &
mask
) ;
//fix bug inn case of EE: MSB are set for FG, so need to apply mask in summation.
27
if
(output[
i
]>mask) output[
i
]=
mask
;
28
}
29
}
30
return
;
31
}
32
//----------------------------------------------------------------------------------------
mps_fire.i
i
Definition:
mps_fire.py:277
EcalFenixEtTot::EcalFenixEtTot
EcalFenixEtTot()
Definition:
EcalFenixEtTot.cc:4
convertSQLitetoXML_cfg.output
output
Definition:
convertSQLitetoXML_cfg.py:32
RecoTauDiscriminantConfiguration.mask
mask
Definition:
RecoTauDiscriminantConfiguration.py:72
MillePedeFileConverter_cfg.out
out
Definition:
MillePedeFileConverter_cfg.py:31
EcalFenixEtTot::~EcalFenixEtTot
virtual ~EcalFenixEtTot()
Definition:
EcalFenixEtTot.cc:7
EcalFenixEtTot::process
virtual std::vector< int > process(const std::vector< EBDataFrame * > &)
Definition:
EcalFenixEtTot.cc:10
EcalFenixEtTot.h
Generated for CMSSW Reference Manual by
1.8.11