1 #if !defined(__CLING__) 8 #include "~/ER/beamtime/data/ERBeamTimeEventHeader.h" 20 TString inFile =
"he8_10_Left.reco.root";
21 TString inPath =
"~/media/analysis_nas/exp201810/He8/reco/";
23 TFile *fr =
new TFile(inPath + inFile);
24 TTree *tr = (TTree*)fr->Get(
"er");
30 TCanvas *c1 =
new TCanvas(
"c1",
"BEAM projections", 1500, 1000);
34 tr->SetMarkerColor(kBlack);
36 tr->Draw(
"fYt:fXt",
" BeamDetTrack.fYt>-2. && BeamDetTrack.fXt>-2.",
"col");
37 tr->SetMarkerColor(kRed);