|
BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
|
#include <Rtypes.h>#include <TCanvas.h>#include <TChain.h>#include <TClonesArray.h>#include <TF1.h>#include <TH1.h>#include <TH2.h>#include <TMath.h>#include <TPad.h>#include <TString.h>#include <TVirtualPad.h>#include "macro/run/bmnloadlibs.C"Go to the source code of this file.
Functions | |
| Double_t | background_new (Double_t *x, Double_t *par) |
| Double_t | sig_gaus (Double_t *x, Double_t *par) |
| void | EvalQA (TString fileName="tmp.root", Bool_t useCuts=true, Bool_t drawFit=true, TString outNameInvMass="im.pdf", TString outNameFitRes="fr.root", Double_t thr=150.0, int32_t pdg=3122) |
Variables | |
| const Int_t | dim = 2 |
Definition at line 23 of file EvalQA.C.
References TMath::Exp(), TMath::Sqrt(), and x.
| void EvalQA | ( | TString | fileName = "tmp.root", |
| Bool_t | useCuts = true, | ||
| Bool_t | drawFit = true, | ||
| TString | outNameInvMass = "im.pdf", | ||
| TString | outNameFitRes = "fr.root", | ||
| Double_t | thr = 150.0, | ||
| int32_t | pdg = 3122 ) |
Definition at line 34 of file EvalQA.C.
References TLegend::AddEntry(), TTree::Branch(), TVirtualPad::cd(), TAxis::CenterTitle(), TFile::Close(), TStopwatch::CpuTime(), TString::Data(), TF1::Draw(), TH1::Draw(), TLegend::Draw(), TTree::Draw(), TF1::EvalPar(), f, TTree::Fill(), TH1::FindBin(), TH1::Fit(), TH1::GetBinContent(), TH1::GetBinWidth(), TH1::GetEntries(), TTree::GetEntries(), TNamed::GetName(), TH1::GetNbinsX(), TF1::GetParameters(), TDatabasePDG::GetParticle(), TH1::GetXaxis(), TH1::GetYaxis(), i, TDatabasePDG::Instance(), TF1::Integral(), TH1::Integral(), TParticlePDG::Mass(), TFile::Open(), ROOT::Fit::FitResult::Parameter(), TStopwatch::RealTime(), TAttAxis::SetLabelSize(), TAttPad::SetLeftMargin(), TAttLine::SetLineColor(), TAttLine::SetLineWidth(), TAttMarker::SetMarkerColor(), TAttMarker::SetMarkerStyle(), TH1::SetMinimum(), TF1::SetParameters(), TAttText::SetTextFont(), TAttText::SetTextSize(), TNamed::SetTitle(), TAttAxis::SetTitleOffset(), TAttAxis::SetTitleSize(), sig_gaus(), TStopwatch::Start(), TStopwatch::Stop(), thr, TFile::Write(), and x.
Definition at line 28 of file EvalQA.C.
References TMath::Exp(), and x.
Referenced by EvalQA().