LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
#include "HitSelector.h"
Public Member Functions | |
HitSelector () | |
void | SaveHits (const art::Event &evt, unsigned int plane, double x, double y, double x1, double y1, double distance, bool good_plane=true) |
double | SaveSeedLines (const art::Event &evt, std::vector< util::PxLine > seedline, double distance) |
void | ChangeHit (const art::Event &evt, unsigned int plane, double x, double y) |
std::vector< const recob::Hit * > | GetSelectedHits (unsigned int plane) |
std::vector< art::Ptr< recob::Hit > > | GetSelectedHitPtrs (unsigned int plane) |
void | ClearHitList (unsigned int plane) |
std::vector< recob::Seed > & | SeedVector () |
Private Attributes | |
std::vector< recob::Seed > | fSeedVector |
std::vector< std::vector< double > > | starthitout |
std::vector< std::vector< double > > | endhitout |
Definition at line 25 of file HitSelector.h.
evd::HitSelector::HitSelector | ( | ) |
Definition at line 33 of file HitSelector.cxx.
References endhitout, and starthitout.
void evd::HitSelector::ChangeHit | ( | const art::Event & | evt, |
unsigned int | plane, | ||
double | xin, | ||
double | yin | ||
) |
Save HitList to infoTransfer service
evt | : Event handle to get data objects from |
view | : Pointer to view to draw on |
plane | : plane number of view |
Definition at line 184 of file HitSelector.cxx.
References art::EventID::event(), evd::RecoDrawingOptions::fHitLabels, util::PxHitConverter::GeneratePxHit(), art::ProductRetriever::getByLabel(), evd::InfoTransfer::GetSelectedHitList(), art::Event::id(), geo::PlaneID::Plane, evd::InfoTransfer::SetEvtNumber(), evd::InfoTransfer::SetHitList(), evd::InfoTransfer::SetTestFlag(), recob::Hit::WireID(), x, and y.
Referenced by evd::TWireProjPad::SelectOneHit().
void evd::HitSelector::ClearHitList | ( | unsigned int | plane | ) |
Definition at line 272 of file HitSelector.cxx.
References evd::InfoTransfer::ClearSelectedHitList().
Referenced by evd::TWireProjPad::ClearHitList().
std::vector< art::Ptr< recob::Hit > > evd::HitSelector::GetSelectedHitPtrs | ( | unsigned int | plane | ) |
Save HitList to infoTransfer service
evt | : Event handle to get data objects from |
view | : Pointer to view to draw on |
plane | : plane number of view |
Definition at line 251 of file HitSelector.cxx.
References evd::InfoTransfer::GetSelectedHitList().
std::vector< const recob::Hit * > evd::HitSelector::GetSelectedHits | ( | unsigned int | plane | ) |
Definition at line 257 of file HitSelector.cxx.
References evd::InfoTransfer::GetSelectedHitList().
void evd::HitSelector::SaveHits | ( | const art::Event & | evt, |
unsigned int | plane, | ||
double | xin, | ||
double | yin, | ||
double | x1in, | ||
double | y1in, | ||
double | distance, | ||
bool | good_plane = true |
||
) |
Save HitList to infoTransfer service
evt | : Event handle to get data objects from |
view | : Pointer to view to draw on |
plane | : plane number of view |
Definition at line 85 of file HitSelector.cxx.
References endhitout, art::EventID::event(), evd::RecoDrawingOptions::fHitLabels, util::PxHitConverter::GeneratePxHit(), art::ProductRetriever::getByLabel(), art::Event::id(), recob::Hit::PeakTime(), util::PxPoint::plane, geo::PlaneID::Plane, evd::InfoTransfer::SetEndHitCoords(), evd::InfoTransfer::SetEvtNumber(), evd::InfoTransfer::SetHitList(), evd::InfoTransfer::SetStartHitCoords(), evd::InfoTransfer::SetTestFlag(), starthitout, util::PxPoint::t, util::PxPoint::w, geo::WireID::Wire, recob::Hit::WireID(), x, x1, y, and y1.
Referenced by evd::TWireProjPad::SaveHitList().
double evd::HitSelector::SaveSeedLines | ( | const art::Event & | evt, |
std::vector< util::PxLine > | seedlines, | ||
double | distance | ||
) |
Save SeedLineList to infoTransfer service
evt | : Event handle to get data objects from |
view | : Pointer to view to draw on |
Return value is the kinetic enegry of the track
Definition at line 48 of file HitSelector.cxx.
References art::EventID::event(), evd::RecoDrawingOptions::fHitLabels, art::ProductRetriever::getByLabel(), art::Event::id(), evd::InfoTransfer::SetEvtNumber(), evd::InfoTransfer::SetHitList(), evd::InfoTransfer::SetSeedList(), evd::InfoTransfer::SetTestFlag(), and lar::dump::vector().
Referenced by evd::TWireProjPad::SaveSeedList().
std::vector< recob::Seed > & evd::HitSelector::SeedVector | ( | ) |
|
private |
Definition at line 55 of file HitSelector.h.
Referenced by HitSelector(), and SaveHits().
|
private |
Definition at line 52 of file HitSelector.h.
Referenced by SeedVector().
|
private |
Definition at line 54 of file HitSelector.h.
Referenced by HitSelector(), and SaveHits().