Go to the documentation of this file.00001 #include <SimCalorimetry/EcalTrigPrimAlgos/interface/EcalFenixEtStrip.h>
00002
00003 EcalFenixEtStrip::EcalFenixEtStrip(){
00004 }
00005 EcalFenixEtStrip::~EcalFenixEtStrip(){
00006 }
00007
00008 void EcalFenixEtStrip::process(const std::vector<std::vector<int> > &linout,int nrXtals, std::vector<int> &output)
00009 {
00010 for (unsigned int i =0;i<output.size();i++){
00011 output[i]=0;
00012 }
00013 for(int ixtal=0;ixtal<nrXtals;ixtal++){
00014 for (unsigned int i=0;i<output.size();i++) {
00015 output[i]+=(linout[ixtal])[i];
00016 }
00017 }
00018 for (unsigned int i=0;i<output.size();i++) {
00019 if(output[i]>0X3FFFF)output[i]=0X3FFFF;
00020 }
00021 return;
00022 }
00023
00024
00025
00026