LArSoft
v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
|
Aid in the rendering of RecoBase objects. More...
#include "RecoBaseDrawer.h"
Public Types | |
using | HitParams_t = struct HitParams_t{float hitCenter |
using | ROIHitParamsVec = std::vector< HitParams_t > |
using | HitParamsVec = std::vector< ROIHitParamsVec > |
Public Member Functions | |
RecoBaseDrawer () | |
~RecoBaseDrawer () | |
void | Wire2D (const art::Event &evt, evdb::View2D *view, unsigned int plane) |
int | Hit2D (const art::Event &evt, evdb::View2D *view, unsigned int plane) |
int | Hit2D (std::vector< const recob::Hit * > hits, int color, evdb::View2D *view, 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, evdb::View2D *view, unsigned int plane) |
void | Seed2D (const art::Event &evt, evdb::View2D *view, unsigned int plane) |
void | BezierTrack2D (const art::Event &evt, 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 | Cluster2D (const art::Event &evt, evdb::View2D *view, unsigned int plane) |
void | Prong2D (const art::Event &evt, evdb::View2D *view, unsigned int plane) |
void | DrawTrackVertexAssns2D (const art::Event &evt, evdb::View2D *view, unsigned int plane) |
void | DrawProng2D (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 (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, 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::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 | Prong3D (const art::Event &evt, evdb::View3D *view) |
void | DrawSpacePoint3D (std::vector< art::Ptr< recob::SpacePoint >> &spts, evdb::View3D *view, int color, int marker=3, float size=1.) |
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 | BezierTrack3D (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 | OpFlashOrtho (const art::Event &evt, 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, HitParamsVec &hitParamsVec) |
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) |
int | GetRegionOfInterest (int plane, int &minw, int &maxw, int &mint, int &maxt) |
void | GetChargeSum (int plane, double &charge, double &convcharge) |
double | EvalExpoFit (double x, double tau1, double tau2, double amplitude, double peaktime) |
double | EvalMultiExpoFit (double x, int HitNumber, int NHits, std::vector< double > tau1, std::vector< double > tau2, std::vector< double > amplitude, std::vector< double > peaktime) |
Public Attributes | |
float | hitSigma |
float | hitHeight |
float | hitStart |
float | hitEnd |
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 | 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, art::PtrVector< 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 | GetBezierTracks (const art::Event &evt, const art::InputTag &which, art::PtrVector< recob::Track > &btbs) |
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) |
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 | |
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 59 of file RecoBaseDrawer.h.
using evd::RecoBaseDrawer::HitParams_t = struct HitParams_t { float hitCenter |
Definition at line 240 of file RecoBaseDrawer.h.
using evd::RecoBaseDrawer::HitParamsVec = std::vector<ROIHitParamsVec> |
Definition at line 248 of file RecoBaseDrawer.h.
using evd::RecoBaseDrawer::ROIHitParamsVec = std::vector<HitParams_t> |
Definition at line 247 of file RecoBaseDrawer.h.
evd::RecoBaseDrawer::RecoBaseDrawer | ( | ) |
Definition at line 83 of file RecoBaseDrawer.cxx.
References fConvertedCharge, fRawCharge, evd::RawDrawingOptions::fTicks, fTimeMax, fTimeMin, fWireMax, fWireMin, geo::GeometryCore::Nplanes(), geo::GeometryCore::NTPC(), geo::PlaneGeo::Nwires(), geo::TPCGeo::Plane(), and geo::GeometryCore::TPC().
evd::RecoBaseDrawer::~RecoBaseDrawer | ( | ) |
Definition at line 115 of file RecoBaseDrawer.cxx.
void evd::RecoBaseDrawer::BezierTrack2D | ( | const art::Event & | evt, |
evdb::View2D * | view, | ||
unsigned int | plane | ||
) |
Definition at line 717 of file RecoBaseDrawer.cxx.
References evdb::View2D::AddPolyLine(), art::PtrVector< T >::at(), evd::RawDrawingOptions::fAxisOrientation, evd::RecoDrawingOptions::fBezierTrackLabels, evd::RecoDrawingOptions::fDrawBezierTracks, evd::RawDrawingOptions::fDrawRawDataOrCalibWires, GetBezierTracks(), evd::kColor, evd::kNCOLS, n, art::PtrVector< T >::size(), x, and y.
void evd::RecoBaseDrawer::BezierTrack3D | ( | const art::Event & | evt, |
evdb::View3D * | view | ||
) |
Definition at line 776 of file RecoBaseDrawer.cxx.
References evdb::View3D::AddPolyLine3D(), evdb::View3D::AddPolyMarker3D(), art::PtrVector< T >::at(), evd::RecoDrawingOptions::fBezierTrackLabels, evd::RecoDrawingOptions::fDrawBezierTracks, evd::RawDrawingOptions::fDrawRawDataOrCalibWires, GetBezierTracks(), GetVertices(), evd::kColor, evd::kNCOLS, art::PtrVector< T >::size(), x, y, and z.
|
private |
void evd::RecoBaseDrawer::Cluster2D | ( | const art::Event & | evt, |
evdb::View2D * | view, | ||
unsigned int | plane | ||
) |
Definition at line 823 of file RecoBaseDrawer.cxx.
References evdb::View2D::AddPolyLine(), evdb::View2D::AddText(), color(), Draw2DSlopeEndPoints(), detinfo::DetectorProperties::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::TPCGeo::Plane(), s, detinfo::DetectorProperties::SamplingRate(), art::PtrVector< T >::size(), util::flags::to_string(), geo::GeometryCore::TPC(), geo::PlaneGeo::View(), and geo::GeometryCore::WirePitch().
|
private |
Definition at line 3888 of file RecoBaseDrawer.cxx.
References art::DataViewImpl::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 1039 of file RecoBaseDrawer.cxx.
References 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 1083 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::Draw2DSlopeEndPoints | ( | double | x, |
double | y, | ||
double | cosx, | ||
double | cosy, | ||
int | color, | ||
evdb::View2D * | view | ||
) |
Definition at line 1120 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::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 2046 of file RecoBaseDrawer.cxx.
References evdb::View3D::AddPolyLine3D(), evdb::View3D::AddPolyMarker3D(), art::PtrVector< T >::at(), evd::ColorDrawingOptions::CalQ(), anab::CosmicTag::CosmicScore(), recob::PFParticle::Daughters(), DrawTrack3D(), evd::RecoDrawingOptions::fBestPCAAxisOnly, evd::RecoDrawingOptions::fDraw3DSpacePointHeatMap, evd::RecoDrawingOptions::fDrawPFParticles, evd::RecoDrawingOptions::fSkeletonOnly, evdb::ColorScale::GetColor(), recob::SpacePoint::ID(), geo::kCollection, evd::kColor, art::Ptr< T >::key(), evd::kNCOLS, max, 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 3027 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 | ( | 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 1228 of file RecoBaseDrawer.cxx.
References color(), detinfo::DetectorProperties::ConvertXToTicks(), Draw2DSlopeEndPoints(), evd::RawDrawingOptions::fCryostat, evd::RecoDrawingOptions::fDrawCosmicTags, evd::RawDrawingOptions::fTPC, Hit2D(), evd::kColor, evd::kColor2, evd::kNCOLS, geo::GeometryCore::WireCoordinate(), X, Y, and Z.
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 2598 of file RecoBaseDrawer.cxx.
References evdb::View3D::AddPolyLine3D(), Circle3D(), color(), recob::Shower::dEdx(), recob::Shower::Direction(), DrawSpacePoint3D(), evdb::EventHolder::GetEvent(), art::DataViewImpl::getManyByType(), 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 3505 of file RecoBaseDrawer.cxx.
References evdb::View2D::AddMarker(), DrawSpacePointOrtho(), evdb::EventHolder::GetEvent(), art::DataViewImpl::getManyByType(), 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::DrawSpacePoint3D | ( | std::vector< art::Ptr< recob::SpacePoint >> & | spts, |
evdb::View3D * | view, | ||
int | color, | ||
int | marker = 3 , |
||
float | size = 1. |
||
) |
Definition at line 2409 of file RecoBaseDrawer.cxx.
References evdb::View3D::AddPolyMarker3D(), color(), evd::RecoDrawingOptions::fColorSpacePointsByChisq, s, and recob::SpacePoint::XYZ().
Referenced by DrawShower3D(), DrawTrack3D(), and SpacePoint3D().
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 3332 of file RecoBaseDrawer.cxx.
References evdb::View2D::AddPolyMarker(), evd::RecoDrawingOptions::fColorSpacePointsByChisq, evd::kColor, evd::kColor2, evd::kNCOLS, evd::kXY, evd::kXZ, evd::kYZ, s, and recob::SpacePoint::XYZ().
Referenced by DrawShowerOrtho(), DrawTrackOrtho(), and SpacePointOrtho().
void evd::RecoBaseDrawer::DrawTrack2D | ( | std::vector< const recob::Hit * > & | hits, |
evdb::View2D * | view, | ||
unsigned int | plane, | ||
const recob::Track * | track, | ||
int | color, | ||
int | lineWidth | ||
) |
Definition at line 1285 of file RecoBaseDrawer.cxx.
References evdb::View2D::AddPolyLine(), detinfo::DetectorProperties::ConvertXToTicks(), recob::Track::CountValidPoints(), geo::GeometryCore::Cryostat(), Draw2DSlopeEndPoints(), detinfo::DetectorProperties::DriftVelocity(), e, evd::RawDrawingOptions::fCryostat, evd::RawDrawingOptions::fTPC, recob::Track::HasValidPoint(), Hit2D(), geo::PlaneGeo::LocalToWorld(), recob::Track::LocationAtPoint(), geo::GeometryCore::NearestWire(), recob::Track::NumberTrajectoryPoints(), geo::TPCGeo::Plane(), detinfo::DetectorProperties::SamplingRate(), geo::WireGeo::ThetaZ(), geo::CryostatGeo::TPC(), geo::GeometryCore::TPC(), recob::Track::Vertex(), recob::Track::VertexDirection(), geo::PlaneGeo::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 2479 of file RecoBaseDrawer.cxx.
References evdb::View3D::AddPolyLine3D(), evdb::View3D::AddPolyMarker3D(), color(), recob::Track::CountValidPoints(), recob::Track::DirectionAtPoint(), DrawSpacePoint3D(), evd::RecoDrawingOptions::fDrawTrackSpacePoints, evd::RecoDrawingOptions::fDrawTrackTrajectoryPoints, evdb::EventHolder::GetEvent(), art::DataViewImpl::getManyByType(), recob::Track::HasValidPoint(), evdb::EventHolder::Instance(), art::Handle< T >::isValid(), evd::kNCOLS, recob::Track::LocationAtPoint(), n, recob::Track::NumberTrajectoryPoints(), and art::Handle< T >::provenance().
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 3408 of file RecoBaseDrawer.cxx.
References evdb::View2D::AddPolyLine(), evdb::View2D::AddPolyMarker(), evdb::View2D::AddText(), recob::Track::CountValidPoints(), DrawSpacePointOrtho(), recob::Track::End(), evd::RecoDrawingOptions::fDrawTracks, evd::RecoDrawingOptions::fDrawTrackSpacePoints, evd::RecoDrawingOptions::fDrawTrackTrajectoryPoints, evdb::EventHolder::GetEvent(), art::DataViewImpl::getManyByType(), 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(), s, util::flags::to_string(), x, y, and z.
Referenced by ProngOrtho().
void evd::RecoBaseDrawer::DrawTrackVertexAssns2D | ( | const art::Event & | evt, |
evdb::View2D * | view, | ||
unsigned int | plane | ||
) |
Definition at line 1581 of file RecoBaseDrawer.cxx.
References evdb::View2D::AddMarker(), evdb::View2D::AddText(), color(), detinfo::DetectorProperties::ConvertXToTicks(), anab::CosmicTag::CosmicScore(), DrawTrack2D(), recob::Track::End(), evd::RawDrawingOptions::fCryostat, evd::RecoDrawingOptions::fDrawTrackVertexAssns, evd::RawDrawingOptions::fTPC, evd::RecoDrawingOptions::fTrkVtxCosmicLabels, evd::RecoDrawingOptions::fTrkVtxFilterLabels, evd::RecoDrawingOptions::fTrkVtxTrackLabels, art::Ptr< T >::get(), art::DataViewImpl::getByLabel(), GetTracks(), hits(), recob::Vertex::ID(), recob::Track::ID(), art::Ptr< T >::key(), recob::Track::NumberTrajectoryPoints(), geo::TPCGeo::Plane(), s, util::flags::to_string(), geo::GeometryCore::TPC(), track, art::View< T >::vals(), geo::PlaneGeo::View(), geo::GeometryCore::WireCoordinate(), x, recob::Vertex::XYZ(), y, and z.
void evd::RecoBaseDrawer::EndPoint2D | ( | const art::Event & | evt, |
evdb::View2D * | view, | ||
unsigned int | plane | ||
) |
Definition at line 491 of file RecoBaseDrawer.cxx.
References evdb::View2D::AddMarker(), color(), evd::RawDrawingOptions::fAxisOrientation, evd::RecoDrawingOptions::fDraw2DEndPoints, evd::RawDrawingOptions::fDrawRawDataOrCalibWires, evd::RecoDrawingOptions::fEndPoint2DLabels, evd::RawDrawingOptions::fTPC, GetEndPoint2D(), evd::kColor, evd::kNCOLS, geo::TPCGeo::Plane(), art::PtrVector< T >::size(), geo::GeometryCore::TPC(), geo::PlaneGeo::View(), x, and y.
double evd::RecoBaseDrawer::EvalExpoFit | ( | double | x, |
double | tau1, | ||
double | tau2, | ||
double | amplitude, | ||
double | peaktime | ||
) |
double evd::RecoBaseDrawer::EvalMultiExpoFit | ( | double | x, |
int | HitNumber, | ||
int | NHits, | ||
std::vector< double > | tau1, | ||
std::vector< double > | tau2, | ||
std::vector< double > | amplitude, | ||
std::vector< double > | peaktime | ||
) |
Definition at line 4122 of file RecoBaseDrawer.cxx.
Referenced by evd::TQPad::Draw().
void evd::RecoBaseDrawer::Event2D | ( | const art::Event & | evt, |
evdb::View2D * | view, | ||
unsigned int | plane | ||
) |
Definition at line 1781 of file RecoBaseDrawer.cxx.
References e, evd::RecoDrawingOptions::fDrawEvents, evd::RawDrawingOptions::fDrawRawDataOrCalibWires, evd::RecoDrawingOptions::fEventLabels, evd::RawDrawingOptions::fTPC, GetEvents(), Hit2D(), hits(), evd::kColor, evd::kNCOLS, geo::TPCGeo::Plane(), art::PtrVector< T >::size(), geo::GeometryCore::TPC(), and geo::PlaneGeo::View().
void evd::RecoBaseDrawer::Event3D | ( | const art::Event & | evt, |
evdb::View3D * | view | ||
) |
Definition at line 2754 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, s, and art::PtrVector< T >::size().
void evd::RecoBaseDrawer::FillQHisto | ( | const art::Event & | evt, |
unsigned int | plane, | ||
TH1F * | histo | ||
) |
Definition at line 3992 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, | ||
HitParamsVec & | hitParamsVec | ||
) |
Definition at line 3905 of file RecoBaseDrawer.cxx.
References geo::GeometryCore::ChannelToWire(), evd::RawDrawingOptions::fCryostat, evd::RawDrawingOptions::fDrawRawDataOrCalibWires, evd::RecoDrawingOptions::fHitLabels, evd::RawDrawingOptions::fTPC, evd::RecoDrawingOptions::fWireLabels, GetHits(), GetWires(), hits(), and art::PtrVector< T >::size().
Referenced by evd::TQPad::Draw().
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 | ||
) |
Definition at line 4036 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().
Referenced by evd::TQPad::Draw().
|
private |
Definition at line 3741 of file RecoBaseDrawer.cxx.
References art::PtrVector< T >::clear(), e, art::InputTag::encode(), art::DataViewImpl::getByLabel(), art::PtrVector< T >::push_back(), art::PtrVector< T >::size(), and art::PtrVector< T >::swap().
Referenced by BezierTrack2D(), and BezierTrack3D().
void evd::RecoBaseDrawer::GetChargeSum | ( | int | plane, |
double & | charge, | ||
double & | convcharge | ||
) |
Definition at line 480 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 1167 of file RecoBaseDrawer.cxx.
References evd::RawDrawingOptions::fCryostat, evd::RawDrawingOptions::fTPC, and w.
Referenced by Cluster2D().
|
private |
Definition at line 3610 of file RecoBaseDrawer.cxx.
References art::PtrVector< T >::clear(), e, art::DataViewImpl::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 3779 of file RecoBaseDrawer.cxx.
References art::PtrVector< T >::clear(), e, art::DataViewImpl::getByLabel(), art::PtrVector< T >::push_back(), art::PtrVector< T >::reserve(), art::PtrVector< T >::size(), and art::PtrVector< T >::swap().
|
private |
Definition at line 3663 of file RecoBaseDrawer.cxx.
References art::PtrVector< T >::clear(), e, art::DataViewImpl::getByLabel(), art::PtrVector< T >::push_back(), art::PtrVector< T >::size(), and art::PtrVector< T >::swap().
Referenced by EndPoint2D().
|
private |
Definition at line 3863 of file RecoBaseDrawer.cxx.
References e, art::DataViewImpl::getByLabel(), art::PtrVector< T >::push_back(), and art::PtrVector< T >::swap().
Referenced by Event2D(), and Event3D().
|
private |
Definition at line 3582 of file RecoBaseDrawer.cxx.
References e, evd::RawDrawingOptions::fCryostat, evd::RawDrawingOptions::fTPC, and art::DataViewImpl::getView().
Referenced by FillTQHisto(), FillTQHistoDP(), and Hit2D().
|
private |
Definition at line 3689 of file RecoBaseDrawer.cxx.
References art::PtrVector< T >::clear(), e, art::DataViewImpl::getByLabel(), art::PtrVector< T >::push_back(), art::PtrVector< T >::size(), and art::PtrVector< T >::swap().
Referenced by OpFlash2D(), and OpFlashOrtho().
|
private |
Definition at line 3636 of file RecoBaseDrawer.cxx.
References art::PtrVector< T >::clear(), e, art::DataViewImpl::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 446 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 3715 of file RecoBaseDrawer.cxx.
References art::PtrVector< T >::clear(), e, art::DataViewImpl::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 3823 of file RecoBaseDrawer.cxx.
References e, art::DataViewImpl::getView(), and art::View< T >::vals().
Referenced by Prong2D(), Prong3D(), and ProngOrtho().
|
private |
Definition at line 3766 of file RecoBaseDrawer.cxx.
References art::fill_ptr_vector(), and art::DataViewImpl::getByLabel().
Referenced by Cluster2D(), PFParticle3D(), SpacePoint3D(), and SpacePointOrtho().
|
private |
Definition at line 3808 of file RecoBaseDrawer.cxx.
References e, art::DataViewImpl::getView(), and art::View< T >::vals().
Referenced by DrawTrackVertexAssns2D(), Prong2D(), Prong3D(), and ProngOrtho().
|
private |
Definition at line 3838 of file RecoBaseDrawer.cxx.
References art::PtrVector< T >::clear(), e, art::DataViewImpl::getByLabel(), art::PtrVector< T >::push_back(), art::PtrVector< T >::size(), and art::PtrVector< T >::swap().
Referenced by BezierTrack3D(), Vertex2D(), Vertex3D(), and VertexOrtho().
|
private |
Definition at line 3556 of file RecoBaseDrawer.cxx.
References art::PtrVector< T >::clear(), e, art::DataViewImpl::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, |
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 263 of file RecoBaseDrawer.cxx.
References detinfo::DetectorProperties::BirksCorrection(), detinfo::DetectorProperties::ElectronsToADC(), fConvertedCharge, evd::RawDrawingOptions::fCryostat, 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(), and Event2D().
int evd::RecoBaseDrawer::Hit2D | ( | std::vector< const recob::Hit * > | hits, |
int | color, | ||
evdb::View2D * | view, | ||
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 315 of file RecoBaseDrawer.cxx.
References evdb::View2D::AddBox(), evdb::View2D::AddLine(), 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 389 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, |
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::DetectorProperties::GetXTicksOffset(), evd::kColor, evd::kNCOLS, LOG_VERBATIM, geo::GeometryCore::NearestWireID(), detinfo::DetectorProperties::SamplingRate(), art::PtrVector< T >::size(), geo::InvalidWireError::suggestedWireID(), and geo::WireID::Wire.
void evd::RecoBaseDrawer::OpFlashOrtho | ( | const art::Event & | evt, |
evd::OrthoProj_t | proj, | ||
evdb::View2D * | view | ||
) |
Definition at line 2814 of file RecoBaseDrawer.cxx.
References evdb::View2D::AddBox(), evdb::View2D::AddLine(), evdb::View2D::AddMarker(), detinfo::DetectorProperties::ConvertTicksToX(), geo::GeometryCore::DetHalfWidth(), 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::DetectorProperties::GetXTicksOffset(), evd::kColor, evd::kNCOLS, evd::kXY, evd::kXZ, evd::kYZ, geo::TPCGeo::LocalToWorld(), geo::GeometryCore::NTPC(), detinfo::DetectorProperties::SamplingRate(), art::PtrVector< T >::size(), and geo::GeometryCore::TPC().
Referenced by evd::Ortho3DPad::Draw().
void evd::RecoBaseDrawer::PFParticle3D | ( | const art::Event & | evt, |
evdb::View3D * | view | ||
) |
Definition at line 1971 of file RecoBaseDrawer.cxx.
References art::PtrVector< T >::at(), DrawPFParticle3D(), evd::RecoDrawingOptions::fCosmicTagLabels, evd::RecoDrawingOptions::fDrawPFParticles, evd::RawDrawingOptions::fDrawRawDataOrCalibWires, evd::RecoDrawingOptions::fPFParticleLabels, evd::RecoDrawingOptions::fTrackLabels, GetPFParticles(), GetSpacePoints(), and art::PtrVector< T >::size().
void evd::RecoBaseDrawer::PFParticleOrtho | ( | const art::Event & | evt, |
evd::OrthoProj_t | proj, | ||
double | msize, | ||
evdb::View2D * | view | ||
) |
Definition at line 2975 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, |
evdb::View2D * | view, | ||
unsigned int | plane | ||
) |
Definition at line 1372 of file RecoBaseDrawer.cxx.
References evdb::View2D::AddLine(), evdb::View2D::AddPolyLine(), evdb::View2D::AddText(), Circle3D(), color(), anab::CosmicTag::CosmicScore(), dir, DrawProng2D(), DrawTrack2D(), 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::TPCGeo::Plane(), radius, s, util::flags::to_string(), geo::GeometryCore::TPC(), track, art::View< T >::vals(), geo::PlaneGeo::View(), geo::GeometryCore::WireCoordinate(), x, y, and z.
void evd::RecoBaseDrawer::Prong3D | ( | const art::Event & | evt, |
evdb::View3D * | view | ||
) |
Definition at line 2328 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, s, track, and art::View< T >::vals().
void evd::RecoBaseDrawer::ProngOrtho | ( | const art::Event & | evt, |
evd::OrthoProj_t | proj, | ||
double | msize, | ||
evdb::View2D * | view | ||
) |
Definition at line 3278 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(), s, track, and art::View< T >::vals().
Referenced by evd::Ortho3DPad::Draw().
void evd::RecoBaseDrawer::Seed2D | ( | const art::Event & | evt, |
evdb::View2D * | view, | ||
unsigned int | plane | ||
) |
Definition at line 623 of file RecoBaseDrawer.cxx.
References evdb::View2D::AddLine(), evdb::View2D::AddMarker(), color(), detinfo::DetectorProperties::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::NearestWire(), art::PtrVector< T >::size(), x, x1, x2, y, y1, and y2.
void evd::RecoBaseDrawer::Seed3D | ( | const art::Event & | evt, |
evdb::View3D * | view | ||
) |
Definition at line 1825 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, and art::PtrVector< T >::size().
void evd::RecoBaseDrawer::SeedOrtho | ( | const art::Event & | evt, |
evd::OrthoProj_t | proj, | ||
evdb::View2D * | view | ||
) |
Definition at line 1871 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, and art::PtrVector< T >::size().
Referenced by evd::Ortho3DPad::Draw().
void evd::RecoBaseDrawer::SpacePoint3D | ( | const art::Event & | evt, |
evdb::View3D * | view | ||
) |
Definition at line 1931 of file RecoBaseDrawer.cxx.
References color(), DrawSpacePoint3D(), evd::RawDrawingOptions::fDrawRawDataOrCalibWires, evd::RecoDrawingOptions::fDrawSpacePoints, evd::RecoDrawingOptions::fSpacePointLabels, and GetSpacePoints().
void evd::RecoBaseDrawer::SpacePointOrtho | ( | const art::Event & | evt, |
evd::OrthoProj_t | proj, | ||
double | msize, | ||
evdb::View2D * | view | ||
) |
Definition at line 2945 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, |
evdb::View2D * | view, | ||
unsigned int | plane | ||
) |
Definition at line 1728 of file RecoBaseDrawer.cxx.
References evdb::View2D::AddMarker(), evdb::View2D::AddText(), color(), detinfo::DetectorProperties::ConvertXToTicks(), evd::RawDrawingOptions::fCryostat, evd::RawDrawingOptions::fDrawRawDataOrCalibWires, evd::RecoDrawingOptions::fDrawVertices, evd::RawDrawingOptions::fTPC, evd::RecoDrawingOptions::fVertexLabels, GetVertices(), evd::kColor, evd::kNCOLS, s, art::PtrVector< T >::size(), util::flags::to_string(), and geo::GeometryCore::WireCoordinate().
void evd::RecoBaseDrawer::Vertex3D | ( | const art::Event & | evt, |
evdb::View3D * | view | ||
) |
Definition at line 2702 of file RecoBaseDrawer.cxx.
References evdb::View3D::AddPolyMarker3D(), DrawShower3D(), DrawTrack3D(), evd::RawDrawingOptions::fDrawRawDataOrCalibWires, evd::RecoDrawingOptions::fDrawVertices, evd::RecoDrawingOptions::fVertexLabels, GetVertices(), evd::kColor, evd::kNCOLS, s, and art::PtrVector< T >::size().
void evd::RecoBaseDrawer::VertexOrtho | ( | const art::PtrVector< recob::Vertex > & | vertex, |
evd::OrthoProj_t | proj, | ||
evdb::View2D * | view, | ||
int | marker | ||
) |
Definition at line 2894 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 2918 of file RecoBaseDrawer.cxx.
References evd::RawDrawingOptions::fDrawRawDataOrCalibWires, evd::RecoDrawingOptions::fDrawVertices, evd::RecoDrawingOptions::fVertexLabels, GetVertices(), art::InputTag::label(), art::InputTag::process(), 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().
|
private |
Sum of Charge Converted using Birks' formula.
Definition at line 370 of file RecoBaseDrawer.h.
Referenced by GetChargeSum(), Hit2D(), and RecoBaseDrawer().
|
private |
Sum of Raw Charge.
Definition at line 369 of file RecoBaseDrawer.h.
Referenced by GetChargeSum(), Hit2D(), and RecoBaseDrawer().
|
private |
highest time in interesting region for each plane
Definition at line 367 of file RecoBaseDrawer.h.
Referenced by GetRegionOfInterest(), RecoBaseDrawer(), and Wire2D().
|
private |
lowest time in interesting region for each plane
Definition at line 366 of file RecoBaseDrawer.h.
Referenced by GetRegionOfInterest(), RecoBaseDrawer(), and Wire2D().
|
private |
highest wire in interesting region for each plane
Definition at line 365 of file RecoBaseDrawer.h.
Referenced by GetRegionOfInterest(), RecoBaseDrawer(), and Wire2D().
|
private |
lowest wire in interesting region for each plane
Definition at line 364 of file RecoBaseDrawer.h.
Referenced by GetRegionOfInterest(), RecoBaseDrawer(), and Wire2D().
float evd::RecoBaseDrawer::hitEnd |
Definition at line 244 of file RecoBaseDrawer.h.
float evd::RecoBaseDrawer::hitHeight |
Definition at line 242 of file RecoBaseDrawer.h.
float evd::RecoBaseDrawer::hitSigma |
Definition at line 241 of file RecoBaseDrawer.h.
float evd::RecoBaseDrawer::hitStart |
Definition at line 243 of file RecoBaseDrawer.h.