31 for (StripId = 0; StripId <
StripNmb; StripId++) {
35 PulseHeightMapTMP.
bx_ = 0;
36 PulseHeightMapTMP.
channel_ = StripId;
77 for (
int l = 0;
l < 16;
l++) {
98 for (
j = 1;
j < 15;
j++) {
123 uint32_t iS, iT, iL, jL, iR, jR;
129 std::cout <<
"!!!Warning Cluster has'nt local Maxima" << std::endl;
137 for (iL = iS - 1; iL > 0; iL--) {
149 for (jL = iT - 1; jL > 0; jL--) {
170 for (jR = iT + 1; jR < 16; jR++) {
182 bool find2match =
true;
185 }
while (find2match);
247 int iLS, iRS, iLT, iRT;
266 for (iS = iLS; iS <= iRS; iS++) {
269 for (jT = iLT; jT <= iRT; jT++) {
270 if (iS == 0 || jT == 0 || (!
is7DCFEBs && (iS == 79)) || (
is7DCFEBs && (iS == 111)) || jT == 7)
305 GlobalMax = (
float)(GlobalMax / 10.);
338 std::cout <<
"====================================================================" << std::endl;
339 std::cout <<
"debug information from StripClusterFinder" << std::endl;
352 std::cout <<
"Local Max: " <<
j + 1 <<
" Strip: " << iS + 1 <<
" Time: " << jT + 1
353 <<
" Height: " <<
MEStripClusters[
i].ClusterPulseMapHeight[
k].height_[jT] << std::endl;
358 for (
int l = 0;
l < 16;
l++)
368 std::cout <<
"======================================================================" << std::endl;
372 return a.channel_ <
b.channel_;
std::vector< ClusterLocalMax > localMax
Strip Cluster Fit Data Object.
StripClusterFinder(int l, int s, int cf, int st, bool ME11=false)
ClusterLocalMax localMaxTMP
std::vector< StripClusterFitData > thePulseHeightMap
void DoAction(int layerId, float *cathodes)
std::vector< StripCluster > MEStripClusters
bool operator()(const StripClusterFitData &a, const StripClusterFitData &b) const