BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Loading...
Searching...
No Matches
TestSiBTClassTransform.C File Reference
#include "Rtypes.h"
#include "Math/Transform3D.h"
#include "TBox.h"
#include "TCanvas.h"
#include "TClonesArray.h"
#include "TFile.h"
#include "TFrame.h"
#include "TH1F.h"
#include "TH2F.h"
#include "TPad.h"
#include "TRandom.h"
#include "TTree.h"
#include "macro/run/bmnloadlibs.C"
#include <fstream>
#include <iostream>
#include <vector>
Include dependency graph for TestSiBTClassTransform.C:

Go to the source code of this file.

Functions

void DrawPointsAndLines (vector< Plane3D::Point > points, TString hexcolor, Int_t marker_style, Double_t marker_size, Double_t line_size, Bool_t isPointDraw, Bool_t isLinesDraw, Bool_t isCloseLine)
void DrawPointsAndLines3D (vector< Plane3D::Point > points, TString hexcolor, Int_t marker_style, Double_t marker_size, Double_t line_size, Bool_t isPointDraw, Bool_t isLinesDraw, Bool_t isCloseLine)
void DrawBranchPoints (TTree *points_tree, TClonesArray *points_array, Int_t first_event, Int_t last_event)
void DrawBranchHits (TTree *points_tree, TClonesArray *points_array, Int_t first_event, Int_t last_event)
void TestSiBTClassTransform ()

Variables

TCanvas * planeXY_canv
TCanvas * planeZX_canv
TCanvas * planeZY_canv
TCanvas * XYZview_canv
BmnSiBTStationSet * gStationSet
BmnSiBTTransform * gTransfClass
vector< vector< Bool_t > > gConfig_visual

Function Documentation

◆ DrawBranchHits()

void DrawBranchHits ( TTree * points_tree,
TClonesArray * points_array,
Int_t first_event,
Int_t last_event )

Definition at line 547 of file TestSiBTClassTransform.C.

References TObjArray::At(), DrawPointsAndLines(), DrawPointsAndLines3D(), gConfig_visual, TObjArray::GetEntries(), TTree::GetEntry(), BmnHit::GetModule(), BmnHit::GetStation(), gStationSet, gTransfClass, ROOT::Math::PositionVector3D< class CoordSystem, class Tag >::X(), x, ROOT::Math::PositionVector3D< class CoordSystem, class Tag >::Y(), y, ROOT::Math::PositionVector3D< class CoordSystem, class Tag >::Z(), and z.

Referenced by TestSiBTClassTransform().

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

◆ DrawBranchPoints()

void DrawBranchPoints ( TTree * points_tree,
TClonesArray * points_array,
Int_t first_event,
Int_t last_event )

Definition at line 437 of file TestSiBTClassTransform.C.

References TObjArray::At(), DrawPointsAndLines(), DrawPointsAndLines3D(), gConfig_visual, TObjArray::GetEntries(), TTree::GetEntry(), BmnSiBTPoint::GetModule(), BmnSiBTPoint::GetStation(), gStationSet, gTransfClass, ROOT::Math::PositionVector3D< class CoordSystem, class Tag >::X(), x, ROOT::Math::PositionVector3D< class CoordSystem, class Tag >::Y(), y, ROOT::Math::PositionVector3D< class CoordSystem, class Tag >::Z(), and z.

Referenced by TestSiBTClassTransform().

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

◆ DrawPointsAndLines()

void DrawPointsAndLines ( vector< Plane3D::Point > points,
TString hexcolor,
Int_t marker_style,
Double_t marker_size,
Double_t line_size,
Bool_t isPointDraw,
Bool_t isLinesDraw,
Bool_t isCloseLine )

Definition at line 277 of file TestSiBTClassTransform.C.

References TMarker::Draw(), TObject::Draw(), TColor::GetColor(), planeXY_canv, planeZX_canv, planeZY_canv, TAttLine::SetLineColor(), TAttLine::SetLineWidth(), TAttMarker::SetMarkerColor(), and TAttMarker::SetMarkerSize().

Referenced by DrawBranchHits(), DrawBranchPoints(), and TestSiBTClassTransform().

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

◆ DrawPointsAndLines3D()

void DrawPointsAndLines3D ( vector< Plane3D::Point > points,
TString hexcolor,
Int_t marker_style,
Double_t marker_size,
Double_t line_size,
Bool_t isPointDraw,
Bool_t isLinesDraw,
Bool_t isCloseLine )

Definition at line 393 of file TestSiBTClassTransform.C.

References TPolyLine3D::Draw(), TPolyMarker3D::Draw(), TColor::GetColor(), TAttLine::SetLineColor(), TAttLine::SetLineWidth(), TAttMarker::SetMarkerColor(), TAttMarker::SetMarkerSize(), TAttMarker::SetMarkerStyle(), TPolyLine3D::SetPoint(), TPolyMarker3D::SetPoint(), and XYZview_canv.

Referenced by DrawBranchHits(), DrawBranchPoints(), and TestSiBTClassTransform().

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

◆ TestSiBTClassTransform()

void TestSiBTClassTransform ( )

Variable Documentation

◆ gConfig_visual

vector<vector<Bool_t> > gConfig_visual

Definition at line 44 of file TestSiBTClassTransform.C.

◆ gStationSet

BmnSiBTStationSet* gStationSet

Definition at line 42 of file TestSiBTClassTransform.C.

◆ gTransfClass

BmnSiBTTransform* gTransfClass

Definition at line 43 of file TestSiBTClassTransform.C.

◆ planeXY_canv

TCanvas* planeXY_canv

Definition at line 37 of file TestSiBTClassTransform.C.

◆ planeZX_canv

TCanvas* planeZX_canv

Definition at line 38 of file TestSiBTClassTransform.C.

◆ planeZY_canv

TCanvas* planeZY_canv

Definition at line 39 of file TestSiBTClassTransform.C.

◆ XYZview_canv

TCanvas* XYZview_canv

Definition at line 40 of file TestSiBTClassTransform.C.