|
BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
|
#include "TCanvas.h"#include "TF1.h"#include "TFile.h"#include "TGraph.h"#include "TGraphErrors.h"#include "TH1F.h"#include "TLegend.h"#include "TLorentzVector.h"#include "TStyle.h"#include "TSystem.h"#include "TTreeReader.h"#include "TTreeReaderArray.h"#include "TTreeReaderValue.h"Go to the source code of this file.
Functions | |
| void | DrawNicePlot (TH1F *h, Int_t S, Float_t B) |
| Double_t | backgroundChe (Double_t *xx, Double_t *p) |
| Double_t | backgroundChe2 (Double_t *xx, Double_t *p) |
| Double_t | backgroundChe3 (Double_t *xx, Double_t *p) |
| Double_t | backgroundChe4 (Double_t *xx, Double_t *p) |
| Double_t | gausPeak (Double_t *x, Double_t *par) |
| Double_t | fitFunction (Double_t *x, Double_t *par) |
| void | fitator (TH1F *h, Double_t &Tout, Double_t &Bout) |
| void | h3l_phys (TString inputFileName="/home/merz/data/h3l_sim/h3lSelect_XeCsI_3.8AGeV_mb_4mln.root", TString outputFileName="/home/merz/data/h3l_sim/h3lPhys_XeCsI_3.8AGeV_mb_4mln.root") |
Variables | |
| const Float_t | minBound = 2.96 |
| const Float_t | maxBound = 3.02 |
| const Float_t | massTheor = 2.992 |
Definition at line 119 of file h3l_phys.C.
Definition at line 133 of file h3l_phys.C.
Definition at line 148 of file h3l_phys.C.
References maxBound, minBound, and x.
Referenced by fitFunction().
Definition at line 28 of file h3l_phys.C.
References TMath::Abs(), TH1::Draw(), TH1::GetFunction(), TNamed::GetName(), TAxis::GetNbins(), TF1::GetParameter(), TF1::GetParError(), TH1::GetXaxis(), TH1::GetYaxis(), maxBound, minBound, TAttAxis::SetLabelFont(), TAttLine::SetLineColor(), TAttLine::SetLineStyle(), TAttMarker::SetMarkerColor(), TAttMarker::SetMarkerSize(), TAttMarker::SetMarkerStyle(), TH1::SetMinimum(), TF1::SetNpx(), TH1::SetTitle(), TNamed::SetTitle(), TAttAxis::SetTitleFont(), TAttAxis::SetTitleOffset(), TAttAxis::SetTitleSize(), and TMath::Sqrt().
Referenced by h3l_phys().
Definition at line 178 of file h3l_phys.C.
References backgroundChe4(), TF1::Eval(), TH1::Fit(), fitFunction(), TF1::FixParameter(), TH1::GetBinCenter(), TH1::GetBinContent(), TH1::GetBinError(), TH1::GetEntries(), TF1::GetParameter(), i, massTheor, maxBound, minBound, TH1::SetBinContent(), TH1::SetBinError(), TAttLine::SetLineColor(), TF1::SetParameter(), and TF1::SetParLimits().
Referenced by h3l_phys().
Definition at line 173 of file h3l_phys.C.
References backgroundChe4(), gausPeak(), and x.
Definition at line 165 of file h3l_phys.C.
References TMath::Exp(), and x.
Referenced by fitFunction().
| void h3l_phys | ( | TString | inputFileName = "/home/merz/data/h3l_sim/h3lSelect_XeCsI_3.8AGeV_mb_4mln.root", |
| TString | outputFileName = "/home/merz/data/h3l_sim/h3lPhys_XeCsI_3.8AGeV_mb_4mln.root" ) |
Definition at line 238 of file h3l_phys.C.
References TFile::Close(), DrawNicePlot(), TH1::Fill(), TGraph::Fit(), fitator(), TNamed::GetName(), ROOT::Internal::TTreeReaderArrayBase::GetSize(), TGraph::GetXaxis(), TGraph::GetYaxis(), i, m, TLorentzVector::Mag(), TTreeReader::Next(), TFile::Open(), TLorentzVector::P(), TLorentzVector::Pt(), TLorentzVector::Rapidity(), TGraph::SetName(), TGraph::SetPoint(), TGraphErrors::SetPointError(), TAxis::SetRangeUser(), TNamed::SetTitle(), TLorentzVector::SetXYZM(), TMath::Sqrt(), TH1::Sumw2(), TObject::Write(), and y.
| const Float_t massTheor = 2.992 |
Definition at line 22 of file h3l_phys.C.
| const Float_t maxBound = 3.02 |
Definition at line 20 of file h3l_phys.C.
| const Float_t minBound = 2.96 |
Definition at line 19 of file h3l_phys.C.