Pluto v6.3.0
Loading...
Searching...
No Matches
analyze_pp_elastic.C File Reference

Go to the source code of this file.

Functions

 if (!f)
Reaction SetBranchAddress ("Particles", &evt)
can SetLogy (1)
 for (Int_t i=0;i< nentries;i++)
hf1 Draw ()

Variables

TTree * Reaction = (TTree*)gDirectory->Get("data")
TClonesArray * evt = new TClonesArray("PParticle", 3)
const double r2d =180./3.14159265358979323846
PParticle * par [3]
TH1F * hf1 =new TH1F("hf1", "#Theta_{lab} (deg.)", 20, 0, 0.9)
TCanvas * can = new TCanvas("canvas", "pp elastic", 200, 10, 600, 400)
Int_t nentries = Reaction->GetEntries()

Function Documentation

◆ Draw()

hf1 Draw ( )

◆ for()

for ( )

Definition at line 17 of file analyze_pp_elastic.C.

◆ if()

if ( ! f)

Definition at line 6 of file analyze_pp_elastic.C.

◆ SetBranchAddress()

Reaction SetBranchAddress ( "Particles" ,
& evt )

◆ SetLogy()

can SetLogy ( 1 )

Variable Documentation

◆ can

TCanvas* can = new TCanvas("canvas", "pp elastic", 200, 10, 600, 400)

Definition at line 14 of file analyze_pp_elastic.C.

◆ evt

TClonesArray* evt = new TClonesArray("PParticle", 3)

Definition at line 8 of file analyze_pp_elastic.C.

◆ hf1

TH1F* hf1 =new TH1F("hf1", "#Theta_{lab} (deg.)", 20, 0, 0.9)

Definition at line 13 of file analyze_pp_elastic.C.

◆ nentries

Int_t nentries = Reaction->GetEntries()

Definition at line 16 of file analyze_pp_elastic.C.

◆ par

PParticle* par[3]

Definition at line 12 of file analyze_pp_elastic.C.

◆ r2d

const double r2d =180./3.14159265358979323846

Definition at line 11 of file analyze_pp_elastic.C.

◆ Reaction

TTree* Reaction = (TTree*)gDirectory->Get("data")

Definition at line 7 of file analyze_pp_elastic.C.