BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Loading...
Searching...
No Matches
TestVSPConfig_Visual.C File Reference
#include "Rtypes.h"
#include <fstream>
#include <vector>
Include dependency graph for TestVSPConfig_Visual.C:

Go to the source code of this file.

Functions

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

Variables

BmnVSPStation * g_current_station = 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 ( BmnVSPStation * station,
vector< TLorentzVector > & points )

Definition at line 94 of file TestVSPConfig_Visual.C.

References TPad::AddExec(), TPaveText::AddText(), TCanvas::cd(), TMath::DegToRad(), TArrow::Draw(), TH1::Draw(), TMarker::Draw(), TObject::Draw(), TPaveText::Draw(), TPolyLine::Draw(), fabs(), g_current_station, g_EnableAddingPoints, BmnVSPLayer::GetAngleDeg(), TColor::GetColor(), BmnVSPLayer::GetDeadZones(), BmnVSPStation::GetModule(), BmnVSPStation::GetNModules(), DeadZoneOfStripLayer::GetNPoints(), BmnVSPModule::GetNStripLayers(), BmnVSPLayer::GetPitch(), BmnVSPStation::GetStationNumber(), BmnVSPModule::GetStripLayer(), BmnVSPLayer::GetStripNumberingOrder(), BmnVSPLayer::GetType(), TPolyLine::GetX(), TH1::GetXaxis(), BmnVSPLayer::GetXLeftStripBorderPoint(), BmnVSPLayer::GetXMaxLayer(), BmnVSPModule::GetXMaxModule(), BmnVSPStation::GetXMaxStation(), BmnVSPLayer::GetXMinLayer(), BmnVSPModule::GetXMinModule(), BmnVSPStation::GetXMinStation(), DeadZoneOfStripLayer::GetXPoint(), BmnVSPStation::GetXPosition(), BmnVSPLayer::GetXRightStripBorderPoint(), BmnVSPStation::GetXShiftOfModule(), BmnVSPLayer::GetXSize(), BmnVSPStation::GetXSize(), TPolyLine::GetY(), TH1::GetYaxis(), BmnVSPLayer::GetYLeftStripBorderPoint(), BmnVSPLayer::GetYMaxLayer(), BmnVSPModule::GetYMaxModule(), BmnVSPStation::GetYMaxStation(), BmnVSPLayer::GetYMinLayer(), BmnVSPModule::GetYMinModule(), BmnVSPStation::GetYMinStation(), DeadZoneOfStripLayer::GetYPoint(), BmnVSPStation::GetYPosition(), BmnVSPLayer::GetYRightStripBorderPoint(), BmnVSPStation::GetYShiftOfModule(), BmnVSPLayer::GetYSize(), BmnVSPStation::GetYSize(), BmnVSPStation::GetZMaxStation(), BmnVSPStation::GetZMinStation(), BmnVSPStation::GetZPosition(), BmnVSPStation::GetZShiftOfModule(), BmnVSPStation::GetZSize(), LeftToRight, LowerStripLayer, BmnVSPStation::Modules, 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(), TH1::SetStats(), TAttText::SetTextColor(), TNamed::SetTitle(), TMarker::SetX(), TLine::SetX1(), TLine::SetX2(), TMarker::SetY(), TLine::SetY1(), TLine::SetY2(), BmnVSPStation::StationNumber, TMath::Tan(), UpperStripLayer, x, BmnVSPStation::XMaxStation, BmnVSPStation::XMinStation, XModuleSize, BmnVSPStation::XPosition, BmnVSPStation::XSize, y, BmnVSPStation::YMaxStation, BmnVSPStation::YMinStation, YModuleSize, BmnVSPStation::YPosition, BmnVSPStation::YSize, BmnVSPStation::ZMaxStation, BmnVSPStation::ZMinStation, BmnVSPStation::ZPosition, and BmnVSPStation::ZSize.

Referenced by TestVSPConfig_Visual().

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

◆ DrawCreatedStationTop()

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

Definition at line 955 of file TestVSPConfig_Visual.C.

References TCanvas::cd(), TH1::Draw(), TMarker::Draw(), TPolyLine::Draw(), fabs(), TColor::GetColor(), BmnVSPStation::GetModule(), BmnVSPModule::GetModuleThickness(), BmnVSPStation::GetNModules(), BmnVSPStation::GetStationNumber(), TH1::GetXaxis(), BmnVSPModule::GetXMaxModule(), BmnVSPStation::GetXMaxStation(), BmnVSPModule::GetXMinModule(), BmnVSPStation::GetXMinStation(), BmnVSPStation::GetXPosition(), BmnVSPStation::GetXShiftOfModule(), BmnVSPStation::GetXSize(), TH1::GetYaxis(), BmnVSPModule::GetYMaxModule(), BmnVSPStation::GetYMaxStation(), BmnVSPModule::GetYMinModule(), BmnVSPStation::GetYMinStation(), BmnVSPStation::GetYPosition(), BmnVSPStation::GetYShiftOfModule(), BmnVSPStation::GetYSize(), BmnVSPStation::GetZMaxStation(), BmnVSPStation::GetZMinStation(), BmnVSPStation::GetZPosition(), BmnVSPStation::GetZShiftOfModule(), BmnVSPStation::GetZSize(), BmnVSPModule::GetZStartModulePosition(), BmnVSPStation::Modules, NModules, TAttFill::SetFillStyle(), TPad::SetGrid(), TAttLine::SetLineStyle(), TAttLine::SetLineWidth(), TAttMarker::SetMarkerColor(), TAttMarker::SetMarkerSize(), TAttMarker::SetMarkerStyle(), TPolyLine::SetNextPoint(), TPolyLine::SetPoint(), TH1::SetStats(), TNamed::SetTitle(), TMarker::SetX(), TMarker::SetY(), BmnVSPStation::StationNumber, BmnVSPStation::XMaxStation, BmnVSPStation::XMinStation, BmnVSPStation::XPosition, BmnVSPStation::XSize, BmnVSPStation::YMaxStation, BmnVSPStation::YMinStation, BmnVSPStation::YPosition, BmnVSPStation::YSize, BmnVSPStation::ZMaxStation, BmnVSPStation::ZMinStation, BmnVSPStation::ZPosition, and BmnVSPStation::ZSize.

Referenced by TestVSPConfig_Visual().

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

◆ RecognizeModuleNumFromPointAndDrawIt()

◆ TestVSPConfig_Visual()

void TestVSPConfig_Visual ( )

Definition at line 49 of file TestVSPConfig_Visual.C.

References DrawCreatedStationFront(), DrawCreatedStationTop(), and BmnVSPStationSet::GetVSPStation().

Here is the call graph for this function:

Variable Documentation

◆ g_current_station

BmnVSPStation* g_current_station = 0

Definition at line 28 of file TestVSPConfig_Visual.C.

◆ g_DrawOnSeparateLayers

Bool_t g_DrawOnSeparateLayers = false

Definition at line 39 of file TestVSPConfig_Visual.C.

◆ g_EnableAddingPoints

Bool_t g_EnableAddingPoints = true

Definition at line 36 of file TestVSPConfig_Visual.C.

◆ g_hits_marker

TMarker* g_hits_marker = 0

Definition at line 30 of file TestVSPConfig_Visual.C.

◆ g_n_hits_marker

Int_t g_n_hits_marker = 0

Definition at line 31 of file TestVSPConfig_Visual.C.

◆ g_points_marker

vector<TMarker*> g_points_marker

Definition at line 33 of file TestVSPConfig_Visual.C.

◆ g_ShowIntersectionPointInfo

Bool_t g_ShowIntersectionPointInfo = true

Definition at line 42 of file TestVSPConfig_Visual.C.