CMS 3D CMS Logo

EcalFenixEtStrip.cc

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     output[i]>>2 ;  //FIXME
00020     if(output[i]>0X3FFFF)output[i]=0X3FFFF;
00021   }
00022   return;
00023 }
00024   
00025   
00026 
00027                                                                

Generated on Tue Jun 9 17:46:17 2009 for CMSSW by  doxygen 1.5.4