Found 13 candidate peaks
posx= 46, posy= 44, value=1962
posx= 39, posy= 4, value=1829
posx= 46, posy= 19, value=1762
posx= 50, posy= 32, value=1745
posx= 23, posy= 56, value=1710
posx= 35, posy= 48, value=1546
posx= 19, posy= 3, value=1524
posx= 39, posy= 58, value=1499
posx= 15, posy= 22, value=1376
posx= 38, posy= 16, value=1170
posx= 4, posy= 21, value=1166
posx= 10, posy= 16, value=1013
posx= 8, posy= 35, value=708
void Src3() {
for (i=0;i<nbinsx;i++)
for (i=0;i<nbinsx;i++)
auto search = (
TH2F*)
f->Get(
"search1");
for (i = 0; i < nbinsx; i++){
for (j = 0; j < nbinsy; j++){
source[i][j] = search->GetBinContent(i + 1,j + 1);
}
}
printf("Found %d candidate peaks\n",nfound);
search->Draw("CONT");
for (i=0;i<nfound;i++) {
printf(
"posx= %d, posy= %d, value=%d\n",(
Int_t)(PositionX[i]+0.5), (
Int_t)(PositionY[i]+0.5),
m->DrawMarker(PositionX[i],PositionY[i]);
}
}
R__EXTERN TStyle * gStyle
A ROOT file is a suite of consecutive data records (TKey instances) with a well defined format.
2-D histogram with a float per channel (see TH1 documentation)}
Advanced 2-dimensional spectra processing.
void SetOptStat(Int_t stat=1)
The type of information printed in the histogram statistics box can be selected via the parameter mod...
static constexpr double s
#define dest(otri, vertexptr)