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

Go to the source code of this file.

Functions

BmnHit * MatchDetector (FairTrackParam *par, TClonesArray *hits, Bool_t doUpdate, Int_t detNum)
void AnalizeFile (TString fileName)
void drawMatchingEffSRC ()

Variables

const Int_t nBins = 20
const Int_t nBinsXY = 50
const Double_t resBoard = 3
TH1F * hAllNoCSC = new TH1F("hAllNoCSC", "; Rigidity [GeV/(Qc)]; N", nBins, 0, 15)
TH1F * hAllYesCSC = new TH1F("hAllYesCSC", "; Rigidity [GeV/(Qc)]; N", nBins, 0, 15)
TH1F * hEffCSC = new TH1F("hEffCSC", "; Rigidity [GeV/(Qc)]; Efficiency", nBins, 0, 15)
TH1F * hResXCSC = new TH1F("hResXCSC", "; X Residual [cm]; N", 100, -resBoard, resBoard)
TH1F * hResYCSC = new TH1F("hResYCSC", "; Y Residual [cm]; N", 100, -resBoard, resBoard)
TH1F * hPullXCSC = new TH1F("hPullXCSC", "; X Pull; N", 100, -resBoard, resBoard)
TH1F * hPullYCSC = new TH1F("hPullYCSC", "; Y Pull; N", 100, -resBoard, resBoard)
TH2F * hAllNoCSCXY = new TH2F("hAllNoCSCXY", "; X [cm]; Y [cm]", nBinsXY, -20, 100, nBinsXY, -60, 60)
TH2F * hAllYesCSCXY = new TH2F("hAllYesCSCXY", "; X [cm]; Y [cm]", nBinsXY, -20, 100, nBinsXY, -60, 60)
TH2F * hEffCSCXY = new TH2F("hEffCSCXY", "; X [cm]; Y [cm]", nBinsXY, -20, 100, nBinsXY, -60, 60)
TH1F * hAllNoDCH1 = new TH1F("hAllNoDCH1", "; Rigidity [GeV/(Qc)]; N", nBins, 0, 15)
TH1F * hAllYesDCH1 = new TH1F("hAllYesDCH1", "; Rigidity [GeV/(Qc)]; N", nBins, 0, 15)
TH1F * hEffDCH1 = new TH1F("hEffDCH1", "; Rigidity [GeV/(Qc)]; Efficiency", nBins, 0, 15)
TH1F * hResXDCH1 = new TH1F("hResXDCH1", "; X Residual [cm]; N", 100, -resBoard, resBoard)
TH1F * hResYDCH1 = new TH1F("hResYDCH1", "; Y Residual [cm]; N", 100, -resBoard, resBoard)
TH1F * hPullXDCH1 = new TH1F("hPullXDCH1", "; X Pull; N", 100, -resBoard, resBoard)
TH1F * hPullYDCH1 = new TH1F("hPullYDCH1", "; Y Pull; N", 100, -resBoard, resBoard)
TH2F * hAllNoDCH1XY = new TH2F("hAllNoDCH1XY", "; X [cm]; Y [cm]", nBinsXY, -20, 100, nBinsXY, -60, 60)
TH2F * hAllYesDCH1XY = new TH2F("hAllYesDCH1XY", "; X [cm]; Y [cm]", nBinsXY, -20, 100, nBinsXY, -60, 60)
TH2F * hEffDCH1XY = new TH2F("hEffDCH1XY", "; X [cm]; Y [cm]", nBinsXY, -20, 100, nBinsXY, -60, 60)
TH1F * hAllNoTOF700 = new TH1F("hAllNoTOF700", "; Rigidity [GeV/(Qc)]; N", nBins, 0, 15)
TH1F * hAllYesTOF700 = new TH1F("hAllYesTOF700", "; Rigidity [GeV/(Qc)]; N", nBins, 0, 15)
TH1F * hEffTOF700 = new TH1F("hEffTOF700", "; Rigidity [GeV/(Qc)]; Efficiency", nBins, 0, 15)
TH1F * hResXTOF700 = new TH1F("hResXTOF700", "; X Residual [cm]; N", 100, -resBoard, resBoard)
TH1F * hResYTOF700 = new TH1F("hResYTOF700", "; Y Residual [cm]; N", 100, -resBoard, resBoard)
TH1F * hPullXTOF700 = new TH1F("hPullXTOF700", "; X Pull; N", 100, -resBoard, resBoard)
TH1F * hPullYTOF700 = new TH1F("hPullYTOF700", "; Y Pull; N", 100, -resBoard, resBoard)
TH2F * hAllNoTOF700XY = new TH2F("hAllNoTOF700XY", "; X [cm]; Y [cm]", nBinsXY, -20, 100, nBinsXY, -60, 60)
TH2F * hAllYesTOF700XY = new TH2F("hAllYesTOF700XY", "; X [cm]; Y [cm]", nBinsXY, -20, 100, nBinsXY, -60, 60)
TH2F * hEffTOF700XY = new TH2F("hEffTOF700XY", "; X [cm]; Y [cm]", nBinsXY, -20, 100, nBinsXY, -60, 60)
TH1F * hAllNoDCH2 = new TH1F("hAllNoDCH2", "; Rigidity [GeV/(Qc)]; N", nBins, 0, 15)
TH1F * hAllYesDCH2 = new TH1F("hAllYesDCH2", "; Rigidity [GeV/(Qc)]; N", nBins, 0, 15)
TH1F * hEffDCH2 = new TH1F("hEffDCH2", "; Rigidity [GeV/(Qc)]; Efficiency", nBins, 0, 15)
TH1F * hResXDCH2 = new TH1F("hResXDCH2", "; X Residual [cm]; N", 100, -resBoard, resBoard)
TH1F * hResYDCH2 = new TH1F("hResYDCH2", "; Y Residual [cm]; N", 100, -resBoard, resBoard)
TH1F * hPullXDCH2 = new TH1F("hPullXDCH2", "; X Pull; N", 100, -resBoard, resBoard)
TH1F * hPullYDCH2 = new TH1F("hPullYDCH2", "; Y Pull; N", 100, -resBoard, resBoard)
TH2F * hAllNoDCH2XY = new TH2F("hAllNoDCH2XY", "; X [cm]; Y [cm]", nBinsXY, -20, 100, nBinsXY, -60, 60)
TH2F * hAllYesDCH2XY = new TH2F("hAllYesDCH2XY", "; X [cm]; Y [cm]", nBinsXY, -20, 100, nBinsXY, -60, 60)
TH2F * hEffDCH2XY = new TH2F("hEffDCH2XY", "; X [cm]; Y [cm]", nBinsXY, -20, 100, nBinsXY, -60, 60)

Function Documentation

◆ AnalizeFile()

void AnalizeFile ( TString fileName)

Definition at line 168 of file drawMatchingEffSRC.C.

References TChain::Add(), TObjArray::At(), TString::Data(), TChain::GetEntries(), TObjArray::GetEntriesFast(), TChain::GetEntry(), BmnTrack::GetParamLast(), hAllNoCSC, hAllNoCSCXY, hAllNoDCH1, hAllNoDCH1XY, hAllNoDCH2, hAllNoDCH2XY, hAllNoTOF700, hAllNoTOF700XY, hAllYesCSC, hAllYesCSCXY, hAllYesDCH1, hAllYesDCH1XY, hAllYesDCH2, hAllYesDCH2XY, hAllYesTOF700, hAllYesTOF700XY, hPullXCSC, hPullXDCH1, hPullXDCH2, hPullXTOF700, hPullYCSC, hPullYDCH1, hPullYDCH2, hPullYTOF700, hResXCSC, hResXDCH1, hResXDCH2, hResXTOF700, hResYCSC, hResYDCH1, hResYDCH2, hResYTOF700, MatchDetector(), and TChain::SetBranchAddress().

Referenced by drawMatchingEffSRC().

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

◆ drawMatchingEffSRC()

◆ MatchDetector()

BmnHit * MatchDetector ( FairTrackParam * par,
TClonesArray * hits,
Bool_t doUpdate,
Int_t detNum )

Definition at line 317 of file drawMatchingEffSRC.C.

References TObjArray::At(), TObjArray::GetEntriesFast(), BmnHit::GetStation(), BmnKalmanFilter::TGeoTrackPropagate(), and BmnKalmanFilter::Update().

Referenced by AnalizeFile().

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

Variable Documentation

◆ hAllNoCSC

TH1F* hAllNoCSC = new TH1F("hAllNoCSC", "; Rigidity [GeV/(Qc)]; N", nBins, 0, 15)

Definition at line 10 of file drawMatchingEffSRC.C.

Referenced by AnalizeFile(), and drawMatchingEffSRC().

◆ hAllNoCSCXY

TH2F* hAllNoCSCXY = new TH2F("hAllNoCSCXY", "; X [cm]; Y [cm]", nBinsXY, -20, 100, nBinsXY, -60, 60)

Definition at line 17 of file drawMatchingEffSRC.C.

Referenced by AnalizeFile(), and drawMatchingEffSRC().

◆ hAllNoDCH1

TH1F* hAllNoDCH1 = new TH1F("hAllNoDCH1", "; Rigidity [GeV/(Qc)]; N", nBins, 0, 15)

Definition at line 21 of file drawMatchingEffSRC.C.

Referenced by AnalizeFile(), and drawMatchingEffSRC().

◆ hAllNoDCH1XY

TH2F* hAllNoDCH1XY = new TH2F("hAllNoDCH1XY", "; X [cm]; Y [cm]", nBinsXY, -20, 100, nBinsXY, -60, 60)

Definition at line 28 of file drawMatchingEffSRC.C.

Referenced by AnalizeFile(), and drawMatchingEffSRC().

◆ hAllNoDCH2

TH1F* hAllNoDCH2 = new TH1F("hAllNoDCH2", "; Rigidity [GeV/(Qc)]; N", nBins, 0, 15)

Definition at line 43 of file drawMatchingEffSRC.C.

Referenced by AnalizeFile(), and drawMatchingEffSRC().

◆ hAllNoDCH2XY

TH2F* hAllNoDCH2XY = new TH2F("hAllNoDCH2XY", "; X [cm]; Y [cm]", nBinsXY, -20, 100, nBinsXY, -60, 60)

Definition at line 50 of file drawMatchingEffSRC.C.

Referenced by AnalizeFile(), and drawMatchingEffSRC().

◆ hAllNoTOF700

TH1F* hAllNoTOF700 = new TH1F("hAllNoTOF700", "; Rigidity [GeV/(Qc)]; N", nBins, 0, 15)

Definition at line 32 of file drawMatchingEffSRC.C.

Referenced by AnalizeFile(), and drawMatchingEffSRC().

◆ hAllNoTOF700XY

TH2F* hAllNoTOF700XY = new TH2F("hAllNoTOF700XY", "; X [cm]; Y [cm]", nBinsXY, -20, 100, nBinsXY, -60, 60)

Definition at line 39 of file drawMatchingEffSRC.C.

Referenced by AnalizeFile(), and drawMatchingEffSRC().

◆ hAllYesCSC

TH1F* hAllYesCSC = new TH1F("hAllYesCSC", "; Rigidity [GeV/(Qc)]; N", nBins, 0, 15)

Definition at line 11 of file drawMatchingEffSRC.C.

Referenced by AnalizeFile(), and drawMatchingEffSRC().

◆ hAllYesCSCXY

TH2F* hAllYesCSCXY = new TH2F("hAllYesCSCXY", "; X [cm]; Y [cm]", nBinsXY, -20, 100, nBinsXY, -60, 60)

Definition at line 18 of file drawMatchingEffSRC.C.

Referenced by AnalizeFile(), and drawMatchingEffSRC().

◆ hAllYesDCH1

TH1F* hAllYesDCH1 = new TH1F("hAllYesDCH1", "; Rigidity [GeV/(Qc)]; N", nBins, 0, 15)

Definition at line 22 of file drawMatchingEffSRC.C.

Referenced by AnalizeFile(), and drawMatchingEffSRC().

◆ hAllYesDCH1XY

TH2F* hAllYesDCH1XY = new TH2F("hAllYesDCH1XY", "; X [cm]; Y [cm]", nBinsXY, -20, 100, nBinsXY, -60, 60)

Definition at line 29 of file drawMatchingEffSRC.C.

Referenced by AnalizeFile(), and drawMatchingEffSRC().

◆ hAllYesDCH2

TH1F* hAllYesDCH2 = new TH1F("hAllYesDCH2", "; Rigidity [GeV/(Qc)]; N", nBins, 0, 15)

Definition at line 44 of file drawMatchingEffSRC.C.

Referenced by AnalizeFile(), and drawMatchingEffSRC().

◆ hAllYesDCH2XY

TH2F* hAllYesDCH2XY = new TH2F("hAllYesDCH2XY", "; X [cm]; Y [cm]", nBinsXY, -20, 100, nBinsXY, -60, 60)

Definition at line 51 of file drawMatchingEffSRC.C.

Referenced by AnalizeFile(), and drawMatchingEffSRC().

◆ hAllYesTOF700

TH1F* hAllYesTOF700 = new TH1F("hAllYesTOF700", "; Rigidity [GeV/(Qc)]; N", nBins, 0, 15)

Definition at line 33 of file drawMatchingEffSRC.C.

Referenced by AnalizeFile(), and drawMatchingEffSRC().

◆ hAllYesTOF700XY

TH2F* hAllYesTOF700XY = new TH2F("hAllYesTOF700XY", "; X [cm]; Y [cm]", nBinsXY, -20, 100, nBinsXY, -60, 60)

Definition at line 40 of file drawMatchingEffSRC.C.

Referenced by AnalizeFile(), and drawMatchingEffSRC().

◆ hEffCSC

TH1F* hEffCSC = new TH1F("hEffCSC", "; Rigidity [GeV/(Qc)]; Efficiency", nBins, 0, 15)

Definition at line 12 of file drawMatchingEffSRC.C.

Referenced by drawMatchingEffSRC().

◆ hEffCSCXY

TH2F* hEffCSCXY = new TH2F("hEffCSCXY", "; X [cm]; Y [cm]", nBinsXY, -20, 100, nBinsXY, -60, 60)

Definition at line 19 of file drawMatchingEffSRC.C.

Referenced by drawMatchingEffSRC().

◆ hEffDCH1

TH1F* hEffDCH1 = new TH1F("hEffDCH1", "; Rigidity [GeV/(Qc)]; Efficiency", nBins, 0, 15)

Definition at line 23 of file drawMatchingEffSRC.C.

Referenced by drawMatchingEffSRC().

◆ hEffDCH1XY

TH2F* hEffDCH1XY = new TH2F("hEffDCH1XY", "; X [cm]; Y [cm]", nBinsXY, -20, 100, nBinsXY, -60, 60)

Definition at line 30 of file drawMatchingEffSRC.C.

Referenced by drawMatchingEffSRC().

◆ hEffDCH2

TH1F* hEffDCH2 = new TH1F("hEffDCH2", "; Rigidity [GeV/(Qc)]; Efficiency", nBins, 0, 15)

Definition at line 45 of file drawMatchingEffSRC.C.

Referenced by drawMatchingEffSRC().

◆ hEffDCH2XY

TH2F* hEffDCH2XY = new TH2F("hEffDCH2XY", "; X [cm]; Y [cm]", nBinsXY, -20, 100, nBinsXY, -60, 60)

Definition at line 52 of file drawMatchingEffSRC.C.

Referenced by drawMatchingEffSRC().

◆ hEffTOF700

TH1F* hEffTOF700 = new TH1F("hEffTOF700", "; Rigidity [GeV/(Qc)]; Efficiency", nBins, 0, 15)

Definition at line 34 of file drawMatchingEffSRC.C.

Referenced by drawMatchingEffSRC().

◆ hEffTOF700XY

TH2F* hEffTOF700XY = new TH2F("hEffTOF700XY", "; X [cm]; Y [cm]", nBinsXY, -20, 100, nBinsXY, -60, 60)

Definition at line 41 of file drawMatchingEffSRC.C.

Referenced by drawMatchingEffSRC().

◆ hPullXCSC

TH1F* hPullXCSC = new TH1F("hPullXCSC", "; X Pull; N", 100, -resBoard, resBoard)

Definition at line 15 of file drawMatchingEffSRC.C.

Referenced by AnalizeFile(), and drawMatchingEffSRC().

◆ hPullXDCH1

TH1F* hPullXDCH1 = new TH1F("hPullXDCH1", "; X Pull; N", 100, -resBoard, resBoard)

Definition at line 26 of file drawMatchingEffSRC.C.

Referenced by AnalizeFile(), and drawMatchingEffSRC().

◆ hPullXDCH2

TH1F* hPullXDCH2 = new TH1F("hPullXDCH2", "; X Pull; N", 100, -resBoard, resBoard)

Definition at line 48 of file drawMatchingEffSRC.C.

Referenced by AnalizeFile(), and drawMatchingEffSRC().

◆ hPullXTOF700

TH1F* hPullXTOF700 = new TH1F("hPullXTOF700", "; X Pull; N", 100, -resBoard, resBoard)

Definition at line 37 of file drawMatchingEffSRC.C.

Referenced by AnalizeFile(), and drawMatchingEffSRC().

◆ hPullYCSC

TH1F* hPullYCSC = new TH1F("hPullYCSC", "; Y Pull; N", 100, -resBoard, resBoard)

Definition at line 16 of file drawMatchingEffSRC.C.

Referenced by AnalizeFile(), and drawMatchingEffSRC().

◆ hPullYDCH1

TH1F* hPullYDCH1 = new TH1F("hPullYDCH1", "; Y Pull; N", 100, -resBoard, resBoard)

Definition at line 27 of file drawMatchingEffSRC.C.

Referenced by AnalizeFile(), and drawMatchingEffSRC().

◆ hPullYDCH2

TH1F* hPullYDCH2 = new TH1F("hPullYDCH2", "; Y Pull; N", 100, -resBoard, resBoard)

Definition at line 49 of file drawMatchingEffSRC.C.

Referenced by AnalizeFile(), and drawMatchingEffSRC().

◆ hPullYTOF700

TH1F* hPullYTOF700 = new TH1F("hPullYTOF700", "; Y Pull; N", 100, -resBoard, resBoard)

Definition at line 38 of file drawMatchingEffSRC.C.

Referenced by AnalizeFile(), and drawMatchingEffSRC().

◆ hResXCSC

TH1F* hResXCSC = new TH1F("hResXCSC", "; X Residual [cm]; N", 100, -resBoard, resBoard)

Definition at line 13 of file drawMatchingEffSRC.C.

Referenced by AnalizeFile(), and drawMatchingEffSRC().

◆ hResXDCH1

TH1F* hResXDCH1 = new TH1F("hResXDCH1", "; X Residual [cm]; N", 100, -resBoard, resBoard)

Definition at line 24 of file drawMatchingEffSRC.C.

Referenced by AnalizeFile(), and drawMatchingEffSRC().

◆ hResXDCH2

TH1F* hResXDCH2 = new TH1F("hResXDCH2", "; X Residual [cm]; N", 100, -resBoard, resBoard)

Definition at line 46 of file drawMatchingEffSRC.C.

Referenced by AnalizeFile(), and drawMatchingEffSRC().

◆ hResXTOF700

TH1F* hResXTOF700 = new TH1F("hResXTOF700", "; X Residual [cm]; N", 100, -resBoard, resBoard)

Definition at line 35 of file drawMatchingEffSRC.C.

Referenced by AnalizeFile(), and drawMatchingEffSRC().

◆ hResYCSC

TH1F* hResYCSC = new TH1F("hResYCSC", "; Y Residual [cm]; N", 100, -resBoard, resBoard)

Definition at line 14 of file drawMatchingEffSRC.C.

Referenced by AnalizeFile(), and drawMatchingEffSRC().

◆ hResYDCH1

TH1F* hResYDCH1 = new TH1F("hResYDCH1", "; Y Residual [cm]; N", 100, -resBoard, resBoard)

Definition at line 25 of file drawMatchingEffSRC.C.

Referenced by AnalizeFile(), and drawMatchingEffSRC().

◆ hResYDCH2

TH1F* hResYDCH2 = new TH1F("hResYDCH2", "; Y Residual [cm]; N", 100, -resBoard, resBoard)

Definition at line 47 of file drawMatchingEffSRC.C.

Referenced by AnalizeFile(), and drawMatchingEffSRC().

◆ hResYTOF700

TH1F* hResYTOF700 = new TH1F("hResYTOF700", "; Y Residual [cm]; N", 100, -resBoard, resBoard)

Definition at line 36 of file drawMatchingEffSRC.C.

Referenced by AnalizeFile(), and drawMatchingEffSRC().

◆ nBins

◆ nBinsXY

const Int_t nBinsXY = 50

Definition at line 6 of file drawMatchingEffSRC.C.

Referenced by BmnDstQa::EfficiencyHistos(), and BmnDstQa::MatchingHistos().

◆ resBoard

const Double_t resBoard = 3

Definition at line 8 of file drawMatchingEffSRC.C.

Referenced by BmnDstQa::ResidualsPullsHistos().