28 for(StripId=0;StripId<
StripNmb;StripId++) {
30 PulseHeightMapTMP.
height_[TimeId]=*(Cathodes+StripNmb*(TimeSliceNmb*LayerId+TimeId)+StripId);
32 PulseHeightMapTMP.
bx_=0;
73 for(
int l=0;
l<16;
l++){
124 uint32_t iS,iT,iL,jL,iR,jR;
130 std::cout<<
"!!!Warning Cluster has'nt local Maxima"<<std::endl;
138 for(iL=iS-1;iL>0;iL--) {
150 for(jL=iT-1;jL>0;jL--){
171 for(jR=iT+1;jR<16;jR++){
281 for(iS=iLS;iS<=iRS;iS++){
283 for(jT=iLT;jT<=iRT;jT++){
284 if(iS==0 || jT ==0 || iS==79 || jT==7)
continue;
318 GlobalMax=(
float) (GlobalMax/10.);
352 std::cout <<
"====================================================================" << std::endl;
353 std::cout <<
"debug information from StripClusterFinder" << std::endl;
357 <<
" Number of local Maximums " <<
MEStripClusters[
i].localMax.size() << std::endl;
365 std::cout <<
"Local Max: " <<
j+1 <<
" Strip: " << iS+1 <<
" Time: " << jT+1
366 <<
" Height: " <<
MEStripClusters[
i].ClusterPulseMapHeight[
k].height_[jT] << std::endl;
371 for(
int l=0;
l<16;
l++)
381 std::cout <<
"======================================================================" << std::endl;
std::vector< ClusterLocalMax > localMax
Strip Cluster Fit Data Object.
StripClusterFinder(int l, int s, int cf, int st)
ClusterLocalMax localMaxTMP
bool operator()(const StripClusterFitData &a, const StripClusterFitData &b) const
std::vector< StripClusterFitData > thePulseHeightMap
void DoAction(int layerId, float *cathodes)
std::vector< StripCluster > MEStripClusters