|
BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
|
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 |
| 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().
| 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().
| void RecognizeModuleNumFromPointAndDrawIt | ( | TCanvas * | station_front_canv | ) |
Definition at line 699 of file TestVSPConfig_Visual.C.
References TSeqCollection::At(), TCanvas::cd(), TString::Contains(), BmnVSPLayer::ConvertPointToStripPosition(), TMarker::Draw(), g_current_station, g_DrawOnSeparateLayers, g_hits_marker, g_n_hits_marker, g_points_marker, g_ShowIntersectionPointInfo, BmnVSPLayer::GetAngleDeg(), TColor::GetColor(), TCollection::GetEntries(), TObject::GetName(), BmnVSPLayer::GetNStrips(), BmnVSPLayer::GetPitch(), BmnVSPLayer::GetType(), BmnVSPLayer::GetXSize(), BmnVSPLayer::GetYSize(), i, BmnVSPLayer::IsPointInsideStripLayer(), LowerStripLayer, NModules, TAttMarker::SetMarkerColor(), TAttMarker::SetMarkerSize(), TCanvas::Update(), UpperStripLayer, x, and y.
| void TestVSPConfig_Visual | ( | ) |
Definition at line 49 of file TestVSPConfig_Visual.C.
References DrawCreatedStationFront(), DrawCreatedStationTop(), and BmnVSPStationSet::GetVSPStation().
| BmnVSPStation* g_current_station = 0 |
Definition at line 28 of file TestVSPConfig_Visual.C.
| Bool_t g_DrawOnSeparateLayers = false |
Definition at line 39 of file TestVSPConfig_Visual.C.
| Bool_t g_EnableAddingPoints = true |
Definition at line 36 of file TestVSPConfig_Visual.C.
| TMarker* g_hits_marker = 0 |
Definition at line 30 of file TestVSPConfig_Visual.C.
| Int_t g_n_hits_marker = 0 |
Definition at line 31 of file TestVSPConfig_Visual.C.
| vector<TMarker*> g_points_marker |
Definition at line 33 of file TestVSPConfig_Visual.C.
| Bool_t g_ShowIntersectionPointInfo = true |
Definition at line 42 of file TestVSPConfig_Visual.C.