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

Go to the source code of this file.

Functions

decay Add ("eta, parent")
decay Add ("pi0, daughter, primary")
decay Add ("pi+, daughter, s1")
decay Add ("pi-, daughter, s2")
decay SetMax (hf1old->GetMaximum())
decay AddHistogram (hf1old, "_x = (_s2 + _primary)->M2(); _y = (_s1 + _primary)->M2(); _f = Eval();")
 makeDistributionManager () -> Add(decay)
my_reaction Do (hf1new, "_x = ([pi-] + [pi0])->M2() ; _y = ([pi+] + [pi0])->M2()")
my_reaction Print ()
my_reaction Loop (100000)
hf1new Draw ("box")

Variables

PDalitzDistribution * decay
TFile * f = new TFile("histo.root")
TH2F * hf1old = new TH2F(*hf1)
TH2F * hf1new = new TH2F("hf1new", "", 100, 0.06, .2, 100, 0.06, .2)
PReaction my_reaction ("2.2", "p", "p", "p p eta [pi+ pi- pi0]", NULL, 1, 0, 0, 0)

Function Documentation

◆ Add() [1/4]

decay Add ( " eta,
parent"  )

◆ Add() [2/4]

decay Add ( "pi+ ,
daughter ,
s1"  )

◆ Add() [3/4]

decay Add ( "pi- ,
daughter ,
s2"  )

◆ Add() [4/4]

decay Add ( " pi0,
daughter ,
primary"  )

◆ AddHistogram()

decay AddHistogram ( hf1old )

◆ Do()

◆ Draw()

hf1new Draw ( "box" )

◆ Loop()

my_reaction Loop ( 100000 )

◆ makeDistributionManager()

makeDistributionManager ( ) -> Add(decay)

◆ Print()

my_reaction Print ( )

◆ SetMax()

decay SetMax ( hf1old-> GetMaximum())

Variable Documentation

◆ decay

Initial value:
=
new PDalitzDistribution("my_hadronic_decay",
"Eta matrix element for decay into charged pions")

Definition at line 7 of file user_eta_3pi_decay_histo.C.

◆ f

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

Definition at line 19 of file user_eta_3pi_decay_histo.C.

◆ hf1new

TH2F* hf1new = new TH2F("hf1new", "", 100, 0.06, .2, 100, 0.06, .2)

Definition at line 26 of file user_eta_3pi_decay_histo.C.

◆ hf1old

TH2F* hf1old = new TH2F(*hf1)

Definition at line 20 of file user_eta_3pi_decay_histo.C.

◆ my_reaction

PReaction my_reaction("2.2", "p", "p", "p p eta [pi+ pi- pi0]", NULL, 1, 0, 0, 0) ( "2.2" ,
"p" ,
"p" ,
"p p eta " [pi+pi- pi0],
NULL ,
1 ,
0 ,
0 ,
0  )