4 #ifndef EVD_RECOBASEDRAWER_H 5 #define EVD_RECOBASEDRAWER_H 12 #include "canvas/Persistency/Common/FindMany.h" 13 #include "canvas/Persistency/Common/FindManyP.h" 20 class DetectorClocksData;
21 class DetectorPropertiesData;
65 void Wire2D(
const art::Event&
evt, evdb::View2D* view,
unsigned int plane);
70 int Hit2D(std::vector<const recob::Hit*> hits,
74 bool drawConnectingLines =
false,
76 int Hit2D(std::vector<const recob::Hit*> hits, evdb::View2D* view,
float cosmicscore);
78 void EndPoint2D(
const art::Event& evt, evdb::View2D* view,
unsigned int plane);
90 void Draw2DSlopeEndPoints(
double xStart,
97 void Draw2DSlopeEndPoints(
double x,
double y,
double slope,
int color, evdb::View2D* view);
98 void Draw2DSlopeEndPoints(
double x,
118 void DrawTrackVertexAssns2D(
const art::Event& evt,
124 std::vector<const recob::Hit*>& hits,
127 TVector3
const& startPos,
128 TVector3
const& startDir,
133 std::vector<const recob::Hit*>& hits,
144 void Event2D(
const art::Event& evt, evdb::View2D* view,
unsigned int plane);
146 void SpacePoint3D(
const art::Event& evt, evdb::View3D* view);
147 void PFParticle3D(
const art::Event& evt, evdb::View3D* view);
151 const art::FindManyP<recob::Edge>& edgeAssnsVec,
152 const art::FindManyP<recob::SpacePoint>& spacePointAssnsVec,
153 const art::FindManyP<recob::SpacePoint>& edgeSPAssnVec,
154 const art::FindManyP<recob::Hit>& spHitAssnVec,
155 const art::FindMany<recob::Track>& trackAssnVec,
156 const art::FindMany<recob::PCAxis>& pcAxisAssnVec,
157 const art::FindMany<anab::CosmicTag>& cosmicTagAssnVec,
160 void Edge3D(
const art::Event& evt, evdb::View3D* view);
161 void Prong3D(
const art::Event& evt, evdb::View3D* view);
168 void Seed3D(
const art::Event& evt, evdb::View3D* view);
169 void Vertex3D(
const art::Event& evt, evdb::View3D* view);
170 void Event3D(
const art::Event& evt, evdb::View3D* view);
171 void Slice3D(
const art::Event& evt, evdb::View3D* view);
192 const art::FindMany<recob::SpacePoint>& spacePointAssnsVec,
193 const art::FindMany<recob::PCAxis>& pcAxisAssnVec,
204 void DrawProngOrtho(
const recob::Prong& prong,
221 void FillTQHisto(
const art::Event& evt,
unsigned int plane,
unsigned int wire, TH1F* histo);
223 void FillQHisto(
const art::Event& evt,
unsigned int plane, TH1F* histo);
229 std::vector<double>& htau1,
230 std::vector<double>& htau2,
231 std::vector<double>& hitamplitudes,
232 std::vector<double>& hpeaktimes,
233 std::vector<int>& hstartT,
234 std::vector<int>& hendT,
235 std::vector<int>& hNMultiHit,
236 std::vector<int>& hLocalHitIndex);
238 int GetRegionOfInterest(
int plane,
int& minw,
int& maxw,
int& mint,
int& maxt);
240 void GetChargeSum(
int plane,
double& charge,
double& convcharge);
257 void GetClusterOutlines(std::vector<const recob::Hit*>& hits,
258 std::vector<double>& tpts,
259 std::vector<double>& wpts,
266 std::vector<const recob::Hit*>& hits,
313 std::vector<std::array<double, 3>> Circle3D(
const TVector3&
pos,
314 const TVector3& axisDir,
315 const double& radius);
319 unsigned int cryostat,
ISpacePointDrawerPtr fSpacePointDrawer
std::vector< double > fRawCharge
Sum of Raw Charge.
Reconstruction base classes.
ISpacePointDrawerPtr fAllSpacePointDrawer
Define OrthoProj_t enum for selecting orthographic view.
Aid in the rendering of RecoBase objects.
boost::graph_traits< ModuleGraph >::edge_descriptor Edge
std::vector< double > fConvertedCharge
Sum of Charge Converted using Birks' formula.
decltype(auto) constexpr size(T &&obj)
ADL-aware version of std::size.
std::unique_ptr< evdb_tool::ISpacePoints3D > ISpacePointDrawerPtr
std::vector< int > fWireMax
highest wire in interesting region for each plane
General LArSoft Utilities.
std::vector< int > fWireMin
lowest wire in interesting region for each plane
std::vector< TCSlice > slices
std::size_t color(std::string const &procname)
Contains all timing reference information for the detector.
boost::graph_traits< ModuleGraph >::vertex_descriptor Vertex
TrackCollectionProxyElement< TrackCollProxy > Track
Proxy to an element of a proxy collection of recob::Track objects.
std::vector< int > fTimeMax
highest time in interesting region for each plane
Track from a non-cascading particle.A recob::Track consists of a recob::TrackTrajectory, plus additional members relevant for a "fitted" track:
Event finding and building.
std::vector< int > fTimeMin
lowest time in interesting region for each plane