BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Loading...
Searching...
No Matches
lit Namespace Reference

Functions

Float_t ChiSq (const FairTrackParam *par, const BmnHit *hit)
Int_t NDF (const BmnTrack *track)
template<class T>
string ToString (const T &value)
template<class T>
string NumberToString (const T &value, int precision=1)
template<class T>
int Sign (const T &x)
void SaveCanvasAsImage (TCanvas *c, const std::string &dir)
string FindAndReplace (const string &name, const string &oldSubstr, const string &newSubstr)
vector< string > Split (const string &name, char delimiter)

Function Documentation

◆ ChiSq()

Float_t lit::ChiSq ( const FairTrackParam * par,
const BmnHit * hit )

Definition at line 29 of file BmnMath.cxx.

◆ FindAndReplace()

string lit::FindAndReplace ( const string & name,
const string & oldSubstr,
const string & newSubstr )

Definition at line 19 of file BmnUtils.cxx.

◆ NDF()

Int_t lit::NDF ( const BmnTrack * track)

Definition at line 47 of file BmnMath.cxx.

References BmnTrack::GetNHits(), and i.

Here is the call graph for this function:

◆ NumberToString()

template<class T>
string lit::NumberToString ( const T & value,
int precision = 1 )

Definition at line 26 of file BmnUtils.h.

References ToString().

Here is the call graph for this function:

◆ SaveCanvasAsImage()

void lit::SaveCanvasAsImage ( TCanvas * c,
const std::string & dir )

Definition at line 9 of file BmnUtils.cxx.

References TPad::GetTitle(), and TPad::SaveAs().

Here is the call graph for this function:

◆ Sign()

template<class T>
int lit::Sign ( const T & x)

Definition at line 40 of file BmnUtils.h.

References x.

◆ Split()

vector< string > lit::Split ( const string & name,
char delimiter )

Definition at line 27 of file BmnUtils.cxx.

◆ ToString()

template<class T>
string lit::ToString ( const T & value)

Definition at line 18 of file BmnUtils.h.

Referenced by NumberToString().

Here is the caller graph for this function: