LArSoft
v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
|
#include "InfoTransfer.h"
Public Member Functions | |
InfoTransfer (fhicl::ParameterSet const &pset, art::ActivityRegistry ®) | |
~InfoTransfer () | |
void | Rebuild (const art::Event &evt) |
void | reconfigure (fhicl::ParameterSet const &pset) |
void | SetTestFlag (int value) |
int | GetTestFlag () |
void | SetRunNumber (int value) |
int | GetRunNumber () |
void | SetSubRunNumber (int value) |
int | GetSubRunNumber () |
void | SetEvtNumber (int value) |
int | GetEvtNumber () |
void | SetHitList (unsigned int p, std::vector< art::Ptr< recob::Hit > > hits_to_save) |
std::vector< art::Ptr< recob::Hit > > | GetHitList (unsigned int plane) |
std::vector< art::Ptr< recob::Hit > > | GetSelectedHitList (unsigned int plane) |
void | ClearSelectedHitList (int plane) |
void | SetStartHit (unsigned int p, recob::Hit *starthit) |
recob::Hit * | GetStartHit (unsigned int plane) |
void | SetEndHit (unsigned int p, recob::Hit *endhit) |
recob::Hit * | GetEndHit (unsigned int plane) |
std::vector< double > | GetStartHitCoords (unsigned int plane) |
std::vector< double > | GetEndHitCoords (unsigned int plane) |
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 > | GetSeedList () |
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 33 of file InfoTransfer.h.
|
explicit |
Definition at line 29 of file InfoTransfer_service.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 61 of file InfoTransfer_service.cc.
|
inline |
Definition at line 69 of file InfoTransfer.h.
Referenced by evd::HitSelector::ClearHitList().
|
inlineinherited |
Definition at line 17 of file Reconfigurable.h.
|
private |
Definition at line 207 of file InfoTransfer_service.cc.
References DEFINE_ART_SERVICE, e, endhitout, fRefEndHit, fRefStartHit, and starthitout.
|
inline |
Definition at line 89 of file InfoTransfer.h.
|
inline |
Definition at line 94 of file InfoTransfer.h.
Referenced by evd::GraphClusterAlg::GetStartEndHits().
|
inline |
|
inline |
Definition at line 63 of file InfoTransfer.h.
Referenced by evd::GraphClusterAlg::GetHitList().
|
inline |
std::vector< util::PxLine > evd::InfoTransfer::GetSeedList | ( | ) |
Definition at line 200 of file InfoTransfer_service.cc.
References fSeedList.
Referenced by evd::GraphClusterAlg::GetSeedLines().
|
inline |
Definition at line 66 of file InfoTransfer.h.
Referenced by evd::HitSelector::ChangeHit(), evd::HitSelector::GetSelectedHitPtrs(), and evd::HitSelector::GetSelectedHits().
|
inline |
Definition at line 83 of file InfoTransfer.h.
|
inline |
Definition at line 92 of file InfoTransfer.h.
Referenced by evd::GraphClusterAlg::GetStartEndHits().
|
inline |
|
inline |
void evd::InfoTransfer::Rebuild | ( | const art::Event & | evt | ) |
< the refined hitlist after rebuild
Definition at line 83 of file InfoTransfer_service.cc.
References endhitout, art::EventID::event(), art::Handle< T >::failedToGet(), fEndHit, fEvt, fFullHitlist, fHitModuleLabel, fRefEndHit, fRefinedHitlist, fRefStartHit, fRun, fSelectedHitlist, fStartHit, fSubRun, art::DataViewImpl::getByLabel(), art::Event::id(), geo::GeometryCore::Nplanes(), refendhitout, refstarthitout, art::EventID::run(), starthitout, art::EventID::subRun(), evdb::NavState::Which(), and xx.
Referenced by InfoTransfer().
|
virtual |
Implements evdb::Reconfigurable.
Definition at line 66 of file InfoTransfer_service.cc.
References fHitModuleLabel, fRefinedHitlist, fSelectedHitlist, fhicl::ParameterSet::get(), and geo::GeometryCore::Nplanes().
Referenced by InfoTransfer().
|
inline |
Definition at line 86 of file InfoTransfer.h.
|
inline |
Definition at line 101 of file InfoTransfer.h.
Referenced by evd::HitSelector::SaveHits().
|
inline |
Definition at line 56 of file InfoTransfer.h.
References fhicl::detail::atom::value().
Referenced by evd::HitSelector::ChangeHit(), evd::HitSelector::SaveHits(), and evd::HitSelector::SaveSeedLines().
|
inline |
Definition at line 60 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 193 of file InfoTransfer_service.cc.
References fSeedList.
Referenced by evd::HitSelector::SaveSeedLines().
|
inline |
Definition at line 80 of file InfoTransfer.h.
|
inline |
Definition at line 97 of file InfoTransfer.h.
Referenced by evd::HitSelector::SaveHits().
|
inline |
|
inline |
Definition at line 50 of file InfoTransfer.h.
References fhicl::detail::atom::value().
Referenced by evd::HitSelector::ChangeHit(), evd::HitSelector::SaveHits(), evd::HitSelector::SaveSeedLines(), and evd::TWQProjectionView::SetTestFlag().
|
private |
Definition at line 136 of file InfoTransfer.h.
Referenced by FillStartEndHitCoords(), InfoTransfer(), and Rebuild().
|
private |
The Starthit.
Definition at line 130 of file InfoTransfer.h.
Referenced by InfoTransfer(), and Rebuild().
|
private |
Definition at line 119 of file InfoTransfer.h.
Referenced by InfoTransfer(), and Rebuild().
|
private |
the full Hit list from the Hitfinder.
Definition at line 124 of file InfoTransfer.h.
Referenced by Rebuild().
|
private |
label for geant4 module
Definition at line 125 of file InfoTransfer.h.
Referenced by Rebuild(), and reconfigure().
|
private |
The Refined Starthit.
Definition at line 131 of file InfoTransfer.h.
Referenced by FillStartEndHitCoords(), InfoTransfer(), and Rebuild().
|
private |
the refined hitlist after rebuild (one for each plane)
Definition at line 123 of file InfoTransfer.h.
Referenced by Rebuild(), and reconfigure().
|
private |
The Refined Starthit.
Definition at line 128 of file InfoTransfer.h.
Referenced by FillStartEndHitCoords(), InfoTransfer(), and Rebuild().
|
private |
Definition at line 120 of file InfoTransfer.h.
Referenced by InfoTransfer(), and Rebuild().
|
private |
Definition at line 133 of file InfoTransfer.h.
Referenced by GetSeedList(), and SetSeedList().
|
private |
the list selected by the GUI (one for each plane)
Definition at line 122 of file InfoTransfer.h.
Referenced by InfoTransfer(), Rebuild(), and reconfigure().
|
private |
The Starthit.
Definition at line 127 of file InfoTransfer.h.
Referenced by InfoTransfer(), and Rebuild().
|
private |
Definition at line 121 of file InfoTransfer.h.
Referenced by InfoTransfer(), and Rebuild().
|
private |
Definition at line 139 of file InfoTransfer.h.
Referenced by InfoTransfer(), and Rebuild().
|
private |
Definition at line 138 of file InfoTransfer.h.
Referenced by InfoTransfer(), and Rebuild().
|
private |
Definition at line 135 of file InfoTransfer.h.
Referenced by FillStartEndHitCoords(), InfoTransfer(), and Rebuild().
|
private |
Definition at line 118 of file InfoTransfer.h.
Referenced by InfoTransfer().