Aid in the rendering of RecoBase objects. More...
#include <RecoBaseDrawer.h>
Public Member Functions | |
RecoBaseDrawer () | |
~RecoBaseDrawer () | |
void | Hit3D (art::Event const &evt, evdb::View3D *view) |
void | TPCCluster3D (art::Event const &evt, evdb::View3D *view) |
void | CaloCluster3D (art::Event const &evt, evdb::View3D *view) |
void | CaloHit3D (art::Event const &evt, evdb::View3D *view) |
void | Track3D (art::Event const &evt, evdb::View3D *view) |
void | VecHit3D (art::Event const &evt, evdb::View3D *view) |
void | Vertex3D (art::Event const &evt, evdb::View3D *view) |
void | DrawHit3D (std::vector< const rec::Hit * > const &hit, evdb::View3D *view, int color, int marker=2, int size=2) |
void | DrawTPCCluster3D (std::vector< const gar::rec::TPCCluster * > const &TPCClusters, evdb::View3D *view, int color, int marker=2, int size=2) |
void | DrawTrackPolyLine3D (std::vector< const gar::rec::TrackTrajectory * > const &trajectories, evdb::View3D *view, int color, int width=2) |
void | DrawCaloCluster3D (std::vector< const gar::rec::Cluster * > const &Clusters, evdb::View3D *view, int color) |
void | DrawCaloHit3D (std::vector< const gar::rec::CaloHit * > const &CaloHits, evdb::View3D *view) |
void | DrawTrack3D (rec::Track const &track, evdb::View3D *view, int color, int marker=1, int size=2) |
void | DrawHelix3D (const float *trackpar, const float xpar, const float xother, evdb::View3D *view, int color, int width) |
void | DrawVecHit3D (std::vector< const rec::VecHit * > const &vechits, evdb::View3D *view, int color=6, int marker=28, int size=2) |
void | DrawVertex3D (const float *pos, evdb::View3D *view, int color=5, int marker=20, int size=1) |
void | DrawArrow3D (const float *startpos, const float *arrowvec, evdb::View3D *view, int color, float lengthscale=1.0) |
Private Member Functions | |
int | GetHits (art::Event const &evt, std::string const &which, std::vector< const rec::Hit * > &hits) |
int | GetTPCClusters (art::Event const &evt, std::string const &which, std::vector< const rec::TPCCluster * > &TPCClusters) |
int | GetTracks (art::Event const &evt, std::string const &which, art::View< rec::Track > &track) |
int | GetVecHits (art::Event const &evt, std::string const &which, std::vector< const rec::VecHit * > &vechits) |
int | GetVertices (art::Event const &evt, std::string const &which, art::View< rec::Vertex > &vertex) |
int | GetShowers (art::Event const &evt, std::string const &which, art::View< rec::Shower > &shower) |
int | GetCaloClusters (art::Event const &evt, std::string const &which, std::vector< const rec::Cluster * > &Clusters) |
int | GetCaloHits (art::Event const &evt, std::string const &which, std::vector< const rec::CaloHit * > &CaloHits) |
Aid in the rendering of RecoBase objects.
Definition at line 65 of file RecoBaseDrawer.h.
gar::evd::RecoBaseDrawer::RecoBaseDrawer | ( | ) |
Definition at line 67 of file RecoBaseDrawer.cxx.
gar::evd::RecoBaseDrawer::~RecoBaseDrawer | ( | ) |
Definition at line 72 of file RecoBaseDrawer.cxx.
void gar::evd::RecoBaseDrawer::CaloCluster3D | ( | art::Event const & | evt, |
evdb::View3D * | view | ||
) |
Render Calorimeter Cluster objects on a 2D viewing canvas
evt | : Event handle to get data objects from |
view | : Pointer to view to draw on |
Definition at line 147 of file RecoBaseDrawer.cxx.
void gar::evd::RecoBaseDrawer::CaloHit3D | ( | art::Event const & | evt, |
evdb::View3D * | view | ||
) |
Render Calorimeter Hit objects on a 2D viewing canvas
evt | : Event handle to get data objects from |
view | : Pointer to view to draw on |
Definition at line 178 of file RecoBaseDrawer.cxx.
void gar::evd::RecoBaseDrawer::DrawArrow3D | ( | const float * | startpos, |
const float * | arrowvec, | ||
evdb::View3D * | view, | ||
int | color, | ||
float | lengthscale = 1.0 |
||
) |
Definition at line 265 of file RecoBaseDrawer.cxx.
void gar::evd::RecoBaseDrawer::DrawCaloCluster3D | ( | std::vector< const gar::rec::Cluster * > const & | Clusters, |
evdb::View3D * | view, | ||
int | color | ||
) |
Definition at line 436 of file RecoBaseDrawer.cxx.
void gar::evd::RecoBaseDrawer::DrawCaloHit3D | ( | std::vector< const gar::rec::CaloHit * > const & | CaloHits, |
evdb::View3D * | view | ||
) |
Definition at line 502 of file RecoBaseDrawer.cxx.
void gar::evd::RecoBaseDrawer::DrawHelix3D | ( | const float * | trackpar, |
const float | xpar, | ||
const float | xother, | ||
evdb::View3D * | view, | ||
int | color, | ||
int | width | ||
) |
Definition at line 218 of file RecoBaseDrawer.cxx.
void gar::evd::RecoBaseDrawer::DrawHit3D | ( | std::vector< const rec::Hit * > const & | hit, |
evdb::View3D * | view, | ||
int | color, | ||
int | marker = 2 , |
||
int | size = 2 |
||
) |
Definition at line 322 of file RecoBaseDrawer.cxx.
void gar::evd::RecoBaseDrawer::DrawTPCCluster3D | ( | std::vector< const gar::rec::TPCCluster * > const & | TPCClusters, |
evdb::View3D * | view, | ||
int | color, | ||
int | marker = 2 , |
||
int | size = 2 |
||
) |
Definition at line 363 of file RecoBaseDrawer.cxx.
void gar::evd::RecoBaseDrawer::DrawTrack3D | ( | rec::Track const & | track, |
evdb::View3D * | view, | ||
int | color, | ||
int | marker = 1 , |
||
int | size = 2 |
||
) |
void gar::evd::RecoBaseDrawer::DrawTrackPolyLine3D | ( | std::vector< const gar::rec::TrackTrajectory * > const & | trajectories, |
evdb::View3D * | view, | ||
int | color, | ||
int | width = 2 |
||
) |
Definition at line 405 of file RecoBaseDrawer.cxx.
void gar::evd::RecoBaseDrawer::DrawVecHit3D | ( | std::vector< const rec::VecHit * > const & | vechits, |
evdb::View3D * | view, | ||
int | color = 6 , |
||
int | marker = 28 , |
||
int | size = 2 |
||
) |
Definition at line 599 of file RecoBaseDrawer.cxx.
void gar::evd::RecoBaseDrawer::DrawVertex3D | ( | const float * | pos, |
evdb::View3D * | view, | ||
int | color = 5 , |
||
int | marker = 20 , |
||
int | size = 1 |
||
) |
Definition at line 200 of file RecoBaseDrawer.cxx.
|
private |
Definition at line 803 of file RecoBaseDrawer.cxx.
|
private |
Definition at line 826 of file RecoBaseDrawer.cxx.
|
private |
Definition at line 758 of file RecoBaseDrawer.cxx.
|
private |
Definition at line 895 of file RecoBaseDrawer.cxx.
|
private |
Definition at line 781 of file RecoBaseDrawer.cxx.
|
private |
Definition at line 848 of file RecoBaseDrawer.cxx.
|
private |
Definition at line 863 of file RecoBaseDrawer.cxx.
|
private |
Definition at line 880 of file RecoBaseDrawer.cxx.
void gar::evd::RecoBaseDrawer::Hit3D | ( | art::Event const & | evt, |
evdb::View3D * | view | ||
) |
Render Hit objects on a 2D viewing canvas
evt | : Event handle to get data objects from |
view | : Pointer to view to draw on |
plane | : plane number of view |
Definition at line 84 of file RecoBaseDrawer.cxx.
void gar::evd::RecoBaseDrawer::TPCCluster3D | ( | art::Event const & | evt, |
evdb::View3D * | view | ||
) |
Render TPCCluster objects on a 2D viewing canvas
evt | : Event handle to get data objects from |
view | : Pointer to view to draw on |
plane | : plane number of view |
Definition at line 115 of file RecoBaseDrawer.cxx.
void gar::evd::RecoBaseDrawer::Track3D | ( | art::Event const & | evt, |
evdb::View3D * | view | ||
) |
Definition at line 643 of file RecoBaseDrawer.cxx.
void gar::evd::RecoBaseDrawer::VecHit3D | ( | art::Event const & | evt, |
evdb::View3D * | view | ||
) |
Definition at line 738 of file RecoBaseDrawer.cxx.
void gar::evd::RecoBaseDrawer::Vertex3D | ( | art::Event const & | evt, |
evdb::View3D * | view | ||
) |