7 TString path=
"/data.local1/kgoetzen/data/softrig/fsim/merge4/shr/";
8 TChain
n(TString::Format(
"n%3d",mode));
9 n.Add(TString::Format(
"%sM*_n%3d_*root",path.Data(),
mode));
11 TCanvas *
c1=
new TCanvas(
"c1",
"c1",10,10,800,600);
13 double min = n.GetMinimum(var),
max = n.GetMaximum(var),
d=
max-
min;
26 TH2F *
h=
new TH2F(
"h",var+
" (mode "+TString::Format(
"%d",mode)+
")",360,2.2,5.8,200,min,
max);
28 h->SetXTitle(
"E_{cm} [GeV]");
31 n.Draw(var+
":mode/1e8-0.13+recmode*0.01>>h",
"xmct");
32 n.Draw(var+
":mode/1e5+0.05>>+h",
"mode%1000==900");
33 n.Draw(var+
":mode/1e5+0.03>>+h",
"mode%1000==900");
34 n.Draw(var+
":mode/1e5+0.04>>+h",
"mode%1000==900");
35 n.Draw(var+
":mode/1e5+0.06>>+h",
"mode%1000==900");
int inspectvar(int mode, TString var, TString opt="cont")
friend F32vec4 max(const F32vec4 &a, const F32vec4 &b)
friend F32vec4 min(const F32vec4 &a, const F32vec4 &b)