10 #ifndef INFOTRANSFER_H 11 #define INFOTRANSFER_H 62 { fSelectedHitlist[
p].clear(); fSelectedHitlist[
p]=hits_to_save; };
64 std::vector < art::Ptr < recob::Hit> >
GetHitList(
unsigned int plane)
65 {
return fRefinedHitlist[plane]; };
68 {
return fSelectedHitlist[plane]; };
72 if (fSelectedHitlist.size()==0) {
return; std::cout<<
"no size"<<
std::endl;}
73 fSelectedHitlist[plane].clear();
74 for(
unsigned int i=0; i<fRefStartHit.size(); i++){
82 { fStartHit[
p]=starthit; };
85 {
return fRefStartHit[plane];};
88 { fEndHit[
p]=endhit; };
91 {
return fRefEndHit[plane]; };
94 {
return refstarthitout[plane]; };
96 {
return refendhitout[plane]; };
99 { starthitout[plane].clear();
100 starthitout[plane].resize(2);
101 starthitout[plane]=starthitin; };
103 { endhitout[plane].clear();
104 endhitout[plane].resize(2);
105 endhitout[plane]=endhitin; };
108 void SetSeedList(std::vector < util::PxLine > seedlines);
111 std::vector < util::PxLine > GetSeedList();
117 void FillStartEndHitCoords(
unsigned int plane);
void SetTestFlag(int value)
std::vector< std::vector< art::Ptr< recob::Hit > > > fRefinedHitlist
the refined hitlist after rebuild (one for each plane)
std::vector< std::vector< double > > refendhitout
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)
std::vector< art::Ptr< recob::Hit > > fFullHitlist
the full Hit list from the Hitfinder.
recob::Hit * GetStartHit(unsigned int plane)
void SetStartHitCoords(unsigned int plane, std::vector< double > starthitin)
std::vector< recob::Hit * > fStartHit
The Starthit.
std::vector< recob::Hit * > fRefStartHit
The Refined Starthit.
void SetRunNumber(int value)
void SetSubRunNumber(int value)
virtual void reconfigure(fhicl::ParameterSet const &pset)
#define DECLARE_ART_SERVICE(svc, scope)
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< double > > starthitout
std::string fHitModuleLabel
label for geant4 module
std::vector< std::vector< double > > endhitout
void SetEvtNumber(int value)
std::vector< std::vector< art::Ptr< recob::Hit > > > fSelectedHitlist
the list selected by the GUI (one for each plane)
std::vector< art::Ptr< recob::Hit > > GetSelectedHitList(unsigned int plane)
void SetEndHitCoords(unsigned int plane, std::vector< double > endhitin)
2D representation of charge deposited in the TDC/wire plane
std::vector< std::vector< double > > refstarthitout
QTextStream & endl(QTextStream &s)
std::vector< util::PxLine > fSeedList
std::vector< art::Ptr< recob::Hit > > GetHitList(unsigned int plane)