#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.
HitSelector::HitSelector | ( | ) |
Definition at line 34 of file HitSelector.cxx.
void 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 187 of file HitSelector.cxx.
void HitSelector::ClearHitList | ( | unsigned int | plane | ) |
Definition at line 278 of file HitSelector.cxx.
std::vector< art::Ptr< recob::Hit > > 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 255 of file HitSelector.cxx.
std::vector< const recob::Hit * > HitSelector::GetSelectedHits | ( | unsigned int | plane | ) |
Definition at line 262 of file HitSelector.cxx.
void 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 88 of file HitSelector.cxx.
double 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 50 of file HitSelector.cxx.
std::vector< recob::Seed > & HitSelector::SeedVector | ( | ) |
Definition at line 286 of file HitSelector.cxx.
|
private |
Definition at line 55 of file HitSelector.h.
|
private |
Definition at line 52 of file HitSelector.h.
|
private |
Definition at line 54 of file HitSelector.h.