[BLAST_ANAWARE] MC results (fwd)

From: Tancredi Botto (tancredi@mitlns.mit.edu)
Date: Sat Aug 31 2002 - 16:36:50 EDT


Thanks vitaly,

Shifters, we should compare the number of ep events paddle by paddle
that you measure with the montecarlo prediction (relative change first,
if possible the absolute scale as well: i once estimated that
effectively we have ca. 2x10^4 at/cm2 at 1 SCCM )

---------- Forwarded message ----------
Date: Sat, 31 Aug 2002 14:11:13 -0400
From: Vitaliy Ziskin <vziskin@mit.edu>
To: Tancredi Botto <tancredi@lns.mit.edu>
Subject: plot that you wanted

Tancredy, here is the plot that you wanted. Let me know if you need
more stuff. I also include the macro that I used to generate this plot
and the ntuple file is :
/home/blast/seely/blast/run/jrecon.root.

                                        Cheers, Vitaliy




{
gROOT->Reset();

TCanvas *c1 = new TCanvas("c1","c1",1000,800);

c1->Divide(4,4);
c1->Draw();
  
TH1F *h[16];

TFile f("jrecon.root");

TNtuple *ntp = (TNtuple*)f->Get("ntp");

char hisname[20], selection[20], cut[20];

for (int i = 0; i < 16; i++){

  sprintf(hisname,"h%i",i);
  sprintf(selection,"padp>>%s",hisname);
  sprintf(cut,"pade==%i",i);

  h[i] = new TH1F(hisname,hisname,32,0,16);

  c1->cd(i+1);
  ntp->Draw(selection,cut);

}
}



This archive was generated by hypermail 2.1.2 : Mon Feb 24 2014 - 14:07:28 EST