Skip to content
Snippets Groups Projects
Commit 3198c20d authored by Pierre Morfouace's avatar Pierre Morfouace
Browse files

beginning of ShowResult.C for mask cats test

parent e2cf9fb2
No related branches found
No related tags found
No related merge requests found
TChain* chain=NULL;
TCanvas* c1=NULL;
void ShowResult()
{
LoadChain();
c1 = new TCanvas("Mask CATS E644 experiment","Mask CATS E644 experiment",600,600);
c1->cd();
// Y versus X for CATS1 detector
chain->Draw("PositionY[0]:PositionX[0]>>h(600,-30,30,600,-30,30)","","colz");
return 0;
}
////////////////////////////////////////////////////////////////////////////////
void LoadChain(){
chain = new TChain("AnalysedTree");
chain->Add("../../Outputs/Analysis/Analysed_test_cats_mask_e644.root");
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment