LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
#include "InfoTransfer.h"
Public Member Functions | |
InfoTransfer (fhicl::ParameterSet const &pset, art::ActivityRegistry ®) | |
~InfoTransfer () | |
void | Rebuild (const art::Event &evt, art::ScheduleContext) |
void | reconfigure (fhicl::ParameterSet const &pset) |
void | SetTestFlag (int value) |
int | GetTestFlag () const |
void | SetRunNumber (int value) |
int | GetRunNumber () const |
void | SetSubRunNumber (int value) |
int | GetSubRunNumber () const |
void | SetEvtNumber (int value) |
int | GetEvtNumber () const |
void | SetHitList (unsigned int p, std::vector< art::Ptr< recob::Hit >> hits_to_save) |
std::vector< art::Ptr< recob::Hit > > const & | GetHitList (unsigned int plane) const |
std::vector< art::Ptr< recob::Hit > > const & | GetSelectedHitList (unsigned int plane) const |
void | ClearSelectedHitList (int plane) |
void | SetStartHit (unsigned int p, recob::Hit *starthit) |
recob::Hit * | GetStartHit (unsigned int plane) const |
void | SetEndHit (unsigned int p, recob::Hit *endhit) |
recob::Hit * | GetEndHit (unsigned int plane) const |
std::vector< double > const & | GetStartHitCoords (unsigned int plane) const |
std::vector< double > const & | GetEndHitCoords (unsigned int plane) const |
void | SetStartHitCoords (unsigned int plane, std::vector< double > starthitin) |
void | SetEndHitCoords (unsigned int plane, std::vector< double > endhitin) |
void | SetSeedList (std::vector< util::PxLine > seedlines) |
std::vector< util::PxLine > const & | GetSeedList () const |
void | do_reconfigure (fhicl::ParameterSet const &pset) |
Private Member Functions | |
void | FillStartEndHitCoords (unsigned int plane) |
Private Attributes | |
int | testflag |
int | fEvt |
int | fRun |
int | fSubRun |
std::vector< std::vector< art::Ptr< recob::Hit > > > | fSelectedHitlist |
the list selected by the GUI (one for each plane) More... | |
std::vector< std::vector< art::Ptr< recob::Hit > > > | fRefinedHitlist |
the refined hitlist after rebuild (one for each plane) More... | |
std::vector< art::Ptr< recob::Hit > > | fFullHitlist |
the full Hit list from the Hitfinder. More... | |
std::string | fHitModuleLabel |
label for geant4 module More... | |
std::vector< recob::Hit * > | fStartHit |
The Starthit. More... | |
std::vector< recob::Hit * > | fRefStartHit |
The Refined Starthit. More... | |
std::vector< recob::Hit * > | fEndHit |
The Starthit. More... | |
std::vector< recob::Hit * > | fRefEndHit |
The Refined Starthit. More... | |
std::vector< util::PxLine > | fSeedList |
std::vector< std::vector< double > > | starthitout |
std::vector< std::vector< double > > | endhitout |
std::vector< std::vector< double > > | refstarthitout |
std::vector< std::vector< double > > | refendhitout |
Definition at line 41 of file InfoTransfer.h.
|
explicit |
Definition at line 37 of file InfoTransfer.cc.
References endhitout, fEndHit, fEvt, fRefEndHit, fRefStartHit, fRun, fSelectedHitlist, fStartHit, fSubRun, geo::GeometryCore::Nplanes(), Rebuild(), reconfigure(), refendhitout, refstarthitout, starthitout, and testflag.
evd::InfoTransfer::~InfoTransfer | ( | ) |
Definition at line 68 of file InfoTransfer.cc.
|
inline |
Definition at line 80 of file InfoTransfer.h.
Referenced by evd::HitSelector::ClearHitList().
|
inlineinherited |
Definition at line 16 of file Reconfigurable.h.
References evdb::Reconfigurable::reconfigure(), and evdb::Reconfigurable::~Reconfigurable().
|
private |
Definition at line 209 of file InfoTransfer.cc.
References e, endhitout, fRefEndHit, fRefStartHit, and starthitout.
|
inline |
Definition at line 100 of file InfoTransfer.h.
|
inline |
Definition at line 107 of file InfoTransfer.h.
Referenced by evd::GraphClusterAlg::GetStartEndHits().
|
inline |
|
inline |
Definition at line 70 of file InfoTransfer.h.
Referenced by evd::GraphClusterAlg::GetHitList().
|
inline |
std::vector< util::PxLine > const & evd::InfoTransfer::GetSeedList | ( | ) | const |
Definition at line 203 of file InfoTransfer.cc.
References fSeedList.
Referenced by evd::GraphClusterAlg::GetSeedLines().
|
inline |
Definition at line 75 of file InfoTransfer.h.
Referenced by evd::HitSelector::ChangeHit(), evd::HitSelector::GetSelectedHitPtrs(), and evd::HitSelector::GetSelectedHits().
|
inline |
Definition at line 96 of file InfoTransfer.h.
|
inline |
Definition at line 102 of file InfoTransfer.h.
Referenced by evd::GraphClusterAlg::GetStartEndHits().
|
inline |
|
inline |
void evd::InfoTransfer::Rebuild | ( | const art::Event & | evt, |
art::ScheduleContext | |||
) |
< the refined hitlist after rebuild
Definition at line 86 of file InfoTransfer.cc.
References endhitout, art::EventID::event(), art::Handle< T >::failedToGet(), fEndHit, fEvt, fFullHitlist, fHitModuleLabel, fRefEndHit, fRefinedHitlist, fRefStartHit, fRun, fSelectedHitlist, fStartHit, fSubRun, art::ProductRetriever::getByLabel(), art::Event::id(), geo::GeometryCore::Nplanes(), refendhitout, refstarthitout, art::EventID::run(), util::size(), starthitout, art::EventID::subRun(), evdb::NavState::Which(), and xx.
Referenced by InfoTransfer().
|
virtual |
Implements evdb::Reconfigurable.
Definition at line 71 of file InfoTransfer.cc.
References fHitModuleLabel, fRefinedHitlist, fSelectedHitlist, fhicl::ParameterSet::get(), and geo::GeometryCore::Nplanes().
Referenced by InfoTransfer().
|
inline |
Definition at line 98 of file InfoTransfer.h.
|
inline |
Definition at line 119 of file InfoTransfer.h.
Referenced by evd::HitSelector::SaveHits().
|
inline |
Definition at line 61 of file InfoTransfer.h.
References value.
Referenced by evd::HitSelector::ChangeHit(), evd::HitSelector::SaveHits(), and evd::HitSelector::SaveSeedLines().
|
inline |
Definition at line 64 of file InfoTransfer.h.
Referenced by evd::HitSelector::ChangeHit(), evd::HitSelector::SaveHits(), and evd::HitSelector::SaveSeedLines().
|
inline |
void evd::InfoTransfer::SetSeedList | ( | std::vector< util::PxLine > | seedlines | ) |
Definition at line 197 of file InfoTransfer.cc.
References fSeedList.
Referenced by evd::HitSelector::SaveSeedLines().
|
inline |
Definition at line 94 of file InfoTransfer.h.
|
inline |
Definition at line 112 of file InfoTransfer.h.
Referenced by evd::HitSelector::SaveHits().
|
inline |
|
inline |
Definition at line 55 of file InfoTransfer.h.
References value.
Referenced by evd::HitSelector::ChangeHit(), evd::HitSelector::SaveHits(), evd::HitSelector::SaveSeedLines(), and evd::TWQProjectionView::SetTestFlag().
|
private |
Definition at line 153 of file InfoTransfer.h.
Referenced by FillStartEndHitCoords(), InfoTransfer(), and Rebuild().
|
private |
The Starthit.
Definition at line 147 of file InfoTransfer.h.
Referenced by InfoTransfer(), and Rebuild().
|
private |
Definition at line 134 of file InfoTransfer.h.
Referenced by InfoTransfer(), and Rebuild().
|
private |
the full Hit list from the Hitfinder.
Definition at line 141 of file InfoTransfer.h.
Referenced by Rebuild().
|
private |
label for geant4 module
Definition at line 142 of file InfoTransfer.h.
Referenced by Rebuild(), and reconfigure().
|
private |
The Refined Starthit.
Definition at line 148 of file InfoTransfer.h.
Referenced by FillStartEndHitCoords(), InfoTransfer(), and Rebuild().
|
private |
the refined hitlist after rebuild (one for each plane)
Definition at line 140 of file InfoTransfer.h.
Referenced by Rebuild(), and reconfigure().
|
private |
The Refined Starthit.
Definition at line 145 of file InfoTransfer.h.
Referenced by FillStartEndHitCoords(), InfoTransfer(), and Rebuild().
|
private |
Definition at line 135 of file InfoTransfer.h.
Referenced by InfoTransfer(), and Rebuild().
|
private |
Definition at line 150 of file InfoTransfer.h.
Referenced by GetSeedList(), and SetSeedList().
|
private |
the list selected by the GUI (one for each plane)
Definition at line 138 of file InfoTransfer.h.
Referenced by InfoTransfer(), Rebuild(), and reconfigure().
|
private |
The Starthit.
Definition at line 144 of file InfoTransfer.h.
Referenced by InfoTransfer(), and Rebuild().
|
private |
Definition at line 136 of file InfoTransfer.h.
Referenced by InfoTransfer(), and Rebuild().
|
private |
Definition at line 156 of file InfoTransfer.h.
Referenced by InfoTransfer(), and Rebuild().
|
private |
Definition at line 155 of file InfoTransfer.h.
Referenced by InfoTransfer(), and Rebuild().
|
private |
Definition at line 152 of file InfoTransfer.h.
Referenced by FillStartEndHitCoords(), InfoTransfer(), and Rebuild().
|
private |
Definition at line 133 of file InfoTransfer.h.
Referenced by InfoTransfer().