LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
Aid in the rendering of RecoBase objects. More...
#include "RecoBaseDrawer.h"
Public Member Functions | |
RecoBaseDrawer () | |
~RecoBaseDrawer () | |
void | Wire2D (const art::Event &evt, evdb::View2D *view, unsigned int plane) |
int | Hit2D (const art::Event &evt, detinfo::DetectorPropertiesData const &detProp, evdb::View2D *view, unsigned int plane) |
int | Hit2D (std::vector< const recob::Hit * > hits, int color, evdb::View2D *view, bool allWireIds, bool drawConnectingLines=false, int lineWidth=1) |
int | Hit2D (std::vector< const recob::Hit * > hits, evdb::View2D *view, float cosmicscore) |
void | EndPoint2D (const art::Event &evt, evdb::View2D *view, unsigned int plane) |
void | OpFlash2D (const art::Event &evt, detinfo::DetectorClocksData const &clockData, detinfo::DetectorPropertiesData const &detProp, evdb::View2D *view, unsigned int plane) |
void | Seed2D (const art::Event &evt, detinfo::DetectorPropertiesData const &detProp, evdb::View2D *view, unsigned int plane) |
void | Draw2DSlopeEndPoints (double xStart, double yStart, double xEnd, double yEnd, double slope, int color, evdb::View2D *view) |
void | Draw2DSlopeEndPoints (double x, double y, double slope, int color, evdb::View2D *view) |
void | Draw2DSlopeEndPoints (double x, double y, double cosx, double cosy, int color, evdb::View2D *view) |
void | Slice2D (const art::Event &evt, detinfo::DetectorPropertiesData const &detProp, evdb::View2D *view, unsigned int plane) |
void | Cluster2D (const art::Event &evt, detinfo::DetectorClocksData const &clockData, detinfo::DetectorPropertiesData const &detProp, evdb::View2D *view, unsigned int plane) |
void | Prong2D (const art::Event &evt, detinfo::DetectorClocksData const &clockData, detinfo::DetectorPropertiesData const &detProp, evdb::View2D *view, unsigned int plane) |
void | DrawTrackVertexAssns2D (const art::Event &evt, detinfo::DetectorClocksData const &clockData, detinfo::DetectorPropertiesData const &detProp, evdb::View2D *view, unsigned int plane) |
void | DrawProng2D (detinfo::DetectorPropertiesData const &detProp, std::vector< const recob::Hit * > &hits, evdb::View2D *view, unsigned int plane, TVector3 const &startPos, TVector3 const &startDir, int id, float cscore=-5) |
void | DrawTrack2D (detinfo::DetectorClocksData const &clockData, detinfo::DetectorPropertiesData const &detProp, std::vector< const recob::Hit * > &hits, evdb::View2D *view, unsigned int plane, const recob::Track *track, int color, int lineWidth) |
void | Vertex2D (const art::Event &evt, detinfo::DetectorPropertiesData const &detProp, evdb::View2D *view, unsigned int plane) |
void | Event2D (const art::Event &evt, evdb::View2D *view, unsigned int plane) |
void | SpacePoint3D (const art::Event &evt, evdb::View3D *view) |
void | PFParticle3D (const art::Event &evt, evdb::View3D *view) |
void | DrawPFParticle3D (const art::Ptr< recob::PFParticle > &pfPart, const art::PtrVector< recob::PFParticle > &pfParticleVec, const std::vector< art::Ptr< recob::SpacePoint >> &spacePointVec, const art::FindManyP< recob::Edge > &edgeAssnsVec, const art::FindManyP< recob::SpacePoint > &spacePointAssnsVec, const art::FindManyP< recob::SpacePoint > &edgeSPAssnVec, const art::FindManyP< recob::Hit > &spHitAssnVec, const art::FindMany< recob::Track > &trackAssnVec, const art::FindMany< recob::PCAxis > &pcAxisAssnVec, const art::FindMany< anab::CosmicTag > &cosmicTagAssnVec, int depth, evdb::View3D *view) |
void | Edge3D (const art::Event &evt, evdb::View3D *view) |
void | Prong3D (const art::Event &evt, evdb::View3D *view) |
void | DrawTrack3D (const recob::Track &track, evdb::View3D *view, int color, int marker=1, float size=2.) |
void | DrawShower3D (const recob::Shower &shower, int color, evdb::View3D *view) |
void | Seed3D (const art::Event &evt, evdb::View3D *view) |
void | Vertex3D (const art::Event &evt, evdb::View3D *view) |
void | Event3D (const art::Event &evt, evdb::View3D *view) |
void | Slice3D (const art::Event &evt, evdb::View3D *view) |
void | OpFlashOrtho (const art::Event &evt, detinfo::DetectorClocksData const &clockData, detinfo::DetectorPropertiesData const &detProp, evd::OrthoProj_t proj, evdb::View2D *view) |
void | VertexOrtho (const art::PtrVector< recob::Vertex > &vertex, evd::OrthoProj_t proj, evdb::View2D *view, int marker) |
void | VertexOrtho (const art::Event &evt, evd::OrthoProj_t proj, evdb::View2D *view) |
void | SpacePointOrtho (const art::Event &evt, evd::OrthoProj_t proj, double msize, evdb::View2D *view) |
void | PFParticleOrtho (const art::Event &evt, evd::OrthoProj_t proj, double msize, evdb::View2D *view) |
void | DrawPFParticleOrtho (const art::Ptr< recob::PFParticle > &pfPart, const art::PtrVector< recob::PFParticle > &pfParticleVec, const art::FindMany< recob::SpacePoint > &spacePointAssnsVec, const art::FindMany< recob::PCAxis > &pcAxisAssnVec, int depth, evd::OrthoProj_t proj, evdb::View2D *view) |
void | ProngOrtho (const art::Event &evt, evd::OrthoProj_t proj, double msize, evdb::View2D *view) |
void | DrawSpacePointOrtho (std::vector< art::Ptr< recob::SpacePoint >> &spts, int color, evd::OrthoProj_t proj, double msize, evdb::View2D *view, int mode=0) |
0: track, 1: shower More... | |
void | DrawProngOrtho (const recob::Prong &prong, int color, evd::OrthoProj_t proj, double msize, evdb::View2D *view) |
void | DrawTrackOrtho (const recob::Track &track, int color, evd::OrthoProj_t proj, double msize, evdb::View2D *view) |
void | DrawShowerOrtho (const recob::Shower &shower, int color, evd::OrthoProj_t proj, double msize, evdb::View2D *view) |
void | SeedOrtho (const art::Event &evt, evd::OrthoProj_t proj, evdb::View2D *view) |
void | FillTQHisto (const art::Event &evt, unsigned int plane, unsigned int wire, TH1F *histo) |
void | FillQHisto (const art::Event &evt, unsigned int plane, TH1F *histo) |
void | FillTQHistoDP (const art::Event &evt, unsigned int plane, unsigned int wire, TH1F *histo, std::vector< double > &htau1, std::vector< double > &htau2, std::vector< double > &hitamplitudes, std::vector< double > &hpeaktimes, std::vector< int > &hstartT, std::vector< int > &hendT, std::vector< int > &hNMultiHit, std::vector< int > &hLocalHitIndex) |
int | GetRegionOfInterest (int plane, int &minw, int &maxw, int &mint, int &maxt) |
void | GetChargeSum (int plane, double &charge, double &convcharge) |
Private Types | |
using | ISpacePointDrawerPtr = std::unique_ptr< evdb_tool::ISpacePoints3D > |
Private Member Functions | |
void | GetClusterOutlines (std::vector< const recob::Hit * > &hits, std::vector< double > &tpts, std::vector< double > &wpts, unsigned int plane) |
int | GetWires (const art::Event &evt, const art::InputTag &which, art::PtrVector< recob::Wire > &wires) |
int | GetHits (const art::Event &evt, const art::InputTag &which, std::vector< const recob::Hit * > &hits, unsigned int plane) |
int | GetSlices (const art::Event &evt, const art::InputTag &which, art::PtrVector< recob::Slice > &slices) |
int | GetClusters (const art::Event &evt, const art::InputTag &which, art::PtrVector< recob::Cluster > &clust) |
int | GetPFParticles (const art::Event &evt, const art::InputTag &which, art::PtrVector< recob::PFParticle > &pfpart) |
int | GetEndPoint2D (const art::Event &evt, const art::InputTag &which, art::PtrVector< recob::EndPoint2D > &ep2d) |
int | GetSpacePoints (const art::Event &evt, const art::InputTag &which, std::vector< art::Ptr< recob::SpacePoint >> &spts) |
int | GetEdges (const art::Event &evt, const art::InputTag &which, std::vector< art::Ptr< recob::Edge >> &edges) |
int | GetTracks (const art::Event &evt, const art::InputTag &which, art::View< recob::Track > &track) |
int | GetShowers (const art::Event &evt, const art::InputTag &which, art::View< recob::Shower > &shower) |
int | GetVertices (const art::Event &evt, const art::InputTag &which, art::PtrVector< recob::Vertex > &vertex) |
int | GetSeeds (const art::Event &evt, const art::InputTag &which, art::PtrVector< recob::Seed > &seed) |
int | GetOpFlashes (const art::Event &evt, const art::InputTag &which, art::PtrVector< recob::OpFlash > &opflash) |
int | GetEvents (const art::Event &evt, const art::InputTag &which, art::PtrVector< recob::Event > &event) |
float | SpacePointChiSq (const std::vector< art::Ptr< recob::Hit >> &) const |
std::vector< std::array< double, 3 > > | Circle3D (const TVector3 &pos, const TVector3 &axisDir, const double &radius) |
int | CountHits (const art::Event &evt, const art::InputTag &which, unsigned int cryostat, unsigned int tpc, unsigned int plane) |
Private Attributes | |
ISpacePointDrawerPtr | fAllSpacePointDrawer |
ISpacePointDrawerPtr | fSpacePointDrawer |
std::vector< int > | fWireMin |
lowest wire in interesting region for each plane More... | |
std::vector< int > | fWireMax |
highest wire in interesting region for each plane More... | |
std::vector< int > | fTimeMin |
lowest time in interesting region for each plane More... | |
std::vector< int > | fTimeMax |
highest time in interesting region for each plane More... | |
std::vector< double > | fRawCharge |
Sum of Raw Charge. More... | |
std::vector< double > | fConvertedCharge |
Sum of Charge Converted using Birks' formula. More... | |
Aid in the rendering of RecoBase objects.
Definition at line 64 of file RecoBaseDrawer.h.
|
private |
Definition at line 329 of file RecoBaseDrawer.h.
evd::RecoBaseDrawer::RecoBaseDrawer | ( | ) |
Definition at line 80 of file RecoBaseDrawer.cxx.
References fAllSpacePointDrawer, evd::RecoDrawingOptions::fAllSpacePointDrawerParams, fConvertedCharge, fRawCharge, fSpacePointDrawer, evd::RecoDrawingOptions::fSpacePointDrawerParams, evd::RawDrawingOptions::fTicks, fTimeMax, fTimeMin, fWireMax, fWireMin, and geo::GeometryCore::Iterate().
evd::RecoBaseDrawer::~RecoBaseDrawer | ( | ) |
Definition at line 118 of file RecoBaseDrawer.cxx.
|
private |
Definition at line 2799 of file RecoBaseDrawer.cxx.
References r.
Referenced by DrawShower3D(), and Prong2D().
void evd::RecoBaseDrawer::Cluster2D | ( | const art::Event & | evt, |
detinfo::DetectorClocksData const & | clockData, | ||
detinfo::DetectorPropertiesData const & | detProp, | ||
evdb::View2D * | view, | ||
unsigned int | plane | ||
) |
Definition at line 813 of file RecoBaseDrawer.cxx.
References util::abs(), evdb::View2D::AddPolyLine(), evdb::View2D::AddText(), color(), Draw2DSlopeEndPoints(), detinfo::DetectorPropertiesData::DriftVelocity(), e, evd::RawDrawingOptions::fAxisOrientation, evd::RecoDrawingOptions::fClusterLabels, evd::RecoDrawingOptions::fDrawClusters, evd::RecoDrawingOptions::fDrawCosmicTags, evd::RawDrawingOptions::fDrawRawDataOrCalibWires, evd::RawDrawingOptions::fTPC, GetClusterOutlines(), GetClusters(), GetSpacePoints(), Hit2D(), hits(), evd::kColor, evd::kNCOLS, recob::tracking::Plane::Plane(), geo::GeometryCore::Plane(), detinfo::sampling_rate(), art::PtrVector< T >::size(), util::to_string(), geo::PlaneGeo::View(), and geo::GeometryCore::WirePitch().
Referenced by evd::TWireProjPad::Draw().
|
private |
Definition at line 4023 of file RecoBaseDrawer.cxx.
References art::ProductRetriever::getView().
Referenced by FillTQHistoDP().
void evd::RecoBaseDrawer::Draw2DSlopeEndPoints | ( | double | xStart, |
double | yStart, | ||
double | xEnd, | ||
double | yEnd, | ||
double | slope, | ||
int | color, | ||
evdb::View2D * | view | ||
) |
Definition at line 1025 of file RecoBaseDrawer.cxx.
References util::abs(), evdb::View2D::AddLine(), evdb::View2D::AddMarker(), evd::RawDrawingOptions::fAxisOrientation, evd::RecoDrawingOptions::fDraw2DSlopeEndPoints, evd::RawDrawingOptions::fDrawRawDataOrCalibWires, x1, x2, and y1.
Referenced by Cluster2D(), DrawProng2D(), and DrawTrack2D().
void evd::RecoBaseDrawer::Draw2DSlopeEndPoints | ( | double | x, |
double | y, | ||
double | slope, | ||
int | color, | ||
evdb::View2D * | view | ||
) |
Definition at line 1071 of file RecoBaseDrawer.cxx.
References util::abs(), evdb::View2D::AddLine(), evdb::View2D::AddMarker(), evd::RawDrawingOptions::fAxisOrientation, evd::RecoDrawingOptions::fDraw2DSlopeEndPoints, evd::RawDrawingOptions::fDrawRawDataOrCalibWires, x, x1, y, and y1.
void evd::RecoBaseDrawer::Draw2DSlopeEndPoints | ( | double | x, |
double | y, | ||
double | cosx, | ||
double | cosy, | ||
int | color, | ||
evdb::View2D * | view | ||
) |
Definition at line 1110 of file RecoBaseDrawer.cxx.
References evdb::View2D::AddLine(), evdb::View2D::AddMarker(), evd::RawDrawingOptions::fAxisOrientation, evd::RecoDrawingOptions::fDraw2DSlopeEndPoints, evd::RawDrawingOptions::fDrawRawDataOrCalibWires, x, x1, y, and y1.
void evd::RecoBaseDrawer::DrawPFParticle3D | ( | const art::Ptr< recob::PFParticle > & | pfPart, |
const art::PtrVector< recob::PFParticle > & | pfParticleVec, | ||
const std::vector< art::Ptr< recob::SpacePoint >> & | spacePointVec, | ||
const art::FindManyP< recob::Edge > & | edgeAssnsVec, | ||
const art::FindManyP< recob::SpacePoint > & | spacePointAssnsVec, | ||
const art::FindManyP< recob::SpacePoint > & | edgeSPAssnVec, | ||
const art::FindManyP< recob::Hit > & | spHitAssnVec, | ||
const art::FindMany< recob::Track > & | trackAssnVec, | ||
const art::FindMany< recob::PCAxis > & | pcAxisAssnVec, | ||
const art::FindMany< anab::CosmicTag > & | cosmicTagAssnVec, | ||
int | depth, | ||
evdb::View3D * | view | ||
) |
Definition at line 2133 of file RecoBaseDrawer.cxx.
References evdb::View3D::AddPolyLine3D(), evdb::View3D::AddPolyMarker3D(), art::PtrVector< T >::at(), anab::CosmicTag::CosmicScore(), recob::PFParticle::Daughters(), DrawTrack3D(), evd::RecoDrawingOptions::fBestPCAAxisOnly, evd::RecoDrawingOptions::fDraw3DEdges, evd::RecoDrawingOptions::fDraw3DPCAAxes, evd::RecoDrawingOptions::fDraw3DSpacePoints, evd::RecoDrawingOptions::fDrawPFParticles, fSpacePointDrawer, evd::kColor, art::Ptr< T >::key(), evd::kNCOLS, recob::PFParticle::NumDaughters(), recob::PFParticle::Self(), track, and recob::SpacePoint::XYZ().
Referenced by PFParticle3D().
void evd::RecoBaseDrawer::DrawPFParticleOrtho | ( | const art::Ptr< recob::PFParticle > & | pfPart, |
const art::PtrVector< recob::PFParticle > & | pfParticleVec, | ||
const art::FindMany< recob::SpacePoint > & | spacePointAssnsVec, | ||
const art::FindMany< recob::PCAxis > & | pcAxisAssnVec, | ||
int | depth, | ||
evd::OrthoProj_t | proj, | ||
evdb::View2D * | view | ||
) |
Definition at line 3168 of file RecoBaseDrawer.cxx.
References evdb::View2D::AddPolyLine(), evdb::View2D::AddPolyMarker(), art::PtrVector< T >::at(), recob::PFParticle::Daughters(), evd::RecoDrawingOptions::fBestPCAAxisOnly, evd::RecoDrawingOptions::fSkeletonOnly, evd::kColor, evd::kNCOLS, evd::kXY, evd::kXZ, evd::kYZ, recob::PFParticle::NumDaughters(), proj, and recob::PFParticle::Self().
Referenced by PFParticleOrtho().
void evd::RecoBaseDrawer::DrawProng2D | ( | detinfo::DetectorPropertiesData const & | detProp, |
std::vector< const recob::Hit * > & | hits, | ||
evdb::View2D * | view, | ||
unsigned int | plane, | ||
TVector3 const & | startPos, | ||
TVector3 const & | startDir, | ||
int | id, | ||
float | cscore = -5 |
||
) |
Definition at line 1223 of file RecoBaseDrawer.cxx.
References evdb::View2D::AddText(), color(), detinfo::DetectorPropertiesData::ConvertXToTicks(), Draw2DSlopeEndPoints(), evd::RawDrawingOptions::fCryostat, evd::RecoDrawingOptions::fDrawCosmicTags, evd::RecoDrawingOptions::fDrawShowers, evd::RawDrawingOptions::fTPC, Hit2D(), evd::kColor, evd::kColor2, evd::kNCOLS, util::to_string(), geo::GeometryCore::WireCoordinate(), and X.
Referenced by Prong2D().
void evd::RecoBaseDrawer::DrawProngOrtho | ( | const recob::Prong & | prong, |
int | color, | ||
evd::OrthoProj_t | proj, | ||
double | msize, | ||
evdb::View2D * | view | ||
) |
void evd::RecoBaseDrawer::DrawShower3D | ( | const recob::Shower & | shower, |
int | color, | ||
evdb::View3D * | view | ||
) |
Definition at line 2722 of file RecoBaseDrawer.cxx.
References evdb::View3D::AddPolyLine3D(), Circle3D(), color(), recob::Shower::dEdx(), recob::Shower::Direction(), tca::evt, fSpacePointDrawer, evdb::EventHolder::GetEvent(), art::ProductRetriever::getMany(), recob::Shower::has_length(), recob::Shower::has_open_angle(), evdb::EventHolder::Instance(), art::Handle< T >::isValid(), recob::Shower::Length(), n, recob::Shower::OpenAngle(), art::Handle< T >::provenance(), pt, radius, and recob::Shower::ShowerStart().
Referenced by Event3D(), Prong3D(), and Vertex3D().
void evd::RecoBaseDrawer::DrawShowerOrtho | ( | const recob::Shower & | shower, |
int | color, | ||
evd::OrthoProj_t | proj, | ||
double | msize, | ||
evdb::View2D * | view | ||
) |
Definition at line 3634 of file RecoBaseDrawer.cxx.
References evdb::View2D::AddMarker(), DrawSpacePointOrtho(), tca::evt, evdb::EventHolder::GetEvent(), art::ProductRetriever::getMany(), evdb::EventHolder::Instance(), art::Handle< T >::isValid(), evd::kColor2, evd::kNCOLS, evd::kXY, evd::kXZ, evd::kYZ, n, art::Handle< T >::provenance(), and recob::Shower::ShowerStart().
Referenced by ProngOrtho().
void evd::RecoBaseDrawer::DrawSpacePointOrtho | ( | std::vector< art::Ptr< recob::SpacePoint >> & | spts, |
int | color, | ||
evd::OrthoProj_t | proj, | ||
double | msize, | ||
evdb::View2D * | view, | ||
int | mode = 0 |
||
) |
0: track, 1: shower
Definition at line 3465 of file RecoBaseDrawer.cxx.
References evdb::View2D::AddPolyMarker(), evd::RecoDrawingOptions::fColorSpacePointsByChisq, evd::kColor, evd::kColor2, evd::kNCOLS, evd::kXY, evd::kXZ, evd::kYZ, and recob::SpacePoint::XYZ().
Referenced by DrawShowerOrtho(), DrawTrackOrtho(), and SpacePointOrtho().
void evd::RecoBaseDrawer::DrawTrack2D | ( | detinfo::DetectorClocksData const & | clockData, |
detinfo::DetectorPropertiesData const & | detProp, | ||
std::vector< const recob::Hit * > & | hits, | ||
evdb::View2D * | view, | ||
unsigned int | plane, | ||
const recob::Track * | track, | ||
int | color, | ||
int | lineWidth | ||
) |
Definition at line 1292 of file RecoBaseDrawer.cxx.
References evdb::View2D::AddPolyLine(), detinfo::DetectorPropertiesData::ConvertXToTicks(), Draw2DSlopeEndPoints(), detinfo::DetectorPropertiesData::DriftVelocity(), e, evd::RawDrawingOptions::fCryostat, geo::GeometryCore::FindTPCAtPosition(), evd::RawDrawingOptions::fTPC, recob::Track::HasValidPoint(), Hit2D(), recob::Track::LocationAtPoint(), geo::GeometryCore::NearestWireID(), recob::Track::NumberTrajectoryPoints(), geo::GeometryCore::Plane(), detinfo::sampling_rate(), geo::WireGeo::ThetaZ(), geo::PlaneGeo::toWorldCoords(), recob::Track::Vertex(), recob::Track::VertexDirection(), geo::PlaneGeo::Wire(), geo::WireID::Wire, and geo::GeometryCore::WirePitch().
Referenced by DrawTrackVertexAssns2D(), and Prong2D().
void evd::RecoBaseDrawer::DrawTrack3D | ( | const recob::Track & | track, |
evdb::View3D * | view, | ||
int | color, | ||
int | marker = 1 , |
||
float | size = 2. |
||
) |
Definition at line 2612 of file RecoBaseDrawer.cxx.
References evdb::View3D::AddPolyLine3D(), evdb::View3D::AddPolyMarker3D(), color(), recob::Track::CountValidPoints(), recob::Track::DirectionAtPoint(), tca::evt, evd::RecoDrawingOptions::fDrawTrackSpacePoints, evd::RecoDrawingOptions::fDrawTrackTrajectoryPoints, fSpacePointDrawer, evdb::EventHolder::GetEvent(), art::ProductRetriever::getMany(), recob::Track::HasValidPoint(), evdb::EventHolder::Instance(), art::Handle< T >::isValid(), evd::kNCOLS, recob::Track::LocationAtPoint(), n, recob::Track::NumberTrajectoryPoints(), art::Handle< T >::provenance(), and util::size().
Referenced by DrawPFParticle3D(), Event3D(), Prong3D(), and Vertex3D().
void evd::RecoBaseDrawer::DrawTrackOrtho | ( | const recob::Track & | track, |
int | color, | ||
evd::OrthoProj_t | proj, | ||
double | msize, | ||
evdb::View2D * | view | ||
) |
Definition at line 3532 of file RecoBaseDrawer.cxx.
References evdb::View2D::AddPolyLine(), evdb::View2D::AddPolyMarker(), evdb::View2D::AddText(), recob::Track::CountValidPoints(), DrawSpacePointOrtho(), recob::Track::End(), tca::evt, evd::RecoDrawingOptions::fDrawTracks, evd::RecoDrawingOptions::fDrawTrackSpacePoints, evd::RecoDrawingOptions::fDrawTrackTrajectoryPoints, evdb::EventHolder::GetEvent(), art::ProductRetriever::getMany(), recob::Track::HasValidPoint(), recob::Track::ID(), evdb::EventHolder::Instance(), art::Handle< T >::isValid(), evd::kColor, evd::kNCOLS, evd::kXY, evd::kXZ, evd::kYZ, recob::Track::LocationAtPoint(), n, recob::Track::NumberTrajectoryPoints(), art::Handle< T >::provenance(), util::to_string(), x, y, and z.
Referenced by ProngOrtho().
void evd::RecoBaseDrawer::DrawTrackVertexAssns2D | ( | const art::Event & | evt, |
detinfo::DetectorClocksData const & | clockData, | ||
detinfo::DetectorPropertiesData const & | detProp, | ||
evdb::View2D * | view, | ||
unsigned int | plane | ||
) |
Definition at line 1597 of file RecoBaseDrawer.cxx.
References evdb::View2D::AddMarker(), evdb::View2D::AddText(), color(), detinfo::DetectorPropertiesData::ConvertXToTicks(), anab::CosmicTag::CosmicScore(), DrawTrack2D(), recob::Track::End(), tca::evt, evd::RawDrawingOptions::fCryostat, evd::RecoDrawingOptions::fDrawTrackVertexAssns, evd::RawDrawingOptions::fTPC, evd::RecoDrawingOptions::fTrkVtxCosmicLabels, evd::RecoDrawingOptions::fTrkVtxFilterLabels, evd::RecoDrawingOptions::fTrkVtxTrackLabels, art::Ptr< T >::get(), art::ProductRetriever::getByLabel(), GetTracks(), hits(), recob::Vertex::ID(), recob::Track::ID(), art::Ptr< T >::key(), recob::Track::NumberTrajectoryPoints(), geo::GeometryCore::Plane(), util::size(), util::to_string(), track, art::View< T >::vals(), geo::PlaneGeo::View(), geo::GeometryCore::WireCoordinate(), x, and recob::Vertex::XYZ().
Referenced by evd::TWireProjPad::Draw().
void evd::RecoBaseDrawer::Edge3D | ( | const art::Event & | evt, |
evdb::View3D * | view | ||
) |
Definition at line 2428 of file RecoBaseDrawer.cxx.
References evdb::View3D::AddPolyMarker3D(), evd::RecoDrawingOptions::fDrawEdges, evd::RecoDrawingOptions::fEdgeLabels, evd::RecoDrawingOptions::fExtremePointLabels, GetEdges(), GetSpacePoints(), recob::SpacePoint::ID(), and recob::SpacePoint::XYZ().
Referenced by evd::Display3DPad::Draw().
void evd::RecoBaseDrawer::EndPoint2D | ( | const art::Event & | evt, |
evdb::View2D * | view, | ||
unsigned int | plane | ||
) |
Definition at line 484 of file RecoBaseDrawer.cxx.
References evdb::View2D::AddMarker(), evdb::View2D::AddText(), color(), evd::RawDrawingOptions::fAxisOrientation, evd::RecoDrawingOptions::fDraw2DEndPoints, evd::RawDrawingOptions::fDrawRawDataOrCalibWires, evd::RecoDrawingOptions::fEndPoint2DLabels, evd::RawDrawingOptions::fTPC, GetEndPoint2D(), evd::kColor, evd::kNCOLS, geo::GeometryCore::Plane(), art::PtrVector< T >::size(), util::to_string(), geo::PlaneGeo::View(), x, and y.
Referenced by evd::TWireProjPad::Draw().
void evd::RecoBaseDrawer::Event2D | ( | const art::Event & | evt, |
evdb::View2D * | view, | ||
unsigned int | plane | ||
) |
Definition at line 1815 of file RecoBaseDrawer.cxx.
References e, evd::RawDrawingOptions::fCryostat, evd::RecoDrawingOptions::fDrawEvents, evd::RawDrawingOptions::fDrawRawDataOrCalibWires, evd::RecoDrawingOptions::fEventLabels, evd::RawDrawingOptions::fTPC, GetEvents(), Hit2D(), hits(), evd::kColor, evd::kNCOLS, geo::GeometryCore::Plane(), art::PtrVector< T >::size(), and geo::PlaneGeo::View().
Referenced by evd::TWireProjPad::Draw().
void evd::RecoBaseDrawer::Event3D | ( | const art::Event & | evt, |
evdb::View3D * | view | ||
) |
Definition at line 2878 of file RecoBaseDrawer.cxx.
References evdb::View3D::AddPolyMarker3D(), DrawShower3D(), DrawTrack3D(), e, evd::RecoDrawingOptions::fDrawEvents, evd::RawDrawingOptions::fDrawRawDataOrCalibWires, evd::RecoDrawingOptions::fEventLabels, evd::RecoDrawingOptions::fVertexLabels, GetEvents(), evd::kColor, evd::kNCOLS, and art::PtrVector< T >::size().
Referenced by evd::Display3DPad::Draw().
void evd::RecoBaseDrawer::FillQHisto | ( | const art::Event & | evt, |
unsigned int | plane, | ||
TH1F * | histo | ||
) |
Definition at line 4100 of file RecoBaseDrawer.cxx.
References geo::GeometryCore::ChannelToWire(), evd::RawDrawingOptions::fCryostat, evd::RawDrawingOptions::fDrawRawDataOrCalibWires, evd::RawDrawingOptions::fTPC, evd::RecoDrawingOptions::fWireLabels, GetWires(), and art::PtrVector< T >::size().
void evd::RecoBaseDrawer::FillTQHisto | ( | const art::Event & | evt, |
unsigned int | plane, | ||
unsigned int | wire, | ||
TH1F * | histo | ||
) |
Definition at line 4044 of file RecoBaseDrawer.cxx.
References geo::GeometryCore::ChannelToWire(), evd::RawDrawingOptions::fCryostat, evd::RawDrawingOptions::fDrawRawDataOrCalibWires, evd::RawDrawingOptions::fTPC, evd::RecoDrawingOptions::fWireLabels, GetWires(), and art::PtrVector< T >::size().
void evd::RecoBaseDrawer::FillTQHistoDP | ( | const art::Event & | evt, |
unsigned int | plane, | ||
unsigned int | wire, | ||
TH1F * | histo, | ||
std::vector< double > & | htau1, | ||
std::vector< double > & | htau2, | ||
std::vector< double > & | hitamplitudes, | ||
std::vector< double > & | hpeaktimes, | ||
std::vector< int > & | hstartT, | ||
std::vector< int > & | hendT, | ||
std::vector< int > & | hNMultiHit, | ||
std::vector< int > & | hLocalHitIndex | ||
) |
Definition at line 4141 of file RecoBaseDrawer.cxx.
References geo::GeometryCore::ChannelToWire(), CountHits(), anab::FVectorReader< T, N >::create(), evd::RawDrawingOptions::fCryostat, evd::RawDrawingOptions::fDrawRawDataOrCalibWires, evd::RecoDrawingOptions::fHitLabels, evd::RawDrawingOptions::fTPC, evd::RecoDrawingOptions::fWireLabels, GetHits(), GetWires(), hits(), and art::PtrVector< T >::size().
void evd::RecoBaseDrawer::GetChargeSum | ( | int | plane, |
double & | charge, | ||
double & | convcharge | ||
) |
Definition at line 475 of file RecoBaseDrawer.cxx.
References fConvertedCharge, and fRawCharge.
|
private |
Make a set of points which outline a cluster
c | : Reco base cluster to outline |
wpts | : wire values of the outlines |
tpts | : tdc values of the outlines |
plane | : plane number |
Definition at line 1157 of file RecoBaseDrawer.cxx.
References evd::RawDrawingOptions::fCryostat, evd::RawDrawingOptions::fTPC, and w.
Referenced by Cluster2D().
|
private |
Definition at line 3786 of file RecoBaseDrawer.cxx.
References art::PtrVector< T >::clear(), e, art::ProductRetriever::getByLabel(), art::PtrVector< T >::push_back(), art::PtrVector< T >::reserve(), art::PtrVector< T >::size(), and art::PtrVector< T >::swap().
Referenced by Cluster2D().
|
private |
Definition at line 3926 of file RecoBaseDrawer.cxx.
References art::ProductRetriever::getByLabel().
Referenced by Edge3D(), and PFParticle3D().
|
private |
Definition at line 3837 of file RecoBaseDrawer.cxx.
References art::PtrVector< T >::clear(), e, art::ProductRetriever::getByLabel(), art::PtrVector< T >::push_back(), art::PtrVector< T >::size(), and art::PtrVector< T >::swap().
Referenced by EndPoint2D().
|
private |
Definition at line 3998 of file RecoBaseDrawer.cxx.
References e, art::ProductRetriever::getByLabel(), art::PtrVector< T >::push_back(), and art::PtrVector< T >::swap().
Referenced by Event2D(), and Event3D().
|
private |
Definition at line 3724 of file RecoBaseDrawer.cxx.
References geo::GeometryCore::ChannelToWire(), e, evd::RawDrawingOptions::fCryostat, evd::RawDrawingOptions::fTPC, and art::ProductRetriever::getView().
Referenced by FillTQHistoDP(), and Hit2D().
|
private |
Definition at line 3863 of file RecoBaseDrawer.cxx.
References art::PtrVector< T >::clear(), e, art::ProductRetriever::getByLabel(), art::PtrVector< T >::push_back(), art::PtrVector< T >::size(), and art::PtrVector< T >::swap().
Referenced by OpFlash2D(), and OpFlashOrtho().
|
private |
Definition at line 3812 of file RecoBaseDrawer.cxx.
References art::PtrVector< T >::clear(), e, art::ProductRetriever::getByLabel(), art::PtrVector< T >::push_back(), art::PtrVector< T >::size(), and art::PtrVector< T >::swap().
Referenced by PFParticle3D(), and PFParticleOrtho().
int evd::RecoBaseDrawer::GetRegionOfInterest | ( | int | plane, |
int & | minw, | ||
int & | maxw, | ||
int & | mint, | ||
int & | maxt | ||
) |
Definition at line 445 of file RecoBaseDrawer.cxx.
References evd::RawDrawingOptions::fTicks, fTimeMax, fTimeMin, fWireMax, fWireMin, and geo::GeometryCore::Nwires().
Referenced by evd::TWireProjPad::ShowFull().
|
private |
Definition at line 3889 of file RecoBaseDrawer.cxx.
References art::PtrVector< T >::clear(), e, art::ProductRetriever::getByLabel(), art::PtrVector< T >::push_back(), art::PtrVector< T >::size(), and art::PtrVector< T >::swap().
Referenced by Seed2D(), Seed3D(), and SeedOrtho().
|
private |
Definition at line 3958 of file RecoBaseDrawer.cxx.
References e, art::ProductRetriever::getView(), and art::View< T >::vals().
Referenced by Prong2D(), Prong3D(), and ProngOrtho().
|
private |
Definition at line 3760 of file RecoBaseDrawer.cxx.
References art::PtrVector< T >::clear(), e, art::ProductRetriever::getByLabel(), art::PtrVector< T >::push_back(), art::PtrVector< T >::reserve(), art::PtrVector< T >::size(), and art::PtrVector< T >::swap().
Referenced by Slice2D(), and Slice3D().
|
private |
Definition at line 3914 of file RecoBaseDrawer.cxx.
References art::fill_ptr_vector(), and art::ProductRetriever::getByLabel().
Referenced by Cluster2D(), Edge3D(), PFParticle3D(), SpacePoint3D(), and SpacePointOrtho().
|
private |
Definition at line 3943 of file RecoBaseDrawer.cxx.
References e, art::ProductRetriever::getView(), and art::View< T >::vals().
Referenced by DrawTrackVertexAssns2D(), Prong2D(), Prong3D(), and ProngOrtho().
|
private |
Definition at line 3973 of file RecoBaseDrawer.cxx.
References art::PtrVector< T >::clear(), e, art::ProductRetriever::getByLabel(), art::PtrVector< T >::push_back(), art::PtrVector< T >::size(), and art::PtrVector< T >::swap().
Referenced by Vertex2D(), Vertex3D(), and VertexOrtho().
|
private |
Definition at line 3698 of file RecoBaseDrawer.cxx.
References art::PtrVector< T >::clear(), e, art::ProductRetriever::getByLabel(), art::PtrVector< T >::push_back(), art::PtrVector< T >::size(), art::PtrVector< T >::swap(), and w.
Referenced by FillQHisto(), FillTQHisto(), FillTQHistoDP(), and Wire2D().
int evd::RecoBaseDrawer::Hit2D | ( | const art::Event & | evt, |
detinfo::DetectorPropertiesData const & | detProp, | ||
evdb::View2D * | view, | ||
unsigned int | plane | ||
) |
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 257 of file RecoBaseDrawer.cxx.
References detinfo::DetectorPropertiesData::BirksCorrection(), detinfo::DetectorPropertiesData::ElectronsToADC(), fConvertedCharge, evd::RawDrawingOptions::fCryostat, evd::RecoDrawingOptions::fDrawAllWireIDs, evd::RecoDrawingOptions::fDrawHits, evd::RawDrawingOptions::fDrawRawDataOrCalibWires, evd::RecoDrawingOptions::fHitLabels, fRawCharge, evd::RawDrawingOptions::fTPC, GetHits(), hits(), and geo::GeometryCore::WirePitch().
Referenced by Cluster2D(), evd::TWireProjPad::Draw(), DrawProng2D(), DrawTrack2D(), Event2D(), and Slice2D().
int evd::RecoBaseDrawer::Hit2D | ( | std::vector< const recob::Hit * > | hits, |
int | color, | ||
evdb::View2D * | view, | ||
bool | allWireIDs, | ||
bool | drawConnectingLines = false , |
||
int | lineWidth = 1 |
||
) |
Render Hit objects on a 2D viewing canvas
hits | : vector of hits for the veiw |
color | : color of associated cluster/prong |
view | : Pointer to view to draw on |
assumes the hits are all from the correct plane for the given view
Definition at line 309 of file RecoBaseDrawer.cxx.
References evdb::View2D::AddBox(), evdb::View2D::AddLine(), geo::GeometryCore::ChannelToWire(), evd::RawDrawingOptions::fAxisOrientation, evd::RawDrawingOptions::fCryostat, evd::RecoDrawingOptions::fSelectedHitColor, evd::RawDrawingOptions::fTicks, evd::RawDrawingOptions::fTPC, and w.
int evd::RecoBaseDrawer::Hit2D | ( | std::vector< const recob::Hit * > | hits, |
evdb::View2D * | view, | ||
float | cosmicscore | ||
) |
Definition at line 393 of file RecoBaseDrawer.cxx.
References evdb::View2D::AddLine(), evd::RawDrawingOptions::fAxisOrientation, evd::RawDrawingOptions::fCryostat, evd::RawDrawingOptions::fTPC, and w.
void evd::RecoBaseDrawer::OpFlash2D | ( | const art::Event & | evt, |
detinfo::DetectorClocksData const & | clockData, | ||
detinfo::DetectorPropertiesData const & | detProp, | ||
evdb::View2D * | view, | ||
unsigned int | plane | ||
) |
Definition at line 539 of file RecoBaseDrawer.cxx.
References evdb::View2D::AddLine(), e, evd::RawDrawingOptions::fAxisOrientation, evd::RawDrawingOptions::fCryostat, evd::RecoDrawingOptions::fDrawOpFlashes, evd::RawDrawingOptions::fDrawRawDataOrCalibWires, evd::RecoDrawingOptions::fFlashMinPE, evd::RecoDrawingOptions::fFlashTMax, evd::RecoDrawingOptions::fFlashTMin, evd::RecoDrawingOptions::fOpFlashLabels, evd::RawDrawingOptions::fTPC, GetOpFlashes(), detinfo::DetectorPropertiesData::GetXTicksOffset(), evd::kColor, evd::kNCOLS, MF_LOG_VERBATIM, geo::GeometryCore::NearestWireID(), detinfo::sampling_rate(), art::PtrVector< T >::size(), geo::InvalidWireError::suggestedWireID(), and geo::WireID::Wire.
Referenced by evd::TWireProjPad::Draw().
void evd::RecoBaseDrawer::OpFlashOrtho | ( | const art::Event & | evt, |
detinfo::DetectorClocksData const & | clockData, | ||
detinfo::DetectorPropertiesData const & | detProp, | ||
evd::OrthoProj_t | proj, | ||
evdb::View2D * | view | ||
) |
Definition at line 2961 of file RecoBaseDrawer.cxx.
References evdb::View2D::AddBox(), evdb::View2D::AddLine(), evdb::View2D::AddMarker(), detinfo::DetectorPropertiesData::ConvertTicksToX(), evd::RawDrawingOptions::fCryostat, evd::RecoDrawingOptions::fDrawOpFlashes, evd::RawDrawingOptions::fDrawRawDataOrCalibWires, evd::RecoDrawingOptions::fFlashMinPE, evd::RecoDrawingOptions::fFlashTMax, evd::RecoDrawingOptions::fFlashTMin, evd::RecoDrawingOptions::fOpFlashLabels, evd::RawDrawingOptions::fTPC, GetOpFlashes(), detinfo::DetectorPropertiesData::GetXTicksOffset(), geo::GeometryCore::Iterate(), evd::kColor, evd::kNCOLS, evd::kXY, evd::kXZ, evd::kYZ, detinfo::sampling_rate(), and art::PtrVector< T >::size().
Referenced by evd::Ortho3DPad::Draw().
void evd::RecoBaseDrawer::PFParticle3D | ( | const art::Event & | evt, |
evdb::View3D * | view | ||
) |
Definition at line 2001 of file RecoBaseDrawer.cxx.
References art::PtrVector< T >::at(), DrawPFParticle3D(), evd::RecoDrawingOptions::fCosmicTagLabels, evd::RecoDrawingOptions::fDrawEdges, evd::RecoDrawingOptions::fDrawPFParticles, evd::RawDrawingOptions::fDrawRawDataOrCalibWires, evd::RecoDrawingOptions::fPFParticleLabels, evd::RecoDrawingOptions::fSpacePointLabels, evd::RecoDrawingOptions::fTrackLabels, GetEdges(), GetPFParticles(), GetSpacePoints(), and art::PtrVector< T >::size().
Referenced by evd::Display3DPad::Draw().
void evd::RecoBaseDrawer::PFParticleOrtho | ( | const art::Event & | evt, |
evd::OrthoProj_t | proj, | ||
double | msize, | ||
evdb::View2D * | view | ||
) |
Definition at line 3117 of file RecoBaseDrawer.cxx.
References art::PtrVector< T >::at(), DrawPFParticleOrtho(), evd::RecoDrawingOptions::fDrawPFParticles, evd::RawDrawingOptions::fDrawRawDataOrCalibWires, evd::RecoDrawingOptions::fPFParticleLabels, GetPFParticles(), and art::PtrVector< T >::size().
Referenced by evd::Ortho3DPad::Draw().
void evd::RecoBaseDrawer::Prong2D | ( | const art::Event & | evt, |
detinfo::DetectorClocksData const & | clockData, | ||
detinfo::DetectorPropertiesData const & | detProp, | ||
evdb::View2D * | view, | ||
unsigned int | plane | ||
) |
Definition at line 1379 of file RecoBaseDrawer.cxx.
References evdb::View2D::AddLine(), evdb::View2D::AddPolyLine(), evdb::View2D::AddText(), Circle3D(), color(), detinfo::DetectorPropertiesData::ConvertXToTicks(), anab::CosmicTag::CosmicScore(), dir, DrawProng2D(), DrawTrack2D(), tca::evt, evd::RecoDrawingOptions::fCosmicTagLabels, evd::RawDrawingOptions::fCryostat, evd::RecoDrawingOptions::fDrawCosmicTags, evd::RawDrawingOptions::fDrawRawDataOrCalibWires, evd::RecoDrawingOptions::fDrawShowers, evd::RecoDrawingOptions::fDrawTracks, evd::RecoDrawingOptions::fShowerLabels, evd::RawDrawingOptions::fTPC, evd::RecoDrawingOptions::fTrackLabels, GetShowers(), GetTracks(), hits(), evd::kColor, evd::kNCOLS, geo::GeometryCore::Plane(), radius, util::to_string(), track, art::View< T >::vals(), geo::PlaneGeo::View(), and geo::GeometryCore::WireCoordinate().
Referenced by evd::TWireProjPad::Draw().
void evd::RecoBaseDrawer::Prong3D | ( | const art::Event & | evt, |
evdb::View3D * | view | ||
) |
Definition at line 2534 of file RecoBaseDrawer.cxx.
References color(), anab::CosmicTag::CosmicScore(), DrawShower3D(), DrawTrack3D(), evd::RecoDrawingOptions::fCosmicTagLabels, evd::RawDrawingOptions::fDrawRawDataOrCalibWires, evd::RecoDrawingOptions::fDrawShowers, evd::RecoDrawingOptions::fDrawTracks, art::View< T >::fill(), evd::RecoDrawingOptions::fShowerLabels, evd::RecoDrawingOptions::fTrackLabels, GetShowers(), GetTracks(), recob::Shower::ID(), art::View< T >::isValid(), evd::kColor, evd::kNCOLS, util::size(), track, and art::View< T >::vals().
Referenced by evd::Display3DPad::Draw().
void evd::RecoBaseDrawer::ProngOrtho | ( | const art::Event & | evt, |
evd::OrthoProj_t | proj, | ||
double | msize, | ||
evdb::View2D * | view | ||
) |
Definition at line 3412 of file RecoBaseDrawer.cxx.
References color(), DrawShowerOrtho(), DrawTrackOrtho(), evd::RawDrawingOptions::fDrawRawDataOrCalibWires, evd::RecoDrawingOptions::fDrawShowers, evd::RecoDrawingOptions::fDrawTracks, evd::RecoDrawingOptions::fShowerLabels, evd::RecoDrawingOptions::fTrackLabels, GetShowers(), GetTracks(), recob::Shower::ID(), recob::Track::ID(), track, and art::View< T >::vals().
Referenced by evd::Ortho3DPad::Draw().
void evd::RecoBaseDrawer::Seed2D | ( | const art::Event & | evt, |
detinfo::DetectorPropertiesData const & | detProp, | ||
evdb::View2D * | view, | ||
unsigned int | plane | ||
) |
Definition at line 627 of file RecoBaseDrawer.cxx.
References evdb::View2D::AddLine(), evdb::View2D::AddMarker(), color(), detinfo::DetectorPropertiesData::ConvertXToTicks(), e, evd::RawDrawingOptions::fAxisOrientation, evd::RawDrawingOptions::fCryostat, evd::RawDrawingOptions::fDrawRawDataOrCalibWires, evd::RecoDrawingOptions::fDrawSeeds, evd::RecoDrawingOptions::fSeedLabels, evd::RawDrawingOptions::fTPC, GetSeeds(), evd::kColor, geo::GeometryCore::NearestWireID(), tca::seeds, art::PtrVector< T >::size(), geo::vect::toPoint(), geo::WireID::Wire, x, x1, x2, y, y1, and y2.
Referenced by evd::TWireProjPad::Draw().
void evd::RecoBaseDrawer::Seed3D | ( | const art::Event & | evt, |
evdb::View3D * | view | ||
) |
Definition at line 1860 of file RecoBaseDrawer.cxx.
References evdb::View3D::AddPolyLine3D(), evdb::View3D::AddPolyMarker3D(), art::PtrVector< T >::at(), color(), dir, evd::RecoDrawingOptions::fDrawSeeds, evd::RecoDrawingOptions::fSeedLabels, GetSeeds(), pt, tca::seeds, and art::PtrVector< T >::size().
Referenced by evd::Display3DPad::Draw().
void evd::RecoBaseDrawer::SeedOrtho | ( | const art::Event & | evt, |
evd::OrthoProj_t | proj, | ||
evdb::View2D * | view | ||
) |
Definition at line 1905 of file RecoBaseDrawer.cxx.
References evdb::View2D::AddLine(), evdb::View2D::AddMarker(), art::PtrVector< T >::at(), color(), dir, evd::RecoDrawingOptions::fDrawSeeds, evd::RecoDrawingOptions::fSeedLabels, GetSeeds(), evd::kColor, evd::kXY, evd::kXZ, evd::kYZ, pt, tca::seeds, and art::PtrVector< T >::size().
Referenced by evd::Ortho3DPad::Draw().
void evd::RecoBaseDrawer::Slice2D | ( | const art::Event & | evt, |
detinfo::DetectorPropertiesData const & | detProp, | ||
evdb::View2D * | view, | ||
unsigned int | plane | ||
) |
Definition at line 722 of file RecoBaseDrawer.cxx.
References util::abs(), evdb::View2D::AddMarker(), evdb::View2D::AddPolyLine(), evdb::View2D::AddText(), color(), detinfo::DetectorPropertiesData::ConvertXToTicks(), evd::RawDrawingOptions::fCryostat, evd::RawDrawingOptions::fDrawRawDataOrCalibWires, evd::RecoDrawingOptions::fDrawSlices, evd::RecoDrawingOptions::fSliceLabels, evd::RawDrawingOptions::fTPC, GetSlices(), Hit2D(), hits(), evd::kColor, evd::kNCOLS, art::PtrVector< T >::size(), tca::slices, util::to_string(), geo::GeometryCore::WireCoordinate(), X, Y, and Z.
Referenced by evd::TWireProjPad::Draw().
void evd::RecoBaseDrawer::Slice3D | ( | const art::Event & | evt, |
evdb::View3D * | view | ||
) |
Definition at line 2938 of file RecoBaseDrawer.cxx.
References util::abs(), color(), evd::RawDrawingOptions::fDrawRawDataOrCalibWires, evd::RecoDrawingOptions::fDrawSlices, evd::RecoDrawingOptions::fDrawSliceSpacePoints, evd::RecoDrawingOptions::fSliceLabels, fSpacePointDrawer, GetSlices(), evd::kColor, evd::kNCOLS, art::PtrVector< T >::size(), and tca::slices.
Referenced by evd::Display3DPad::Draw().
void evd::RecoBaseDrawer::SpacePoint3D | ( | const art::Event & | evt, |
evdb::View3D * | view | ||
) |
Definition at line 1964 of file RecoBaseDrawer.cxx.
References color(), fAllSpacePointDrawer, evd::RawDrawingOptions::fDrawRawDataOrCalibWires, evd::RecoDrawingOptions::fDrawSpacePoints, evd::RecoDrawingOptions::fSpacePointLabels, and GetSpacePoints().
Referenced by evd::Display3DPad::Draw().
|
private |
Definition at line 2088 of file RecoBaseDrawer.cxx.
void evd::RecoBaseDrawer::SpacePointOrtho | ( | const art::Event & | evt, |
evd::OrthoProj_t | proj, | ||
double | msize, | ||
evdb::View2D * | view | ||
) |
Definition at line 3087 of file RecoBaseDrawer.cxx.
References color(), DrawSpacePointOrtho(), evd::RawDrawingOptions::fDrawRawDataOrCalibWires, evd::RecoDrawingOptions::fDrawSpacePoints, evd::RecoDrawingOptions::fSpacePointLabels, and GetSpacePoints().
Referenced by evd::Ortho3DPad::Draw().
void evd::RecoBaseDrawer::Vertex2D | ( | const art::Event & | evt, |
detinfo::DetectorPropertiesData const & | detProp, | ||
evdb::View2D * | view, | ||
unsigned int | plane | ||
) |
Definition at line 1743 of file RecoBaseDrawer.cxx.
References evdb::View2D::AddMarker(), evdb::View2D::AddText(), color(), detinfo::DetectorPropertiesData::ConvertXToTicks(), evd::RawDrawingOptions::fCryostat, evd::RawDrawingOptions::fDrawRawDataOrCalibWires, evd::RecoDrawingOptions::fDrawVertices, evd::RawDrawingOptions::fTPC, evd::RecoDrawingOptions::fVertexLabels, geo::TPCGeo::GetCenter(), GetVertices(), geo::TPCGeo::HalfWidth(), evd::kColor, evd::kNCOLS, geo::TPCGeo::Length(), art::PtrVector< T >::size(), util::to_string(), geo::GeometryCore::TPC(), and geo::GeometryCore::WireCoordinate().
Referenced by evd::TWireProjPad::Draw().
void evd::RecoBaseDrawer::Vertex3D | ( | const art::Event & | evt, |
evdb::View3D * | view | ||
) |
Definition at line 2829 of file RecoBaseDrawer.cxx.
References evdb::View3D::AddPolyMarker3D(), DrawShower3D(), DrawTrack3D(), evd::RawDrawingOptions::fDrawRawDataOrCalibWires, evd::RecoDrawingOptions::fDrawVertices, evd::RecoDrawingOptions::fVertexLabels, GetVertices(), evd::kColor, evd::kNCOLS, and art::PtrVector< T >::size().
Referenced by evd::Display3DPad::Draw().
void evd::RecoBaseDrawer::VertexOrtho | ( | const art::PtrVector< recob::Vertex > & | vertex, |
evd::OrthoProj_t | proj, | ||
evdb::View2D * | view, | ||
int | marker | ||
) |
Definition at line 3035 of file RecoBaseDrawer.cxx.
References evdb::View2D::AddMarker(), color(), evd::kColor, evd::kNCOLS, evd::kXY, evd::kXZ, evd::kYZ, and art::PtrVector< T >::size().
Referenced by evd::Ortho3DPad::Draw(), and VertexOrtho().
void evd::RecoBaseDrawer::VertexOrtho | ( | const art::Event & | evt, |
evd::OrthoProj_t | proj, | ||
evdb::View2D * | view | ||
) |
Definition at line 3061 of file RecoBaseDrawer.cxx.
References evd::RawDrawingOptions::fDrawRawDataOrCalibWires, evd::RecoDrawingOptions::fDrawVertices, evd::RecoDrawingOptions::fVertexLabels, GetVertices(), and VertexOrtho().
void evd::RecoBaseDrawer::Wire2D | ( | const art::Event & | evt, |
evdb::View2D * | view, | ||
unsigned int | plane | ||
) |
Definition at line 121 of file RecoBaseDrawer.cxx.
References evdb::View2D::AddBox(), evdb::View2D::AddLine(), evd::ColorDrawingOptions::CalQ(), geo::GeometryCore::ChannelToWire(), evd::RawDrawingOptions::fAxisOrientation, evd::RawDrawingOptions::fCryostat, evd::RawDrawingOptions::fDrawRawDataOrCalibWires, evd::RawDrawingOptions::fMinSignal, evd::RawDrawingOptions::fScaleDigitsByCharge, evd::RawDrawingOptions::fSeeBadChannels, evd::RawDrawingOptions::fTicks, evd::RawDrawingOptions::fTicksPerPoint, fTimeMax, fTimeMin, evd::RawDrawingOptions::fTPC, evd::RecoDrawingOptions::fWireLabels, fWireMax, fWireMin, evdb::ColorScale::GetColor(), GetWires(), geo::GeometryCore::Nwires(), geo::GeometryCore::PlaneWireToChannel(), geo::GeometryCore::SignalType(), and art::PtrVector< T >::size().
Referenced by evd::TWireProjPad::Draw().
|
private |
Definition at line 331 of file RecoBaseDrawer.h.
Referenced by RecoBaseDrawer(), and SpacePoint3D().
|
private |
Sum of Charge Converted using Birks' formula.
Definition at line 340 of file RecoBaseDrawer.h.
Referenced by GetChargeSum(), Hit2D(), and RecoBaseDrawer().
|
private |
Sum of Raw Charge.
Definition at line 339 of file RecoBaseDrawer.h.
Referenced by GetChargeSum(), Hit2D(), and RecoBaseDrawer().
|
private |
Definition at line 332 of file RecoBaseDrawer.h.
Referenced by DrawPFParticle3D(), DrawShower3D(), DrawTrack3D(), RecoBaseDrawer(), and Slice3D().
|
private |
highest time in interesting region for each plane
Definition at line 337 of file RecoBaseDrawer.h.
Referenced by GetRegionOfInterest(), RecoBaseDrawer(), and Wire2D().
|
private |
lowest time in interesting region for each plane
Definition at line 336 of file RecoBaseDrawer.h.
Referenced by GetRegionOfInterest(), RecoBaseDrawer(), and Wire2D().
|
private |
highest wire in interesting region for each plane
Definition at line 335 of file RecoBaseDrawer.h.
Referenced by GetRegionOfInterest(), RecoBaseDrawer(), and Wire2D().
|
private |
lowest wire in interesting region for each plane
Definition at line 334 of file RecoBaseDrawer.h.
Referenced by GetRegionOfInterest(), RecoBaseDrawer(), and Wire2D().