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

#include <L1AlgoPulls.h>

Collaboration diagram for L1AlgoPulls:

Public Member Functions

 L1AlgoPulls ()
void Init ()
void AddOne (L1TrackPar &T, int i, THitI ih)
void Print ()
void Build (bool draw=1)

Public Attributes

int fNAllPulls

Private Member Functions

void makeUpHisto (TH1 *hist, TString title, float &sigma)

Private Attributes

CbmL1 * fL1
vector< TL1TrackParameters > fGPulls
vector< TL1TrackParameters > fStaPulls [NStations]
TH1F * histoPull [(1+NStations) *TL1TrackParameters::NParameters]
vector< TL1TrackParameters > fGRes
TH1F * histoRes [(1+NStations) *TL1TrackParameters::NParameters]
TStyle * histoStyle

Static Private Attributes

static const float TailCut = 5000.
static const float csCut = 5.
static const int textFont = 22

Detailed Description

Definition at line 91 of file L1AlgoPulls.h.

Constructor & Destructor Documentation

◆ L1AlgoPulls()

L1AlgoPulls::L1AlgoPulls ( )
inline

Definition at line 94 of file L1AlgoPulls.h.

References fGPulls, fNAllPulls, fStaPulls, i, and NStations.

Member Function Documentation

◆ AddOne()

◆ Build()

void L1AlgoPulls::Build ( bool draw = 1)
inline

Definition at line 293 of file L1AlgoPulls.h.

References TCanvas::cd(), fabs(), fGPulls, fGRes, fNAllPulls, fStaPulls, histoPull, histoRes, histoStyle, i, L1TrackParametersNames, makeUpHisto(), TL1TrackParameters::NParameters, NStations, Pulls(), TPad::SaveAs(), and TailCut.

Here is the call graph for this function:

◆ Init()

void L1AlgoPulls::Init ( )

Definition at line 128 of file L1AlgoPulls.h.

References fL1, histoPull, histoRes, histoStyle, i, CbmL1::Instance(), L1TrackParametersNames, TL1TrackParameters::NParameters, NStations, and textFont.

Referenced by L1Algo::CATrackFinder().

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

◆ makeUpHisto()

void L1AlgoPulls::makeUpHisto ( TH1 * hist,
TString title,
float & sigma )
inlineprivate

Definition at line 376 of file L1AlgoPulls.h.

References TH1::Fit(), TH1::GetEntries(), TF1::GetParameter(), TH1::GetXaxis(), TAxis::GetXmax(), TAxis::GetXmin(), TH1::GetYaxis(), TAttAxis::SetLabelFont(), TAttLine::SetLineColor(), TAttLine::SetLineWidth(), TNamed::SetTitle(), TAttAxis::SetTitleFont(), TAttAxis::SetTitleOffset(), and textFont.

Referenced by Build().

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

◆ Print()

void L1AlgoPulls::Print ( )
inline

Definition at line 282 of file L1AlgoPulls.h.

References fGPulls, fNAllPulls, i, and TL1TrackParameters::Print().

Here is the call graph for this function:

Member Data Documentation

◆ csCut

const float L1AlgoPulls::csCut = 5.
staticprivate

Definition at line 121 of file L1AlgoPulls.h.

Referenced by AddOne().

◆ fGPulls

vector<TL1TrackParameters> L1AlgoPulls::fGPulls
private

Definition at line 113 of file L1AlgoPulls.h.

Referenced by L1AlgoPulls(), AddOne(), Build(), and Print().

◆ fGRes

vector<TL1TrackParameters> L1AlgoPulls::fGRes
private

Definition at line 117 of file L1AlgoPulls.h.

Referenced by AddOne(), and Build().

◆ fL1

CbmL1* L1AlgoPulls::fL1
private

Definition at line 112 of file L1AlgoPulls.h.

Referenced by AddOne(), and Init().

◆ fNAllPulls

int L1AlgoPulls::fNAllPulls

Definition at line 108 of file L1AlgoPulls.h.

Referenced by L1AlgoPulls(), AddOne(), Build(), and Print().

◆ fStaPulls

vector<TL1TrackParameters> L1AlgoPulls::fStaPulls[NStations]
private

Definition at line 114 of file L1AlgoPulls.h.

Referenced by L1AlgoPulls(), AddOne(), and Build().

◆ histoPull

TH1F* L1AlgoPulls::histoPull[(1+NStations) *TL1TrackParameters::NParameters]
private

Definition at line 115 of file L1AlgoPulls.h.

Referenced by Build(), and Init().

◆ histoRes

TH1F* L1AlgoPulls::histoRes[(1+NStations) *TL1TrackParameters::NParameters]
private

Definition at line 118 of file L1AlgoPulls.h.

Referenced by Build(), and Init().

◆ histoStyle

TStyle* L1AlgoPulls::histoStyle
private

Definition at line 123 of file L1AlgoPulls.h.

Referenced by Build(), and Init().

◆ TailCut

const float L1AlgoPulls::TailCut = 5000.
staticprivate

Definition at line 120 of file L1AlgoPulls.h.

Referenced by Build().

◆ textFont

const int L1AlgoPulls::textFont = 22
staticprivate

Definition at line 122 of file L1AlgoPulls.h.

Referenced by Init(), and makeUpHisto().


The documentation for this class was generated from the following file: