BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Loading...
Searching...
No Matches
TestSiBTConfig_Visual.C File Reference
#include "TCanvas.h"
#include "TDOMParser.h"
#include "TF1.h"
#include "TGaxis.h"
#include "TGraph.h"
#include "TH1F.h"
#include "TH2F.h"
#include "THStack.h"
#include "TLegend.h"
#include "TMath.h"
#include "TPaveLabel.h"
#include "TRandom.h"
#include "TSpectrum.h"
#include "TWbox.h"
#include <fstream>
#include <vector>
Include dependency graph for TestSiBTConfig_Visual.C:

Go to the source code of this file.

Functions

void DrawCreatedStationFront (BmnSiBTStation *station, vector< TLorentzVector > &points)
void DrawCreatedStationTop (BmnSiBTStation *station, vector< TLorentzVector > &points)
void TestSiBTConfig_Visual ()
void RecognizeModuleNumFromPointAndDrawIt (TCanvas *station_front_canv)

Variables

BmnSiBTStation * g_current_station = 0
Double_t g_z_current_point = 0.0
TMarker * g_hits_marker = 0
Int_t g_n_hits_marker = 0
vector< TMarker * > g_points_marker
Bool_t g_EnableAddingPoints = true
Bool_t g_DrawOnSeparateLayers = false
Bool_t g_ShowIntersectionPointInfo = true

Function Documentation

◆ DrawCreatedStationFront()

void DrawCreatedStationFront ( BmnSiBTStation * station,
vector< TLorentzVector > & points )

Definition at line 113 of file TestSiBTConfig_Visual.C.

References TPad::AddExec(), TCanvas::cd(), TMath::DegToRad(), TArrow::Draw(), TBox::Draw(), TH1::Draw(), TMarker::Draw(), TObject::Draw(), TPolyLine::Draw(), fabs(), g_current_station, g_EnableAddingPoints, BmnSiBTLayer::GetAngleDeg(), TColor::GetColor(), BmnSiBTLayer::GetDeadZones(), BmnSiBTStation::GetModule(), BmnSiBTStation::GetNModules(), DeadZoneOfStripLayer::GetNPoints(), BmnSiBTModule::GetNStripLayers(), BmnSiBTLayer::GetPitch(), BmnSiBTStation::GetStationNumber(), BmnSiBTModule::GetStripLayer(), BmnSiBTLayer::GetStripNumberingOrder(), BmnSiBTLayer::GetType(), TMarker::GetX(), TBox::GetX1(), TBox::GetX2(), TH1::GetXaxis(), BmnSiBTLayer::GetXLeftStripBorderPoint(), BmnSiBTLayer::GetXMaxLayer(), BmnSiBTModule::GetXMaxModule(), BmnSiBTStation::GetXMaxStation(), BmnSiBTLayer::GetXMinLayer(), BmnSiBTModule::GetXMinModule(), BmnSiBTStation::GetXMinStation(), DeadZoneOfStripLayer::GetXPoint(), BmnSiBTStation::GetXPosition(), BmnSiBTLayer::GetXRightStripBorderPoint(), BmnSiBTStation::GetXShiftOfModule(), BmnSiBTLayer::GetXSize(), BmnSiBTStation::GetXSize(), TBox::GetY1(), TBox::GetY2(), TH1::GetYaxis(), BmnSiBTLayer::GetYLeftStripBorderPoint(), BmnSiBTLayer::GetYMaxLayer(), BmnSiBTModule::GetYMaxModule(), BmnSiBTStation::GetYMaxStation(), BmnSiBTLayer::GetYMinLayer(), BmnSiBTModule::GetYMinModule(), BmnSiBTStation::GetYMinStation(), DeadZoneOfStripLayer::GetYPoint(), BmnSiBTStation::GetYPosition(), BmnSiBTLayer::GetYRightStripBorderPoint(), BmnSiBTStation::GetYShiftOfModule(), BmnSiBTLayer::GetYSize(), BmnSiBTStation::GetYSize(), BmnSiBTStation::GetZMaxStation(), BmnSiBTStation::GetZMinStation(), BmnSiBTStation::GetZPosition(), BmnSiBTStation::GetZShiftOfModule(), BmnSiBTStation::GetZSize(), LeftToRight, LowerStripLayer, NModules, TMath::Pi(), RightToLeft, TArrow::SetArrowSize(), TAttFill::SetFillColor(), TAttFill::SetFillColorAlpha(), TAttFill::SetFillStyle(), TPad::SetGrid(), TAttLine::SetLineColor(), TAttLine::SetLineColorAlpha(), TAttLine::SetLineStyle(), TAttLine::SetLineWidth(), TAttMarker::SetMarkerColor(), TAttMarker::SetMarkerSize(), TAttMarker::SetMarkerStyle(), TPolyLine::SetNextPoint(), TNamed::SetTitle(), TMarker::SetX(), TLine::SetX1(), TLine::SetX2(), TMarker::SetY(), TLine::SetY1(), TLine::SetY2(), TMath::Tan(), UpperStripLayer, x, XModuleSize, y, and YModuleSize.

Referenced by TestSiBTConfig_Visual().

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

◆ DrawCreatedStationTop()

void DrawCreatedStationTop ( BmnSiBTStation * station,
vector< TLorentzVector > & points )

Definition at line 776 of file TestSiBTConfig_Visual.C.

References TCanvas::cd(), TBox::Draw(), TH1::Draw(), TMarker::Draw(), TObject::Draw(), fabs(), TColor::GetColor(), BmnSiBTStation::GetModule(), BmnSiBTModule::GetModuleThickness(), BmnSiBTStation::GetNModules(), BmnSiBTStation::GetStationNumber(), TBox::GetX1(), TH1::GetXaxis(), BmnSiBTModule::GetXMaxModule(), BmnSiBTStation::GetXMaxStation(), BmnSiBTModule::GetXMinModule(), BmnSiBTStation::GetXMinStation(), BmnSiBTStation::GetXPosition(), BmnSiBTStation::GetXShiftOfModule(), BmnSiBTStation::GetXSize(), TH1::GetYaxis(), BmnSiBTStation::GetYMaxStation(), BmnSiBTStation::GetYMinStation(), BmnSiBTStation::GetYPosition(), BmnSiBTStation::GetYShiftOfModule(), BmnSiBTStation::GetYSize(), BmnSiBTStation::GetZMaxStation(), BmnSiBTStation::GetZMinStation(), BmnSiBTStation::GetZPosition(), BmnSiBTStation::GetZShiftOfModule(), BmnSiBTStation::GetZSize(), BmnSiBTModule::GetZStartModulePosition(), NModules, TAttFill::SetFillColor(), TAttFill::SetFillStyle(), TPad::SetGrid(), TAttLine::SetLineColor(), TAttLine::SetLineStyle(), TAttLine::SetLineWidth(), TAttMarker::SetMarkerColor(), TAttMarker::SetMarkerSize(), TAttMarker::SetMarkerStyle(), TNamed::SetTitle(), TMarker::SetX(), and TMarker::SetY().

Referenced by TestSiBTConfig_Visual().

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

◆ RecognizeModuleNumFromPointAndDrawIt()

◆ TestSiBTConfig_Visual()

void TestSiBTConfig_Visual ( )

Definition at line 55 of file TestSiBTConfig_Visual.C.

References DrawCreatedStationFront(), DrawCreatedStationTop(), g_z_current_point, BmnSiBTStation::GetPointModuleOwnership(), BmnSiBTStationSet::GetPointStationOwnership(), BmnSiBTStationSet::GetStation(), TLorentzVector::SetXYZT(), x, y, and z.

Here is the call graph for this function:

Variable Documentation

◆ g_current_station

BmnSiBTStation* g_current_station = 0

Definition at line 34 of file TestSiBTConfig_Visual.C.

◆ g_DrawOnSeparateLayers

Bool_t g_DrawOnSeparateLayers = false

Definition at line 47 of file TestSiBTConfig_Visual.C.

◆ g_EnableAddingPoints

Bool_t g_EnableAddingPoints = true

Definition at line 44 of file TestSiBTConfig_Visual.C.

◆ g_hits_marker

TMarker* g_hits_marker = 0

Definition at line 38 of file TestSiBTConfig_Visual.C.

◆ g_n_hits_marker

Int_t g_n_hits_marker = 0

Definition at line 39 of file TestSiBTConfig_Visual.C.

◆ g_points_marker

vector<TMarker*> g_points_marker

Definition at line 41 of file TestSiBTConfig_Visual.C.

◆ g_ShowIntersectionPointInfo

Bool_t g_ShowIntersectionPointInfo = true

Definition at line 50 of file TestSiBTConfig_Visual.C.

◆ g_z_current_point

Double_t g_z_current_point = 0.0

Definition at line 36 of file TestSiBTConfig_Visual.C.