BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Loading...
Searching...
No Matches
RadLenAna.C File Reference
#include "TMath.h"
#include "TROOT.h"
#include <TChain.h>
#include <TClonesArray.h>
#include <TH2F.h>
#include <TVector3.h>
Include dependency graph for RadLenAna.C:

Go to the source code of this file.

Functions

void DrawHisto (TH2F *h, TString xName, TString yName)
void DrawHisto (TH1F *h, TString xName, TString yName, TCanvas *c)
void RadLenAna (TString infile1="RadLenSim.root")

Function Documentation

◆ DrawHisto() [1/2]

void DrawHisto ( TH1F * h,
TString xName,
TString yName,
TCanvas * c )

Definition at line 395 of file RadLenAna.C.

References TAxis::CenterTitle(), TH1::Draw(), TNamed::GetName(), TH1::GetXaxis(), TH1::GetYaxis(), TPad::SaveAs(), TNamed::SetTitle(), and TAttAxis::SetTitleOffset().

Here is the call graph for this function:

◆ DrawHisto() [2/2]

void DrawHisto ( TH2F * h,
TString xName,
TString yName )

Definition at line 378 of file RadLenAna.C.

References TAxis::CenterTitle(), TH1::Draw(), TNamed::GetName(), TH1::GetXaxis(), TH1::GetYaxis(), TH1::GetZaxis(), TPad::SaveAs(), TNamed::SetTitle(), and TAttAxis::SetTitleOffset().

Referenced by RadLenAna().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ RadLenAna()

void RadLenAna ( TString infile1 = "RadLenSim.root")

Definition at line 20 of file RadLenAna.C.

References TChain::Add(), TObjArray::At(), Dist(), DrawHisto(), TH2::Fill(), TChain::GetEntries(), TObjArray::GetEntriesFast(), TChain::GetEntry(), TMath::Log(), TVector3::Mag(), TVector3::Perp(), TVector3::Phi(), TMath::R(), TMath::RadToDeg(), TChain::SetBranchAddress(), TMath::Tan(), TVector3::Theta(), TVector3::X(), TVector3::Y(), TVector3::Z(), zMax, and zMin.

Here is the call graph for this function: