26 for (StripId = 0; StripId <
StripNmb; StripId++) {
28 PulseHeightMapTMP.
height_[TimeId] = *(Cathodes + StripNmb * (TimeSliceNmb * LayerId + TimeId) + StripId);
30 PulseHeightMapTMP.
bx_ = 0;
31 PulseHeightMapTMP.
channel_ = StripId;
72 for (
int l = 0;
l < 16;
l++) {
93 for (
j = 1;
j < 15;
j++) {
118 uint32_t iS, iT, iL, jL, iR, jR;
124 std::cout <<
"!!!Warning Cluster has'nt local Maxima" << std::endl;
132 for (iL = iS - 1; iL > 0; iL--) {
144 for (jL = iT - 1; jL > 0; jL--) {
165 for (jR = iT + 1; jR < 16; jR++) {
181 }
while (find2match);
243 int iLS, iRS, iLT, iRT;
262 for (iS = iLS; iS <= iRS; iS++) {
265 for (jT = iLT; jT <= iRT; jT++) {
266 if (iS == 0 || jT == 0 || iS == 79 || jT == 7)
301 GlobalMax = (
float)(GlobalMax / 10.);
334 std::cout <<
"====================================================================" << std::endl;
335 std::cout <<
"debug information from StripClusterFinder" << std::endl;
348 std::cout <<
"Local Max: " <<
j + 1 <<
" Strip: " << iS + 1 <<
" Time: " << jT + 1
349 <<
" Height: " <<
MEStripClusters[
i].ClusterPulseMapHeight[
k].height_[jT] << std::endl;
354 for (
int l = 0;
l < 16;
l++)
364 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