10 #define INFOTRANSFER_H 61 { fSelectedHitlist[p].clear(); fSelectedHitlist[p]=hits_to_save; };
63 std::vector < art::Ptr < recob::Hit> >
GetHitList(
unsigned int plane)
64 {
return fRefinedHitlist[plane]; };
67 {
return fSelectedHitlist[plane]; };
71 if (fSelectedHitlist.size()==0) {
return; std::cout<<
"no size"<<std::endl;}
72 fSelectedHitlist[plane].clear();
73 for(
unsigned int i=0; i<fRefStartHit.size(); i++){
81 { fStartHit[p]=starthit; };
84 {
return fRefStartHit[plane];};
87 { fEndHit[p]=endhit; };
90 {
return fRefEndHit[plane]; };
93 {
return refstarthitout[plane]; };
95 {
return refendhitout[plane]; };
98 { starthitout[plane].clear();
99 starthitout[plane].resize(2);
100 starthitout[plane]=starthitin; };
102 { endhitout[plane].clear();
103 endhitout[plane].resize(2);
104 endhitout[plane]=endhitin; };
107 void SetSeedList(std::vector < util::PxLine > seedlines);
110 std::vector < util::PxLine > GetSeedList();
116 void FillStartEndHitCoords(
unsigned int plane);
void SetTestFlag(int value)
std::vector< double > GetStartHitCoords(unsigned int plane)
Namespace for general, non-LArSoft-specific utilities.
void SetStartHit(unsigned int p, recob::Hit *starthit)
void SetEndHit(unsigned int p, recob::Hit *endhit)
void ClearSelectedHitList(int plane)
Declaration of signal hit object.
std::vector< std::vector< double > > endhitout
#define DECLARE_ART_SERVICE(svc, scope)
recob::Hit * GetStartHit(unsigned int plane)
void SetStartHitCoords(unsigned int plane, std::vector< double > starthitin)
std::vector< recob::Hit * > fStartHit
The Starthit.
auto vector(Vector const &v)
Returns a manipulator which will print the specified array.
std::vector< recob::Hit * > fRefStartHit
The Refined Starthit.
void SetRunNumber(int value)
std::vector< std::vector< double > > refstarthitout
void SetSubRunNumber(int value)
std::vector< double > GetEndHitCoords(unsigned int plane)
void SetHitList(unsigned int p, std::vector< art::Ptr< recob::Hit > > hits_to_save)
std::vector< recob::Hit * > fRefEndHit
The Refined Starthit.
recob::Hit * GetEndHit(unsigned int plane)
std::vector< recob::Hit * > fEndHit
The Starthit.
std::vector< std::vector< art::Ptr< recob::Hit > > > fRefinedHitlist
the refined hitlist after rebuild (one for each plane)
Interface class to services that are intended to be reconfigurable through the event display...
std::string fHitModuleLabel
label for geant4 module
Declaration of cluster object.
std::vector< std::vector< double > > starthitout
std::vector< art::Ptr< recob::Hit > > fFullHitlist
the full Hit list from the Hitfinder.
void SetEvtNumber(int value)
std::vector< art::Ptr< recob::Hit > > GetSelectedHitList(unsigned int plane)
std::vector< std::vector< art::Ptr< recob::Hit > > > fSelectedHitlist
the list selected by the GUI (one for each plane)
std::string value(boost::any const &)
std::vector< std::vector< double > > refendhitout
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< art::Ptr< recob::Hit > > GetHitList(unsigned int plane)