10 #define INFOTRANSFER_H 22 class ActivityRegistry;
66 fSelectedHitlist[p].clear();
67 fSelectedHitlist[p] = hits_to_save;
70 std::vector<art::Ptr<recob::Hit>>
const&
GetHitList(
unsigned int plane)
const 72 return fRefinedHitlist[plane];
77 return fSelectedHitlist[plane];
82 if (fSelectedHitlist.size() == 0) {
84 std::cout <<
"no size" << std::endl;
86 fSelectedHitlist[plane].clear();
87 for (
unsigned int i = 0; i < fRefStartHit.size(); i++) {
88 fRefStartHit[i] = NULL;
104 return refstarthitout[plane];
109 return refendhitout[plane];
114 starthitout[plane].clear();
115 starthitout[plane].resize(2);
116 starthitout[plane] = starthitin;
121 endhitout[plane].clear();
122 endhitout[plane].resize(2);
123 endhitout[plane] = endhitin;
126 void SetSeedList(std::vector<util::PxLine> seedlines);
128 std::vector<util::PxLine>
const& GetSeedList()
const;
131 void FillStartEndHitCoords(
unsigned int plane);
137 std::vector<std::vector<art::Ptr<recob::Hit>>>
139 std::vector<std::vector<art::Ptr<recob::Hit>>>
void SetTestFlag(int value)
Namespace for general, non-LArSoft-specific utilities.
recob::Hit * GetStartHit(unsigned int plane) const
void SetStartHit(unsigned int p, recob::Hit *starthit)
Reconstruction base classes.
void SetEndHit(unsigned int p, recob::Hit *endhit)
void ClearSelectedHitList(int plane)
std::vector< recob::Hit * > fEndHit
The Starthit.
void SetHitList(unsigned int p, std::vector< art::Ptr< recob::Hit >> hits_to_save)
std::vector< double > const & GetEndHitCoords(unsigned int plane) const
std::vector< recob::Hit * > fStartHit
The Starthit.
std::vector< art::Ptr< recob::Hit > > const & GetHitList(unsigned int plane) const
recob::Hit * GetEndHit(unsigned int plane) const
std::vector< art::Ptr< recob::Hit > > fFullHitlist
the full Hit list from the Hitfinder.
void SetStartHitCoords(unsigned int plane, std::vector< double > starthitin)
std::vector< std::vector< double > > endhitout
auto vector(Vector const &v)
Returns a manipulator which will print the specified array.
void SetRunNumber(int value)
void SetSubRunNumber(int value)
#define DECLARE_ART_SERVICE(svc, scope)
std::vector< art::Ptr< recob::Hit > > const & GetSelectedHitList(unsigned int plane) const
std::vector< std::vector< double > > refendhitout
int GetSubRunNumber() const
Interface class to services that are intended to be reconfigurable through the event display...
std::string fHitModuleLabel
label for geant4 module
std::vector< std::vector< art::Ptr< recob::Hit > > > fRefinedHitlist
the refined hitlist after rebuild (one for each plane)
std::vector< recob::Hit * > fRefStartHit
The Refined Starthit.
void SetEvtNumber(int value)
std::vector< recob::Hit * > fRefEndHit
The Refined Starthit.
void SetEndHitCoords(unsigned int plane, std::vector< double > endhitin)
2D representation of charge deposited in the TDC/wire plane
std::vector< util::PxLine > fSeedList
std::vector< std::vector< double > > starthitout
std::vector< std::vector< art::Ptr< recob::Hit > > > fSelectedHitlist
the list selected by the GUI (one for each plane)
std::vector< std::vector< double > > refstarthitout
std::vector< double > const & GetStartHitCoords(unsigned int plane) const