BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Loading...
Searching...
No Matches
DchDigitsAnalysis.C File Reference
#include "TCanvas.h"
#include "TChain.h"
#include "TGraph.h"
#include "TH1F.h"
#include "TH2F.h"
#include "TLine.h"
#include "TMath.h"
Include dependency graph for DchDigitsAnalysis.C:

Go to the source code of this file.

Functions

void DchDigitsAnalysis (UInt_t runId=0, TString type="pdf")
void DrawAllWires (TCanvas *c, Int_t *palette, Float_t *wires, Float_t ang, Short_t planeId)
void DrawWires (TPad *pad, Int_t *palette, Float_t *wires, Float_t ang)

Variables

const UInt_t kNPLANES = 16
const UInt_t kNREALWIRES = 240
const UInt_t kNWIRES = 256
const Int_t Number = 4
const Int_t nb = 100
const Float_t angles [kNPLANES] = {135, 135, 45, 45, 90, 90, 180, 180, 135, 135, 45, 45, 90, 90, 180, 180}
const TString names [kNPLANES]

Function Documentation

◆ DchDigitsAnalysis()

◆ DrawAllWires()

void DrawAllWires ( TCanvas * c,
Int_t * palette,
Float_t * wires,
Float_t ang,
Short_t planeId )

Definition at line 153 of file DchDigitsAnalysis.C.

References TMath::Cos(), TMath::DegToRad(), TEllipse::Draw(), TLine::DrawLine(), TPad::GetAbsWNDC(), TGraph::GetXaxis(), TGraph::GetYaxis(), kNREALWIRES, kNWIRES, nb, TAttFill::SetFillStyle(), TAttAxis::SetLabelColor(), TAttLine::SetLineColor(), TAttLine::SetLineColorAlpha(), TAttLine::SetLineWidth(), TAxis::SetRangeUser(), TAttAxis::SetTickLength(), TGraph::SetTitle(), TMath::Sin(), and TMath::Sqrt2().

Referenced by DchDigitsAnalysis().

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

◆ DrawWires()

void DrawWires ( TPad * pad,
Int_t * palette,
Float_t * wires,
Float_t ang )

Definition at line 228 of file DchDigitsAnalysis.C.

References TPad::cd(), TMath::Cos(), TMath::DegToRad(), TEllipse::Draw(), TGraph::Draw(), TPad::Draw(), TLine::DrawLine(), TPad::GetAbsWNDC(), TGraph::GetXaxis(), TGraph::GetYaxis(), kNREALWIRES, kNWIRES, nb, TAttAxis::SetLabelColor(), TAttLine::SetLineColor(), TAttLine::SetLineWidth(), TAxis::SetRangeUser(), TAttAxis::SetTickLength(), TGraph::SetTitle(), TMath::Sin(), and TMath::Sqrt2().

Referenced by DchDigitsAnalysis().

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

Variable Documentation

◆ angles

const Float_t angles[kNPLANES] = {135, 135, 45, 45, 90, 90, 180, 180, 135, 135, 45, 45, 90, 90, 180, 180}

Definition at line 16 of file DchDigitsAnalysis.C.

Referenced by DchDigitsAnalysis().

◆ kNPLANES

const UInt_t kNPLANES = 16

Definition at line 11 of file DchDigitsAnalysis.C.

Referenced by DchDigitsAnalysis().

◆ kNREALWIRES

const UInt_t kNREALWIRES = 240

Definition at line 12 of file DchDigitsAnalysis.C.

Referenced by DchDigitsAnalysis(), DrawAllWires(), and DrawWires().

◆ kNWIRES

const UInt_t kNWIRES = 256

Definition at line 13 of file DchDigitsAnalysis.C.

Referenced by DchDigitsAnalysis(), DrawAllWires(), and DrawWires().

◆ names

const TString names[kNPLANES]
Initial value:
= {"VA_1", "VB_1", "UA_1", "UB_1", "YA_1", "YB_1", "XA_1", "XB_1",
"VA_2", "VB_2", "UA_2", "UB_2", "YA_2", "YB_2", "XA_2", "XB_2"}

Definition at line 17 of file DchDigitsAnalysis.C.

Referenced by BmnCalorimeterDetQa::CommonInfo(), BmnTrigDetQa::CommonInfo(), DchDigitsAnalysis(), drawMultCorrBMN(), drawMultCorrSRC(), BmnSimulationReport::DrawNH2(), BmnSimulationReport::DrawOneH1Log(), and BmnGemStripMLPModel::Parse().

◆ nb

◆ Number

const Int_t Number = 4

Definition at line 14 of file DchDigitsAnalysis.C.

Referenced by DchDigitsAnalysis().