BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Loading...
Searching...
No Matches
TestGEMConfig_Visual.C File Reference
#include <Rtypes.h>
#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 TestGEMConfig_Visual.C:

Go to the source code of this file.

Functions

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

Variables

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

Definition at line 113 of file TestGEMConfig_Visual.C.

References TPad::AddExec(), BackwardZAxisEDrift, TCanvas::cd(), TMath::DegToRad(), TArrow::Draw(), TBox::Draw(), TH1::Draw(), TMarker::Draw(), TObject::Draw(), TPolyLine::Draw(), fabs(), ForwardZAxisEDrift, g_current_station, g_EnableAddingPoints, BmnGemStripLayer::GetAngleDeg(), TColor::GetColor(), BmnGemStripLayer::GetDeadZones(), BmnGemStripStation::GetModule(), BmnGemStripStation::GetNModules(), DeadZoneOfStripLayer::GetNPoints(), BmnGemStripModule::GetNStripLayers(), BmnGemStripLayer::GetPitch(), BmnGemStripStation::GetStationNumber(), BmnGemStripModule::GetStripLayer(), BmnGemStripLayer::GetStripNumberingOrder(), BmnGemStripLayer::GetType(), TMarker::GetX(), TBox::GetX1(), TBox::GetX2(), TH1::GetXaxis(), BmnGemStripLayer::GetXLeftStripBorderPoint(), BmnGemStripLayer::GetXMaxLayer(), BmnGemStripModule::GetXMaxModule(), BmnGemStripStation::GetXMaxStation(), BmnGemStripLayer::GetXMinLayer(), BmnGemStripModule::GetXMinModule(), BmnGemStripStation::GetXMinStation(), DeadZoneOfStripLayer::GetXPoint(), BmnGemStripStation::GetXPosition(), BmnGemStripLayer::GetXRightStripBorderPoint(), BmnGemStripStation::GetXShiftOfModule(), BmnGemStripLayer::GetXSize(), BmnGemStripStation::GetXSize(), TBox::GetY1(), TBox::GetY2(), TH1::GetYaxis(), BmnGemStripLayer::GetYLeftStripBorderPoint(), BmnGemStripLayer::GetYMaxLayer(), BmnGemStripModule::GetYMaxModule(), BmnGemStripStation::GetYMaxStation(), BmnGemStripLayer::GetYMinLayer(), BmnGemStripModule::GetYMinModule(), BmnGemStripStation::GetYMinStation(), DeadZoneOfStripLayer::GetYPoint(), BmnGemStripStation::GetYPosition(), BmnGemStripLayer::GetYRightStripBorderPoint(), BmnGemStripStation::GetYShiftOfModule(), BmnGemStripLayer::GetYSize(), BmnGemStripStation::GetYSize(), BmnGemStripStation::GetZMaxStation(), BmnGemStripStation::GetZMinStation(), BmnGemStripStation::GetZPosition(), BmnGemStripStation::GetZShiftOfModule(), BmnGemStripStation::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 TestGEMConfig_Visual().

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

◆ DrawCreatedStationTop()

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

Definition at line 783 of file TestGEMConfig_Visual.C.

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

Referenced by TestGEMConfig_Visual().

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

◆ RecognizeModuleNumFromPointAndDrawIt()

◆ TestGEMConfig_Visual()

void TestGEMConfig_Visual ( )

Definition at line 61 of file TestGEMConfig_Visual.C.

References DrawCreatedStationFront(), DrawCreatedStationTop(), and BmnGemStripStationSet::GetStation().

Here is the call graph for this function:

Variable Documentation

◆ g_current_station

BmnGemStripStation* g_current_station = 0

Definition at line 40 of file TestGEMConfig_Visual.C.

◆ g_DrawOnSeparateLayers

Bool_t g_DrawOnSeparateLayers = false

Definition at line 53 of file TestGEMConfig_Visual.C.

◆ g_EnableAddingPoints

Bool_t g_EnableAddingPoints = true

Definition at line 50 of file TestGEMConfig_Visual.C.

◆ g_hits_marker

TMarker* g_hits_marker = 0

Definition at line 44 of file TestGEMConfig_Visual.C.

◆ g_n_hits_marker

Int_t g_n_hits_marker = 0

Definition at line 45 of file TestGEMConfig_Visual.C.

◆ g_points_marker

vector<TMarker*> g_points_marker

Definition at line 47 of file TestGEMConfig_Visual.C.

◆ g_ShowIntersectionPointInfo

Bool_t g_ShowIntersectionPointInfo = true

Definition at line 56 of file TestGEMConfig_Visual.C.

◆ g_z_current_point

Double_t g_z_current_point = 0.0

Definition at line 42 of file TestGEMConfig_Visual.C.