|
BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
|
#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>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 |
| 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().
| 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().
| 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().
| 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().
| void TestSiBTClassTransform | ( | ) |
Definition at line 66 of file TestSiBTClassTransform.C.
References bmnloadlibs(), TH1::Draw(), DrawBranchHits(), DrawBranchPoints(), DrawPointsAndLines(), DrawPointsAndLines3D(), gConfig_visual, TDirectoryFile::Get(), TTree::GetBranch(), TTree::GetEntries(), TH1::GetXaxis(), TH1::GetYaxis(), TH1::GetZaxis(), gStationSet, gTransfClass, planeXY_canv, planeZX_canv, planeZY_canv, TBranch::SetAutoDelete(), TTree::SetBranchAddress(), TNamed::SetTitle(), and XYZview_canv.
| vector<vector<Bool_t> > gConfig_visual |
Definition at line 44 of file TestSiBTClassTransform.C.
| BmnSiBTStationSet* gStationSet |
Definition at line 42 of file TestSiBTClassTransform.C.
| BmnSiBTTransform* gTransfClass |
Definition at line 43 of file TestSiBTClassTransform.C.
| TCanvas* planeXY_canv |
Definition at line 37 of file TestSiBTClassTransform.C.
| TCanvas* planeZX_canv |
Definition at line 38 of file TestSiBTClassTransform.C.
| TCanvas* planeZY_canv |
Definition at line 39 of file TestSiBTClassTransform.C.
| TCanvas* XYZview_canv |
Definition at line 40 of file TestSiBTClassTransform.C.