22 #include "nuevdb/EventDisplayBase/NavState.h" 25 void WriteMsg(
const char* fcn)
27 mf::LogWarning(
"InfoTransfer") <<
"InfoTransfer::" << fcn <<
" \n";
36 :
evdb::Reconfigurable{pset}
45 unsigned int nplanes = geo->
Nplanes();
56 for(
unsigned int i=0;i<nplanes;i++){
74 unsigned int nplanes = geo->
Nplanes();
78 for (
unsigned int i=0;i<nplanes;i++){
91 unsigned int nplanes = geo->
Nplanes();
92 unsigned int which_call=evdb::NavState::Which();
97 for(
unsigned int j=0; j<nplanes;j++){
130 for(
unsigned int i=0;i<nplanes;i++){
142 for(
unsigned int i=0;i<nplanes;i++ )
157 for(
size_t p = 0;
p < hHandle->size(); ++
p){
164 for(
unsigned int j=0; j<nplanes; j++){
165 sprintf(buf,
" ++++rebuilding with %lu selected hits in plane %u \n",
fSelectedHitlist[j].
size(),j);
170 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()
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.
art framework interface to geometry description
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.
bool getByLabel(std::string const &label, std::string const &instance, Handle< PROD > &result) const
unsigned int Nplanes(unsigned int tpc=0, unsigned int cstat=0) const
Returns the total number of wire planes in the specified TPC.
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
Definition of data types for geometry description.
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)
Declaration of signal hit object.
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