15 #include "Utilities/AssociationUtil.h" 18 #include "nutools/EventDisplayBase/NavState.h" 21 void WriteMsg(
const char* fcn)
23 mf::LogWarning(
"InfoTransfer") <<
"InfoTransfer::" << fcn <<
" \n";
40 unsigned int nplanes = geo->Nplanes();
51 for(
unsigned int i=0;i<nplanes;i++){
69 unsigned int nplanes = geo->Nplanes();
73 for (
unsigned int i=0;i<nplanes;i++){
86 unsigned int nplanes = geo->Nplanes();
87 unsigned int which_call=evdb::NavState::Which();
92 for(
unsigned int j=0; j<nplanes;j++){
117 mf::LogWarning(
"InfoTransfer") <<
"failed to get handle to std::vector<recob::Hit> from " 126 for(
unsigned int i=0;i<nplanes;i++){
138 for(
unsigned int i=0;i<nplanes;i++ )
153 for(
size_t p = 0;
p < hHandle->size(); ++
p){
160 for(
unsigned int j=0; j<nplanes; j++){
161 sprintf(buf,
" ++++rebuilding with %lu selected hits in plane %u \n",
fSelectedHitlist[j].
size(),j);
166 for(
unsigned int ip=0;ip<nplanes;ip++) {
std::vector< std::vector< art::Ptr< recob::Hit > > > fRefinedHitlist
the refined hitlist after rebuild (one for each plane)
std::vector< std::vector< double > > refendhitout
void FillStartEndHitCoords(unsigned int plane)
std::vector< util::PxLine > GetSeedList()
Handle< PROD > getHandle(SelectorBase const &) const
InfoTransfer(fhicl::ParameterSet const &pset, art::ActivityRegistry ®)
std::vector< art::Ptr< recob::Hit > > fFullHitlist
the full Hit list from the Hitfinder.
std::vector< recob::Hit * > fStartHit
The Starthit.
decltype(auto) constexpr size(T &&obj)
ADL-aware version of std::size.
void Rebuild(const art::Event &evt)
std::vector< recob::Hit * > fRefStartHit
The Refined Starthit.
IDparameter< geo::WireID > WireID
Member type of validated geo::WireID parameter.
T get(std::string const &key) const
std::vector< recob::Hit * > fRefEndHit
The Refined Starthit.
std::vector< recob::Hit * > fEndHit
The Starthit.
std::vector< std::vector< double > > starthitout
std::string fHitModuleLabel
label for geant4 module
GlobalSignal< detail::SignalResponseType::FIFO, void(Event const &, ScheduleContext)> sPreProcessEvent
std::vector< std::vector< double > > endhitout
#define DEFINE_ART_SERVICE(svc)
std::vector< std::vector< art::Ptr< recob::Hit > > > fSelectedHitlist
the list selected by the GUI (one for each plane)
void SetSeedList(std::vector< util::PxLine > seedlines)
MaybeLogger_< ELseverityLevel::ELsev_warning, false > LogWarning
EventNumber_t event() const
2D representation of charge deposited in the TDC/wire plane
void reconfigure(fhicl::ParameterSet const &pset)
LArSoft geometry interface.
std::vector< std::vector< double > > refstarthitout
SubRunNumber_t subRun() const
cet::coded_exception< error, detail::translate > exception
std::vector< util::PxLine > fSeedList