LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
evd::InfoTransfer Class Reference

#include "InfoTransfer.h"

Inheritance diagram for evd::InfoTransfer:
evdb::Reconfigurable

Public Member Functions

 InfoTransfer (fhicl::ParameterSet const &pset, art::ActivityRegistry &reg)
 
 ~InfoTransfer ()
 
void Rebuild (const art::Event &evt, art::ScheduleContext)
 
void reconfigure (fhicl::ParameterSet const &pset)
 
void SetTestFlag (int value)
 
int GetTestFlag () const
 
void SetRunNumber (int value)
 
int GetRunNumber () const
 
void SetSubRunNumber (int value)
 
int GetSubRunNumber () const
 
void SetEvtNumber (int value)
 
int GetEvtNumber () const
 
void SetHitList (unsigned int p, std::vector< art::Ptr< recob::Hit >> hits_to_save)
 
std::vector< art::Ptr< recob::Hit > > const & GetHitList (unsigned int plane) const
 
std::vector< art::Ptr< recob::Hit > > const & GetSelectedHitList (unsigned int plane) const
 
void ClearSelectedHitList (int plane)
 
void SetStartHit (unsigned int p, recob::Hit *starthit)
 
recob::HitGetStartHit (unsigned int plane) const
 
void SetEndHit (unsigned int p, recob::Hit *endhit)
 
recob::HitGetEndHit (unsigned int plane) const
 
std::vector< double > const & GetStartHitCoords (unsigned int plane) const
 
std::vector< double > const & GetEndHitCoords (unsigned int plane) const
 
void SetStartHitCoords (unsigned int plane, std::vector< double > starthitin)
 
void SetEndHitCoords (unsigned int plane, std::vector< double > endhitin)
 
void SetSeedList (std::vector< util::PxLine > seedlines)
 
std::vector< util::PxLine > const & GetSeedList () const
 
void do_reconfigure (fhicl::ParameterSet const &pset)
 

Private Member Functions

void FillStartEndHitCoords (unsigned int plane)
 

Private Attributes

int testflag
 
int fEvt
 
int fRun
 
int fSubRun
 
std::vector< std::vector< art::Ptr< recob::Hit > > > fSelectedHitlist
 the list selected by the GUI (one for each plane) More...
 
std::vector< std::vector< art::Ptr< recob::Hit > > > fRefinedHitlist
 the refined hitlist after rebuild (one for each plane) More...
 
std::vector< art::Ptr< recob::Hit > > fFullHitlist
 the full Hit list from the Hitfinder. More...
 
std::string fHitModuleLabel
 label for geant4 module More...
 
std::vector< recob::Hit * > fStartHit
 The Starthit. More...
 
std::vector< recob::Hit * > fRefStartHit
 The Refined Starthit. More...
 
std::vector< recob::Hit * > fEndHit
 The Starthit. More...
 
std::vector< recob::Hit * > fRefEndHit
 The Refined Starthit. More...
 
std::vector< util::PxLinefSeedList
 
std::vector< std::vector< double > > starthitout
 
std::vector< std::vector< double > > endhitout
 
std::vector< std::vector< double > > refstarthitout
 
std::vector< std::vector< double > > refendhitout
 

Detailed Description

Definition at line 41 of file InfoTransfer.h.

Constructor & Destructor Documentation

evd::InfoTransfer::InfoTransfer ( fhicl::ParameterSet const &  pset,
art::ActivityRegistry reg 
)
explicit

Definition at line 37 of file InfoTransfer.cc.

References endhitout, fEndHit, fEvt, fRefEndHit, fRefStartHit, fRun, fSelectedHitlist, fStartHit, fSubRun, geo::GeometryCore::Nplanes(), Rebuild(), reconfigure(), refendhitout, refstarthitout, starthitout, and testflag.

38  : evdb::Reconfigurable{pset}
39  {
40  this->reconfigure(pset);
41  testflag = -1;
42  fEvt = -1;
43  fRun = -1;
44  fSubRun = -1;
45  reg.sPreProcessEvent.watch(this, &InfoTransfer::Rebuild);
47  unsigned int nplanes = geo->Nplanes();
48 
49  fSelectedHitlist.resize(nplanes);
50  fStartHit.resize(nplanes);
51  fRefStartHit.resize(nplanes);
52  fEndHit.resize(nplanes);
53  fRefEndHit.resize(nplanes);
54  starthitout.resize(nplanes);
55  endhitout.resize(nplanes);
56  refstarthitout.resize(nplanes);
57  refendhitout.resize(nplanes);
58  for (unsigned int i = 0; i < nplanes; i++) {
59  starthitout[i].resize(2);
60  endhitout[i].resize(2);
61  refstarthitout[i].resize(2);
62  refendhitout[i].resize(2);
63  }
64  // hitlist=NULL;
65  }
std::vector< recob::Hit * > fEndHit
The Starthit.
Definition: InfoTransfer.h:147
std::vector< recob::Hit * > fStartHit
The Starthit.
Definition: InfoTransfer.h:144
std::vector< std::vector< double > > endhitout
Definition: InfoTransfer.h:153
std::vector< std::vector< double > > refendhitout
Definition: InfoTransfer.h:156
GlobalSignal< detail::SignalResponseType::FIFO, void(Event const &, ScheduleContext)> sPreProcessEvent
std::vector< recob::Hit * > fRefStartHit
The Refined Starthit.
Definition: InfoTransfer.h:145
void Rebuild(const art::Event &evt, art::ScheduleContext)
Definition: InfoTransfer.cc:86
std::vector< recob::Hit * > fRefEndHit
The Refined Starthit.
Definition: InfoTransfer.h:148
unsigned int Nplanes(TPCID const &tpcid=tpc_zero) const
Returns the total number of planes in the specified TPC.
Definition: GeometryCore.h:977
void reconfigure(fhicl::ParameterSet const &pset)
Definition: InfoTransfer.cc:71
Namespace collecting geometry-related classes utilities.
std::vector< std::vector< double > > starthitout
Definition: InfoTransfer.h:152
std::vector< std::vector< art::Ptr< recob::Hit > > > fSelectedHitlist
the list selected by the GUI (one for each plane)
Definition: InfoTransfer.h:138
std::vector< std::vector< double > > refstarthitout
Definition: InfoTransfer.h:155
evd::InfoTransfer::~InfoTransfer ( )

Definition at line 68 of file InfoTransfer.cc.

68 {}

Member Function Documentation

void evd::InfoTransfer::ClearSelectedHitList ( int  plane)
inline

Definition at line 80 of file InfoTransfer.h.

Referenced by evd::HitSelector::ClearHitList().

81  {
82  if (fSelectedHitlist.size() == 0) {
83  return;
84  std::cout << "no size" << std::endl;
85  }
86  fSelectedHitlist[plane].clear();
87  for (unsigned int i = 0; i < fRefStartHit.size(); i++) {
88  fRefStartHit[i] = NULL;
89  fRefEndHit[i] = NULL;
90  }
91  return;
92  }
std::vector< recob::Hit * > fRefStartHit
The Refined Starthit.
Definition: InfoTransfer.h:145
std::vector< recob::Hit * > fRefEndHit
The Refined Starthit.
Definition: InfoTransfer.h:148
std::vector< std::vector< art::Ptr< recob::Hit > > > fSelectedHitlist
the list selected by the GUI (one for each plane)
Definition: InfoTransfer.h:138
void evdb::Reconfigurable::do_reconfigure ( fhicl::ParameterSet const &  pset)
inlineinherited

Definition at line 16 of file Reconfigurable.h.

References evdb::Reconfigurable::reconfigure(), and evdb::Reconfigurable::~Reconfigurable().

16 { reconfigure(pset); }
virtual void reconfigure(fhicl::ParameterSet const &)=0
void evd::InfoTransfer::FillStartEndHitCoords ( unsigned int  plane)
private

Definition at line 209 of file InfoTransfer.cc.

References e, endhitout, fRefEndHit, fRefStartHit, and starthitout.

210  {
211 
213  // std::vector <double> sthitout(2);
214  if (fRefStartHit[plane]) {
215  starthitout[plane][1] = fRefStartHit[plane]->PeakTime();
216  try {
217  if (fRefStartHit[plane]->WireID().isValid) {
218  starthitout[plane][0] = fRefStartHit[plane]->WireID().Wire;
219  }
220  else {
221  starthitout[plane][0] = 0;
222  }
223  }
224  catch (cet::exception const& e) {
225  mf::LogWarning("GraphCluster") << "caught exception \n" << e;
226  starthitout[plane][0] = 0;
227  }
228  }
229  else {
230  starthitout[plane][1] = 0.;
231  starthitout[plane][0] = 0.;
232  }
233 
234  if (fRefEndHit[plane]) {
235  endhitout[plane][1] = fRefEndHit[plane]->PeakTime();
236  try {
237  if (fRefEndHit[plane]->WireID().isValid) {
238  endhitout[plane][0] = fRefEndHit[plane]->WireID().Wire;
239  }
240  else {
241  endhitout[plane][0] = 0;
242  }
243  }
244  catch (cet::exception const& e) {
245  mf::LogWarning("GraphCluster") << "caught exception \n" << e;
246  endhitout[plane][0] = 0;
247  }
248  }
249  else {
250  endhitout[plane][1] = 0.;
251  endhitout[plane][0] = 0.;
252  }
253  }
std::vector< std::vector< double > > endhitout
Definition: InfoTransfer.h:153
IDparameter< geo::WireID > WireID
Member type of validated geo::WireID parameter.
std::vector< recob::Hit * > fRefStartHit
The Refined Starthit.
Definition: InfoTransfer.h:145
MaybeLogger_< ELseverityLevel::ELsev_warning, false > LogWarning
std::vector< recob::Hit * > fRefEndHit
The Refined Starthit.
Definition: InfoTransfer.h:148
Float_t e
Definition: plot.C:35
Namespace collecting geometry-related classes utilities.
std::vector< std::vector< double > > starthitout
Definition: InfoTransfer.h:152
cet::coded_exception< error, detail::translate > exception
Definition: exception.h:33
recob::Hit* evd::InfoTransfer::GetEndHit ( unsigned int  plane) const
inline

Definition at line 100 of file InfoTransfer.h.

100 { return fRefEndHit[plane]; }
std::vector< recob::Hit * > fRefEndHit
The Refined Starthit.
Definition: InfoTransfer.h:148
std::vector<double> const& evd::InfoTransfer::GetEndHitCoords ( unsigned int  plane) const
inline

Definition at line 107 of file InfoTransfer.h.

Referenced by evd::GraphClusterAlg::GetStartEndHits().

108  {
109  return refendhitout[plane];
110  }
std::vector< std::vector< double > > refendhitout
Definition: InfoTransfer.h:156
int evd::InfoTransfer::GetEvtNumber ( ) const
inline

Definition at line 62 of file InfoTransfer.h.

Referenced by evd::GraphClusterAlg::CheckValidity().

62 { return fEvt; }
std::vector<art::Ptr<recob::Hit> > const& evd::InfoTransfer::GetHitList ( unsigned int  plane) const
inline

Definition at line 70 of file InfoTransfer.h.

Referenced by evd::GraphClusterAlg::GetHitList().

71  {
72  return fRefinedHitlist[plane];
73  }
std::vector< std::vector< art::Ptr< recob::Hit > > > fRefinedHitlist
the refined hitlist after rebuild (one for each plane)
Definition: InfoTransfer.h:140
int evd::InfoTransfer::GetRunNumber ( ) const
inline

Definition at line 58 of file InfoTransfer.h.

Referenced by evd::GraphClusterAlg::CheckValidity().

58 { return fRun; }
std::vector< util::PxLine > const & evd::InfoTransfer::GetSeedList ( ) const

Definition at line 203 of file InfoTransfer.cc.

References fSeedList.

Referenced by evd::GraphClusterAlg::GetSeedLines().

204  {
205  return fSeedList;
206  }
std::vector< util::PxLine > fSeedList
Definition: InfoTransfer.h:150
std::vector<art::Ptr<recob::Hit> > const& evd::InfoTransfer::GetSelectedHitList ( unsigned int  plane) const
inline

Definition at line 75 of file InfoTransfer.h.

Referenced by evd::HitSelector::ChangeHit(), evd::HitSelector::GetSelectedHitPtrs(), and evd::HitSelector::GetSelectedHits().

76  {
77  return fSelectedHitlist[plane];
78  }
std::vector< std::vector< art::Ptr< recob::Hit > > > fSelectedHitlist
the list selected by the GUI (one for each plane)
Definition: InfoTransfer.h:138
recob::Hit* evd::InfoTransfer::GetStartHit ( unsigned int  plane) const
inline

Definition at line 96 of file InfoTransfer.h.

96 { return fRefStartHit[plane]; }
std::vector< recob::Hit * > fRefStartHit
The Refined Starthit.
Definition: InfoTransfer.h:145
std::vector<double> const& evd::InfoTransfer::GetStartHitCoords ( unsigned int  plane) const
inline

Definition at line 102 of file InfoTransfer.h.

Referenced by evd::GraphClusterAlg::GetStartEndHits().

103  {
104  return refstarthitout[plane];
105  }
std::vector< std::vector< double > > refstarthitout
Definition: InfoTransfer.h:155
int evd::InfoTransfer::GetSubRunNumber ( ) const
inline

Definition at line 60 of file InfoTransfer.h.

Referenced by evd::GraphClusterAlg::CheckValidity().

60 { return fSubRun; }
int evd::InfoTransfer::GetTestFlag ( ) const
inline

Definition at line 56 of file InfoTransfer.h.

Referenced by evd::GraphClusterAlg::CheckValidity().

56 { return testflag; }
void evd::InfoTransfer::Rebuild ( const art::Event evt,
art::ScheduleContext   
)

< the refined hitlist after rebuild

Definition at line 86 of file InfoTransfer.cc.

References endhitout, art::EventID::event(), art::Handle< T >::failedToGet(), fEndHit, fEvt, fFullHitlist, fHitModuleLabel, fRefEndHit, fRefinedHitlist, fRefStartHit, fRun, fSelectedHitlist, fStartHit, fSubRun, art::ProductRetriever::getByLabel(), art::Event::id(), geo::GeometryCore::Nplanes(), refendhitout, refstarthitout, art::EventID::run(), util::size(), starthitout, art::EventID::subRun(), evdb::NavState::Which(), and xx.

Referenced by InfoTransfer().

87  {
89  unsigned int nplanes = geo->Nplanes();
90  unsigned int which_call = evdb::NavState::Which();
91  if (which_call != 2) {
92  //unless we're reloading we want to clear all the selected and refined hits
93  fRefinedHitlist.resize(nplanes);
94  fSelectedHitlist.resize(nplanes);
95  for (unsigned int j = 0; j < nplanes; j++) {
96  fRefinedHitlist[j].clear();
97  fSelectedHitlist[j].clear();
98  starthitout[j].clear();
99  endhitout[j].clear();
100  starthitout[j].resize(2);
101  endhitout[j].resize(2);
102  refstarthitout[j].clear();
103  refendhitout[j].clear();
104  refstarthitout[j].resize(2);
105  refendhitout[j].resize(2);
106  }
107  //also clear start and end points
108  fRefStartHit.clear();
109  fRefEndHit.clear();
110  fFullHitlist.clear();
111  }
113 
114  fEvt = evt.id().event();
115  fRun = evt.id().run();
116  fSubRun = evt.id().subRun();
117  evt.getByLabel(fHitModuleLabel, hHandle);
118 
119  if (hHandle.failedToGet()) {
120  // mf::LogWarning("InfoTransfer") << "failed to get handle to std::vector<recob::Hit> from "<< fHitModuleLabel;
121  return;
122  }
123 
124  // Clear out anything remaining from previous calls to Rebuild
125 
126  fRefinedHitlist.resize(nplanes);
127 
128  for (unsigned int i = 0; i < nplanes; i++) {
129  fRefinedHitlist[i].clear();
130  }
131 
132  fFullHitlist.clear();
133  for (unsigned int i = 0; i < fRefStartHit.size(); i++) {
134  fRefStartHit[i] = NULL;
135  fRefEndHit[i] = NULL;
136  }
137 
139  for (unsigned int i = 0; i < nplanes; i++) {
140  refstarthitout[i].clear();
141  refendhitout[i].clear();
142  refstarthitout[i].resize(2);
143  refendhitout[i].resize(2);
144 
145  refstarthitout[i] = starthitout[i];
146  refendhitout[i] = endhitout[i];
147 
148  starthitout[i].clear();
149  endhitout[i].clear();
150  starthitout[i].resize(2);
151  endhitout[i].resize(2);
152  }
153 
154  for (size_t p = 0; p < hHandle->size(); ++p) {
155  art::Ptr<recob::Hit> hit(hHandle, p);
156  fFullHitlist.push_back(hit);
157  }
158 
159  // fill the selected Hits into the fRefinedHitList from the fSelectedHitList
160  char buf[200];
161  for (unsigned int j = 0; j < nplanes; j++) {
162  sprintf(buf,
163  " ++++rebuilding with %lu selected hits in plane %u \n",
164  fSelectedHitlist[j].size(),
165  j);
166  WriteMsg(buf);
167  }
168 
169  for (size_t t = 0; t < fFullHitlist.size(); ++t) {
170  for (unsigned int ip = 0; ip < nplanes; ip++) {
171  for (size_t xx = 0; xx < fSelectedHitlist[ip].size(); ++xx) {
172  if (fFullHitlist[t] == fSelectedHitlist[ip][xx]) {
173  fRefinedHitlist[ip].push_back(fFullHitlist[t]);
174  break;
175  }
176  }
177 
178  if (fStartHit[ip] && fFullHitlist[t].get() == fStartHit[ip]) {
179  fRefStartHit[ip] = const_cast<recob::Hit*>(fFullHitlist[t].get());
180  }
181 
182  if (fEndHit[ip] && fFullHitlist[t].get() == fEndHit[ip]) {
183  fRefEndHit[ip] = const_cast<recob::Hit*>(fFullHitlist[t].get());
184  }
185  }
186  }
187  //for(int ip=0;ip<nplanes;ip++)
188  // FillStartEndHitCoords(ip);
189 
190  fSelectedHitlist.clear();
192 
193  return;
194  }
Double_t xx
Definition: macro.C:12
std::vector< recob::Hit * > fEndHit
The Starthit.
Definition: InfoTransfer.h:147
std::vector< recob::Hit * > fStartHit
The Starthit.
Definition: InfoTransfer.h:144
std::vector< art::Ptr< recob::Hit > > fFullHitlist
the full Hit list from the Hitfinder.
Definition: InfoTransfer.h:141
RunNumber_t run() const
Definition: EventID.h:98
decltype(auto) constexpr size(T &&obj)
ADL-aware version of std::size.
Definition: StdUtils.h:101
std::vector< std::vector< double > > endhitout
Definition: InfoTransfer.h:153
std::vector< std::vector< double > > refendhitout
Definition: InfoTransfer.h:156
std::string fHitModuleLabel
label for geant4 module
Definition: InfoTransfer.h:142
std::vector< std::vector< art::Ptr< recob::Hit > > > fRefinedHitlist
the refined hitlist after rebuild (one for each plane)
Definition: InfoTransfer.h:140
Detector simulation of raw signals on wires.
std::vector< recob::Hit * > fRefStartHit
The Refined Starthit.
Definition: InfoTransfer.h:145
bool getByLabel(std::string const &label, std::string const &instance, Handle< PROD > &result) const
static int Which()
Definition: NavState.cxx:20
std::vector< recob::Hit * > fRefEndHit
The Refined Starthit.
Definition: InfoTransfer.h:148
EventNumber_t event() const
Definition: EventID.h:116
unsigned int Nplanes(TPCID const &tpcid=tpc_zero) const
Returns the total number of planes in the specified TPC.
Definition: GeometryCore.h:977
2D representation of charge deposited in the TDC/wire plane
Definition: Hit.h:46
Namespace collecting geometry-related classes utilities.
std::vector< std::vector< double > > starthitout
Definition: InfoTransfer.h:152
SubRunNumber_t subRun() const
Definition: EventID.h:110
EventID id() const
Definition: Event.cc:23
std::vector< std::vector< art::Ptr< recob::Hit > > > fSelectedHitlist
the list selected by the GUI (one for each plane)
Definition: InfoTransfer.h:138
bool failedToGet() const
Definition: Handle.h:210
std::vector< std::vector< double > > refstarthitout
Definition: InfoTransfer.h:155
void evd::InfoTransfer::reconfigure ( fhicl::ParameterSet const &  pset)
virtual

Implements evdb::Reconfigurable.

Definition at line 71 of file InfoTransfer.cc.

References fHitModuleLabel, fRefinedHitlist, fSelectedHitlist, fhicl::ParameterSet::get(), and geo::GeometryCore::Nplanes().

Referenced by InfoTransfer().

72  {
74  unsigned int nplanes = geo->Nplanes();
75  //clear everything
76  fRefinedHitlist.resize(nplanes);
77  fSelectedHitlist.resize(nplanes);
78  for (unsigned int i = 0; i < nplanes; i++) {
79  fRefinedHitlist[i].clear();
80  fSelectedHitlist[i].clear();
81  }
82  fHitModuleLabel = pset.get<std::string>("HitModuleLabel", "ffthit");
83  }
std::string fHitModuleLabel
label for geant4 module
Definition: InfoTransfer.h:142
std::vector< std::vector< art::Ptr< recob::Hit > > > fRefinedHitlist
the refined hitlist after rebuild (one for each plane)
Definition: InfoTransfer.h:140
unsigned int Nplanes(TPCID const &tpcid=tpc_zero) const
Returns the total number of planes in the specified TPC.
Definition: GeometryCore.h:977
Namespace collecting geometry-related classes utilities.
std::vector< std::vector< art::Ptr< recob::Hit > > > fSelectedHitlist
the list selected by the GUI (one for each plane)
Definition: InfoTransfer.h:138
void evd::InfoTransfer::SetEndHit ( unsigned int  p,
recob::Hit endhit 
)
inline

Definition at line 98 of file InfoTransfer.h.

98 { fEndHit[p] = endhit; }
std::vector< recob::Hit * > fEndHit
The Starthit.
Definition: InfoTransfer.h:147
void evd::InfoTransfer::SetEndHitCoords ( unsigned int  plane,
std::vector< double >  endhitin 
)
inline

Definition at line 119 of file InfoTransfer.h.

Referenced by evd::HitSelector::SaveHits().

120  {
121  endhitout[plane].clear();
122  endhitout[plane].resize(2);
123  endhitout[plane] = endhitin;
124  }
std::vector< std::vector< double > > endhitout
Definition: InfoTransfer.h:153
void evd::InfoTransfer::SetEvtNumber ( int  value)
inline

Definition at line 61 of file InfoTransfer.h.

References value.

Referenced by evd::HitSelector::ChangeHit(), evd::HitSelector::SaveHits(), and evd::HitSelector::SaveSeedLines().

61 { fEvt = value; }
double value
Definition: spectrum.C:18
void evd::InfoTransfer::SetHitList ( unsigned int  p,
std::vector< art::Ptr< recob::Hit >>  hits_to_save 
)
inline

Definition at line 64 of file InfoTransfer.h.

Referenced by evd::HitSelector::ChangeHit(), evd::HitSelector::SaveHits(), and evd::HitSelector::SaveSeedLines().

65  {
66  fSelectedHitlist[p].clear();
67  fSelectedHitlist[p] = hits_to_save;
68  }
std::vector< std::vector< art::Ptr< recob::Hit > > > fSelectedHitlist
the list selected by the GUI (one for each plane)
Definition: InfoTransfer.h:138
void evd::InfoTransfer::SetRunNumber ( int  value)
inline

Definition at line 57 of file InfoTransfer.h.

References value.

57 { fRun = value; }
double value
Definition: spectrum.C:18
void evd::InfoTransfer::SetSeedList ( std::vector< util::PxLine seedlines)

Definition at line 197 of file InfoTransfer.cc.

References fSeedList.

Referenced by evd::HitSelector::SaveSeedLines().

198  {
199  fSeedList = seedlines;
200  }
std::vector< util::PxLine > fSeedList
Definition: InfoTransfer.h:150
void evd::InfoTransfer::SetStartHit ( unsigned int  p,
recob::Hit starthit 
)
inline

Definition at line 94 of file InfoTransfer.h.

94 { fStartHit[p] = starthit; }
std::vector< recob::Hit * > fStartHit
The Starthit.
Definition: InfoTransfer.h:144
void evd::InfoTransfer::SetStartHitCoords ( unsigned int  plane,
std::vector< double >  starthitin 
)
inline

Definition at line 112 of file InfoTransfer.h.

Referenced by evd::HitSelector::SaveHits().

113  {
114  starthitout[plane].clear();
115  starthitout[plane].resize(2);
116  starthitout[plane] = starthitin;
117  }
std::vector< std::vector< double > > starthitout
Definition: InfoTransfer.h:152
void evd::InfoTransfer::SetSubRunNumber ( int  value)
inline

Definition at line 59 of file InfoTransfer.h.

References value.

59 { fSubRun = value; }
double value
Definition: spectrum.C:18
void evd::InfoTransfer::SetTestFlag ( int  value)
inline

Member Data Documentation

std::vector<std::vector<double> > evd::InfoTransfer::endhitout
private

Definition at line 153 of file InfoTransfer.h.

Referenced by FillStartEndHitCoords(), InfoTransfer(), and Rebuild().

std::vector<recob::Hit*> evd::InfoTransfer::fEndHit
private

The Starthit.

Definition at line 147 of file InfoTransfer.h.

Referenced by InfoTransfer(), and Rebuild().

int evd::InfoTransfer::fEvt
private

Definition at line 134 of file InfoTransfer.h.

Referenced by InfoTransfer(), and Rebuild().

std::vector<art::Ptr<recob::Hit> > evd::InfoTransfer::fFullHitlist
private

the full Hit list from the Hitfinder.

Definition at line 141 of file InfoTransfer.h.

Referenced by Rebuild().

std::string evd::InfoTransfer::fHitModuleLabel
private

label for geant4 module

Definition at line 142 of file InfoTransfer.h.

Referenced by Rebuild(), and reconfigure().

std::vector<recob::Hit*> evd::InfoTransfer::fRefEndHit
private

The Refined Starthit.

Definition at line 148 of file InfoTransfer.h.

Referenced by FillStartEndHitCoords(), InfoTransfer(), and Rebuild().

std::vector<std::vector<art::Ptr<recob::Hit> > > evd::InfoTransfer::fRefinedHitlist
private

the refined hitlist after rebuild (one for each plane)

Definition at line 140 of file InfoTransfer.h.

Referenced by Rebuild(), and reconfigure().

std::vector<recob::Hit*> evd::InfoTransfer::fRefStartHit
private

The Refined Starthit.

Definition at line 145 of file InfoTransfer.h.

Referenced by FillStartEndHitCoords(), InfoTransfer(), and Rebuild().

int evd::InfoTransfer::fRun
private

Definition at line 135 of file InfoTransfer.h.

Referenced by InfoTransfer(), and Rebuild().

std::vector<util::PxLine> evd::InfoTransfer::fSeedList
private

Definition at line 150 of file InfoTransfer.h.

Referenced by GetSeedList(), and SetSeedList().

std::vector<std::vector<art::Ptr<recob::Hit> > > evd::InfoTransfer::fSelectedHitlist
private

the list selected by the GUI (one for each plane)

Definition at line 138 of file InfoTransfer.h.

Referenced by InfoTransfer(), Rebuild(), and reconfigure().

std::vector<recob::Hit*> evd::InfoTransfer::fStartHit
private

The Starthit.

Definition at line 144 of file InfoTransfer.h.

Referenced by InfoTransfer(), and Rebuild().

int evd::InfoTransfer::fSubRun
private

Definition at line 136 of file InfoTransfer.h.

Referenced by InfoTransfer(), and Rebuild().

std::vector<std::vector<double> > evd::InfoTransfer::refendhitout
private

Definition at line 156 of file InfoTransfer.h.

Referenced by InfoTransfer(), and Rebuild().

std::vector<std::vector<double> > evd::InfoTransfer::refstarthitout
private

Definition at line 155 of file InfoTransfer.h.

Referenced by InfoTransfer(), and Rebuild().

std::vector<std::vector<double> > evd::InfoTransfer::starthitout
private

Definition at line 152 of file InfoTransfer.h.

Referenced by FillStartEndHitCoords(), InfoTransfer(), and Rebuild().

int evd::InfoTransfer::testflag
private

Definition at line 133 of file InfoTransfer.h.

Referenced by InfoTransfer().


The documentation for this class was generated from the following files: