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

Go to the source code of this file.

Functions

Reaction SetBranchAddress ("Particles", &evt)
can Divide (3, 3,.001,.001)
TLorentzVector ggg (0, 0, 1.5, 1.5)
 for (Int_t i=0;i< nentries;i++)
 makeDistributionManager () -> Exec("nucleus_fermi:gamma")
can cd (1)
hThetaEta SetLineColor (3)
hThetaEta Draw ()
can cd (2)
can cd (3)
can cd (4)
hPhiEta SetLineColor (4)
can cd (5)
can cd (6)
can cd (7)
hMomAf SetLineColor (2)
can cd (8)
can cd (9)
can Print ("g4He_BreakUp.eps")
can Print ("g4He_BreakUp.root")
can Modified ()

Variables

TFile * f = (TFile*) gFile
TTree * Reaction = (TTree*)gDirectory->Get("data")
TClonesArray * evt =new TClonesArray("PParticle", 11)
PParticle * par [11]
const double r2d =180./3.14159265358979323846
TH1F * hMomAf = new TH1F("hMomAf" ,"Momentum final Nucleus" , 1000,0.,1.)
TH1F * hMomAfRec = new TH1F("hMomAfRec","Fermi Momentum Reconstructed",1000,0.,1.)
TH1F * hThetaEta = new TH1F("hThetaEta","Polar angle theta of the Eta",180,0.,180.)
TH1F * hThetaPi0 = new TH1F("hThetaPi0","Polar angle theta of the Pi0",180,0.,180.)
TH1F * hThetaNeu = new TH1F("hThetaNeu","Polar angle theta of the Neutron",180,0.,180.)
TH1F * hPhiEta = new TH1F("hPhiEta","Azimuthal angle phi of the Eta",360,-180.,180.)
TH1F * hPhiPi0 = new TH1F("hPhiPi0","Azimuthal angle phi of the Pi0",360,-180.,180.)
TH1F * hPhiNeu = new TH1F("hPhiNeu","Azimuthal angle phi of the Neutron",360,-180.,180.)
TCanvas * can = new TCanvas("can","g+4He->Pi0+Eta+n+3He",200,10,600,400)
TLorentzVector NewAfinal
TLorentzVector GrandParent
TLorentzVector RecNeutron
TLorentzVector Pi0plusEta
TLorentzVector NewNeutron
TLorentzVector Eta2g
TLorentzVector Pi02g
TLorentzVector Ainitial
TLorentzVector Afinal
TVector3 MomAf
TVector3 NewAfinalMom
double massN
double massAi
double massAf
double BeamEnergy
Int_t nentries = Reaction->GetEntries()
double px
double py
double pz
TH1F * h1 = new TH1F("h1","Distribution of Fermi Momentum inside Helium-4",1000,0.,1.)
PFermiMomentumGA * f1

Function Documentation

◆ cd() [1/9]

can cd ( 1 )

◆ cd() [2/9]

can cd ( 2 )

◆ cd() [3/9]

can cd ( 3 )

◆ cd() [4/9]

can cd ( 4 )

◆ cd() [5/9]

can cd ( 5 )

◆ cd() [6/9]

can cd ( 6 )

◆ cd() [7/9]

can cd ( 7 )

◆ cd() [8/9]

can cd ( 8 )

◆ cd() [9/9]

can cd ( 9 )

◆ Divide()

can Divide ( 3 ,
3 ,
. 001,
. 001 )

◆ Draw()

hThetaEta Draw ( )

◆ for()

for ( )

Definition at line 49 of file analyze_g4He.C.

◆ ggg()

TLorentzVector ggg ( 0 ,
0 ,
1. 5,
1. 5 )

◆ makeDistributionManager()

makeDistributionManager ( ) -> Exec("nucleus_fermi:gamma")

◆ Modified()

can Modified ( )

◆ Print() [1/2]

can Print ( "g4He_BreakUp.eps" )

◆ Print() [2/2]

can Print ( "g4He_BreakUp.root" )

◆ SetBranchAddress()

Reaction SetBranchAddress ( "Particles" ,
& evt )

◆ SetLineColor() [1/3]

hMomAf SetLineColor ( 2 )

◆ SetLineColor() [2/3]

hThetaEta SetLineColor ( 3 )

◆ SetLineColor() [3/3]

hPhiEta SetLineColor ( 4 )

Variable Documentation

◆ Afinal

TLorentzVector Afinal

Definition at line 37 of file analyze_g4He.C.

◆ Ainitial

TLorentzVector Ainitial

Definition at line 36 of file analyze_g4He.C.

◆ BeamEnergy

double BeamEnergy

Definition at line 46 of file analyze_g4He.C.

◆ can

TCanvas* can = new TCanvas("can","g+4He->Pi0+Eta+n+3He",200,10,600,400)

Definition at line 26 of file analyze_g4He.C.

◆ Eta2g

TLorentzVector Eta2g

Definition at line 34 of file analyze_g4He.C.

◆ evt

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

Definition at line 9 of file analyze_g4He.C.

◆ f

TFile* f = (TFile*) gFile

Definition at line 5 of file analyze_g4He.C.

◆ f1

Initial value:
=
((PFermiMomentumGA*)makeDistributionManager()->GetDistribution("gn_in_4He"))
PDistributionManager * makeDistributionManager()

Definition at line 102 of file analyze_g4He.C.

◆ GrandParent

TLorentzVector GrandParent

Definition at line 30 of file analyze_g4He.C.

◆ h1

TH1F* h1 = new TH1F("h1","Distribution of Fermi Momentum inside Helium-4",1000,0.,1.)

Definition at line 98 of file analyze_g4He.C.

◆ hMomAf

TH1F* hMomAf = new TH1F("hMomAf" ,"Momentum final Nucleus" , 1000,0.,1.)

Definition at line 16 of file analyze_g4He.C.

◆ hMomAfRec

TH1F* hMomAfRec = new TH1F("hMomAfRec","Fermi Momentum Reconstructed",1000,0.,1.)

Definition at line 17 of file analyze_g4He.C.

◆ hPhiEta

TH1F* hPhiEta = new TH1F("hPhiEta","Azimuthal angle phi of the Eta",360,-180.,180.)

Definition at line 22 of file analyze_g4He.C.

◆ hPhiNeu

TH1F* hPhiNeu = new TH1F("hPhiNeu","Azimuthal angle phi of the Neutron",360,-180.,180.)

Definition at line 24 of file analyze_g4He.C.

◆ hPhiPi0

TH1F* hPhiPi0 = new TH1F("hPhiPi0","Azimuthal angle phi of the Pi0",360,-180.,180.)

Definition at line 23 of file analyze_g4He.C.

◆ hThetaEta

TH1F* hThetaEta = new TH1F("hThetaEta","Polar angle theta of the Eta",180,0.,180.)

Definition at line 19 of file analyze_g4He.C.

◆ hThetaNeu

TH1F* hThetaNeu = new TH1F("hThetaNeu","Polar angle theta of the Neutron",180,0.,180.)

Definition at line 21 of file analyze_g4He.C.

◆ hThetaPi0

TH1F* hThetaPi0 = new TH1F("hThetaPi0","Polar angle theta of the Pi0",180,0.,180.)

Definition at line 20 of file analyze_g4He.C.

◆ massAf

double massAf

Definition at line 45 of file analyze_g4He.C.

◆ massAi

double massAi

Definition at line 44 of file analyze_g4He.C.

◆ massN

double massN

Definition at line 43 of file analyze_g4He.C.

◆ MomAf

TVector3 MomAf

Definition at line 40 of file analyze_g4He.C.

◆ nentries

Int_t nentries = Reaction->GetEntries()

Definition at line 48 of file analyze_g4He.C.

◆ NewAfinal

TLorentzVector NewAfinal

Definition at line 29 of file analyze_g4He.C.

◆ NewAfinalMom

TVector3 NewAfinalMom

Definition at line 41 of file analyze_g4He.C.

◆ NewNeutron

TLorentzVector NewNeutron

Definition at line 33 of file analyze_g4He.C.

◆ par

PParticle* par[11]

Definition at line 12 of file analyze_g4He.C.

◆ Pi02g

TLorentzVector Pi02g

Definition at line 35 of file analyze_g4He.C.

◆ Pi0plusEta

TLorentzVector Pi0plusEta

Definition at line 32 of file analyze_g4He.C.

◆ px

double px

Definition at line 97 of file analyze_g4He.C.

◆ py

double py

Definition at line 97 of file analyze_g4He.C.

◆ pz

double pz

Definition at line 97 of file analyze_g4He.C.

◆ r2d

const double r2d =180./3.14159265358979323846

Definition at line 14 of file analyze_g4He.C.

◆ Reaction

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

Definition at line 7 of file analyze_g4He.C.

◆ RecNeutron

TLorentzVector RecNeutron

Definition at line 31 of file analyze_g4He.C.