BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Loading...
Searching...
No Matches
EmbedStagesView.C File Reference
#include <root/TClass.h>
#include <root/TDirectory.h>
Include dependency graph for EmbedStagesView.C:

Go to the source code of this file.

Macros

#define PAD_WIDTH_VIEW   1280
 Macro for decoders comparison.
#define PAD_HEIGHT_VIEW   640
#define ROWS   5
#define COLS   2
#define EV_LIMIT   4

Functions

void DrawRef (TCanvas *canGemStrip, vector< PadInfo * > *canGemStripPads)
void EmbedStagesView (Int_t runID=0)

Variables

const Int_t EtaNBins = 500
const Int_t EtaMax = 5
const Int_t PNBins = 500
const Int_t PMax = 5
const Int_t HitsNBins = 21
const Int_t HitsMax = 20
const Int_t Lims [ROWS][3]
const Int_t nParticles = 2
const Int_t nDetTypes = 3
const Int_t nCases = 3

Macro Definition Documentation

◆ COLS

#define COLS   2

Definition at line 13 of file EmbedStagesView.C.

◆ EV_LIMIT

#define EV_LIMIT   4

Definition at line 14 of file EmbedStagesView.C.

◆ PAD_HEIGHT_VIEW

#define PAD_HEIGHT_VIEW   640

Definition at line 11 of file EmbedStagesView.C.

◆ PAD_WIDTH_VIEW

#define PAD_WIDTH_VIEW   1280

Definition at line 10 of file EmbedStagesView.C.

◆ ROWS

#define ROWS   5

Definition at line 12 of file EmbedStagesView.C.

Function Documentation

◆ DrawRef()

void DrawRef ( TCanvas * canGemStrip,
vector< PadInfo * > * canGemStripPads )

Definition at line 33 of file EmbedStagesView.C.

References TCanvas::cd(), TVirtualPad::Clear(), PadInfo::current, TH1::Draw(), TH1::GetMaximum(), TH1::Integral(), TPad::Modified(), TVirtualPad::Modified(), PadInfo::opt, PadInfo::ref, TH1::SetMaximum(), TCanvas::Update(), and TVirtualPad::Update().

Referenced by EmbedStagesView().

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

◆ EmbedStagesView()

void EmbedStagesView ( Int_t runID = 0)

Draw expressions for phys values

Definition at line 62 of file EmbedStagesView.C.

References bmnloadlibs(), can(), TFile::Close(), COLS, TString::Data(), TTree::Draw(), DrawRef(), EtaMax, EtaNBins, TTree::GetEntries(), TObjArray::GetEntriesFast(), TTree::GetEntry(), BmnGlobalTrack::GetGemTrackIndex(), BmnTrack::GetNHits(), BmnTrack::GetP(), CbmMCTrack::GetPdgCode(), i, kSRCSETUP, Lims, nCases, nDetTypes, nParticles, PAD_HEIGHT_VIEW, PAD_WIDTH_VIEW, PMax, PNBins, ROWS, TPad::SaveAs(), TTree::SetBranchAddress(), and TAttLine::SetLineColor().

Here is the call graph for this function:

Variable Documentation

◆ EtaMax

const Int_t EtaMax = 5

Definition at line 18 of file EmbedStagesView.C.

◆ EtaNBins

const Int_t EtaNBins = 500

Definition at line 17 of file EmbedStagesView.C.

◆ HitsMax

const Int_t HitsMax = 20

Definition at line 22 of file EmbedStagesView.C.

◆ HitsNBins

const Int_t HitsNBins = 21

Definition at line 21 of file EmbedStagesView.C.

◆ Lims

const Int_t Lims[ROWS][3]
Initial value:
const Int_t EtaMax
const Int_t HitsNBins
const Int_t EtaNBins
const Int_t PMax
const Int_t HitsMax
const Int_t PNBins

Definition at line 23 of file EmbedStagesView.C.

◆ nCases

const Int_t nCases = 3

Definition at line 30 of file EmbedStagesView.C.

◆ nDetTypes

const Int_t nDetTypes = 3

Definition at line 29 of file EmbedStagesView.C.

◆ nParticles

const Int_t nParticles = 2

Definition at line 28 of file EmbedStagesView.C.

◆ PMax

const Int_t PMax = 5

Definition at line 20 of file EmbedStagesView.C.

◆ PNBins

const Int_t PNBins = 500

Definition at line 19 of file EmbedStagesView.C.