CHeT Library
Loading...
Searching...
No Matches
Classes | Namespaces | Functions
CHeTVisualizer.hh File Reference
#include <algorithm>
#include <cmath>
#include <functional>
#include <string>
#include <vector>
#include <TAxis.h>
#include <TBox.h>
#include <TCanvas.h>
#include <TColor.h>
#include <TEllipse.h>
#include <TGraph.h>
#include <TH2D.h>
#include <TH3F.h>
#include <TMultiGraph.h>
#include <TPad.h>
#include <TPolyLine3D.h>
#include <TPolyMarker3D.h>
#include <TROOT.h>
#include <TStyle.h>
#include "CHeT/CHeTGlobalSettings.hh"
Include dependency graph for CHeTVisualizer.hh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  CHeT::Vis::VisPoint2D
 Structure representing a 2D point (e.g., for Hough space or transverse projection). More...
 
struct  CHeT::Vis::VisPoint3D
 Structure representing a 3D point (e.g., space points, clusters). More...
 
struct  CHeT::Vis::VisGenericTrack
 Structure representing a reconstructed 3D generic track for visualization. More...
 
struct  CHeT::Vis::VisLineTrack
 Structure representing a reconstructed 3D line track for visualization. More...
 
struct  CHeT::Vis::VisHelixTrack
 Structure representing a reconstructed 3D helix track for visualization. More...
 

Namespaces

namespace  CHeT
 Root namespace for the Cylindrical Helix Tracker (CHeT) project.
 
namespace  CHeT::Vis
 CHeT Visualization namespace. Contains tools for 2D and 3D visualization of the detector, tracks, and hits using ROOT.
 

Functions

void CHeT::Vis::Draw2DCore (const std::vector< int > &bundle_ids, const std::vector< VisPoint2D > &extraPoints, const std::function< void(TMultiGraph *, TMultiGraph *, TMultiGraph *, TMultiGraph *)> &trackDrawer, bool wrap_phi=true)
 
void CHeT::Vis::Draw3DCore (const std::vector< int > &hit_ids, const std::vector< VisPoint3D > &points, bool drawSkeleton, const std::function< void(double[6])> &trackDrawer)
 
void CHeT::Vis::RenderTrack2D (const VisLineTrack &tr, TMultiGraph *mg_xy)
 
void CHeT::Vis::RenderTrack2D (const VisHelixTrack &tr, TMultiGraph *mg_xy)
 
void CHeT::Vis::RenderTrack2D (const VisGenericTrack &tr, TMultiGraph *mg_xy)
 
void CHeT::Vis::RenderTrackZX (const VisLineTrack &tr, TMultiGraph *mg_zx)
 
void CHeT::Vis::RenderTrackZX (const VisHelixTrack &tr, TMultiGraph *mg_zx)
 
void CHeT::Vis::RenderTrackZX (const VisGenericTrack &tr, TMultiGraph *mg_zx)
 
void CHeT::Vis::RenderTrackZY (const VisLineTrack &tr, TMultiGraph *mg_zy)
 
void CHeT::Vis::RenderTrackZY (const VisHelixTrack &tr, TMultiGraph *mg_zy)
 
void CHeT::Vis::RenderTrackZY (const VisGenericTrack &tr, TMultiGraph *mg_zy)
 
void CHeT::Vis::RenderTrackPhiZ (const VisLineTrack &tr, TMultiGraph *mg_phiz, bool wrap_phi=true)
 
void CHeT::Vis::RenderTrackPhiZ (const VisHelixTrack &tr, TMultiGraph *mg_phiz, bool wrap_phi=true)
 
void CHeT::Vis::RenderTrackPhiZ (const VisGenericTrack &tr, TMultiGraph *mg_phiz, bool wrap_phi=true)
 
void CHeT::Vis::RenderTrack3D (const VisLineTrack &tr, double bounds[6])
 
void CHeT::Vis::RenderTrack3D (const VisHelixTrack &tr, double bounds[6])
 
void CHeT::Vis::RenderTrack3D (const VisGenericTrack &tr, double bounds[6])
 
template<typename TrackContainer = std::vector<VisGenericTrack>>
void CHeT::Vis::Draw2D (const std::vector< int > &bundle_ids, const TrackContainer &tracks={}, const std::vector< VisPoint2D > &extraPoints={}, bool wrap_phi=true)
 Draws 2D projections: Phi-Z Unrolled Map, ZX/ZY Side views, and XY Transverse view.
 
template<typename TrackContainer = std::vector<VisGenericTrack>>
void CHeT::Vis::Draw3D (const std::vector< int > &hit_ids, const TrackContainer &tracks={}, const std::vector< VisPoint3D > &points={}, bool drawSkeleton=true)
 Draws the full 3D detector view.