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

Go to the source code of this file.

Functions

Reaction SetBranchAddress ("Particles", &evt)
mass Sumw2 ()
 for (Int_t i=0;i< nentries;i++)
mass SetMinimum (0.000000001)
mass Draw ("e1")
mass SetMarkerColor (2)
mass SetLineColor (2)
mass2 SetXTitle ("M [GeV/c^{2}]")
mass2 SetYTitle ("counts * BR")
mass2 Draw ("")
mass SetMarkerStyle (4)
mass Draw ("samee1")
mass2 SetMarkerColor (4)
mass2 SetLineColor (4)

Variables

TFile * f = new TFile("eta_dalitz.root")
TTree * Reaction = (TTree*)gDirectory->Get("data")
TClonesArray * evt = new TClonesArray("PParticle", 7)
PParticle * par [7]
Int_t nentries = Reaction->GetEntries()
TH1F * mass = new TH1F("mass", "Dilepton mass", 100, 0, 1.)
PParticle * dil =NULL
PParticle * d =NULL
TFile * f2 = new TFile("eta_generator.root")
TH1F * mass2 = new TH1F("mass2", "Dilepton mass", 100, 0, 1.)

Function Documentation

◆ Draw() [1/3]

mass2 Draw ( "" )

◆ Draw() [2/3]

histo3 Draw ( "e1" )

◆ Draw() [3/3]

mass Draw ( "samee1" )

◆ for()

for ( )

Definition at line 22 of file ana_eta_generator.C.

◆ SetBranchAddress()

Reaction SetBranchAddress ( "Particles" ,
& evt )

◆ SetLineColor() [1/2]

mass SetLineColor ( 2 )

◆ SetLineColor() [2/2]

mass2 SetLineColor ( 4 )

◆ SetMarkerColor() [1/2]

mass SetMarkerColor ( 2 )

◆ SetMarkerColor() [2/2]

mass2 SetMarkerColor ( 4 )

◆ SetMarkerStyle()

mass SetMarkerStyle ( 4 )

◆ SetMinimum()

mass SetMinimum ( 0. 000000001)

◆ SetXTitle()

mass2 SetXTitle ( "M " [GeV/c^{2}])

◆ SetYTitle()

mass2 SetYTitle ( "counts * BR" )

◆ Sumw2()

mass Sumw2 ( )

Variable Documentation

◆ d

PParticle * d =NULL

Definition at line 20 of file ana_eta_generator.C.

◆ dil

PParticle* dil =NULL

Definition at line 20 of file ana_eta_generator.C.

◆ evt

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

Definition at line 12 of file ana_eta_generator.C.

◆ f

TFile* f = new TFile("eta_dalitz.root")

Definition at line 10 of file ana_eta_generator.C.

◆ f2

TFile* f2 = new TFile("eta_generator.root")

Definition at line 40 of file ana_eta_generator.C.

◆ mass

TH1F* mass = new TH1F("mass", "Dilepton mass", 100, 0, 1.)

Definition at line 17 of file ana_eta_generator.C.

◆ mass2

TH1F* mass2 = new TH1F("mass2", "Dilepton mass", 100, 0, 1.)

Definition at line 46 of file ana_eta_generator.C.

◆ nentries

nentries = Reaction->GetEntries()

Definition at line 16 of file ana_eta_generator.C.

◆ par

PParticle* par[7]

Definition at line 14 of file ana_eta_generator.C.

◆ Reaction

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

Definition at line 11 of file ana_eta_generator.C.