BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Loading...
Searching...
No Matches
extractVertAppr.C File Reference
#include "macro/run/bmnloadlibs.C"
#include <TMath.h>
Include dependency graph for extractVertAppr.C:

Go to the source code of this file.

Functions

Int_t computeIntegral (TH1F *, Double_t, Double_t)
void extractVertAppr (TString filename="")

Function Documentation

◆ computeIntegral()

Int_t computeIntegral ( TH1F * h,
Double_t xmin,
Double_t xmax )

Definition at line 70 of file extractVertAppr.C.

References TAxis::FindBin(), TH1::GetXaxis(), and TH1::Integral().

Referenced by extractVertAppr().

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

◆ extractVertAppr()

void extractVertAppr ( TString filename = "")

Definition at line 11 of file extractVertAppr.C.

References TMath::Abs(), TChain::Add(), bmnloadlibs(), computeIntegral(), f, TChain::GetEntries(), TChain::GetEntry(), CbmVertex::GetX(), CbmVertex::GetY(), CbmVertex::GetZ(), ROOT::Fit::FitResult::Parameter(), TChain::SetBranchAddress(), TObjArray::UncheckedAt(), x, y, and z.

Here is the call graph for this function: