CMS 3D CMS Logo

EcalFenixEtStrip.cc
Go to the documentation of this file.
2 
4 }
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 
int i
Definition: DBlmapReader.cc:9
virtual ~EcalFenixEtStrip()
void process(const std::vector< std::vector< int > > &linout, int nrXtals, std::vector< int > &output)