#include <InfoTransfer.h>
Definition at line 40 of file InfoTransfer.h.
evd::InfoTransfer::InfoTransfer |
( |
fhicl::ParameterSet const & |
pset, |
|
|
art::ActivityRegistry & |
reg |
|
) |
| |
|
explicit |
Definition at line 38 of file InfoTransfer.cc.
40 : evdb::Reconfigurable{pset}
48 art::ServiceHandle<geo::Geometry const> geo;
49 unsigned int nplanes = geo->Nplanes();
60 for(
unsigned int i=0;i<nplanes;i++){
std::vector< std::vector< double > > endhitout
std::vector< recob::Hit * > fStartHit
The Starthit.
std::vector< recob::Hit * > fRefStartHit
The Refined Starthit.
std::vector< std::vector< double > > refstarthitout
std::vector< recob::Hit * > fRefEndHit
The Refined Starthit.
std::vector< recob::Hit * > fEndHit
The Starthit.
std::vector< std::vector< double > > starthitout
void Rebuild(const art::Event &evt, art::ScheduleContext)
std::vector< std::vector< art::Ptr< recob::Hit > > > fSelectedHitlist
the list selected by the GUI (one for each plane)
std::vector< std::vector< double > > refendhitout
void reconfigure(fhicl::ParameterSet const &pset)
evd::InfoTransfer::~InfoTransfer |
( |
| ) |
|
void evd::InfoTransfer::ClearSelectedHitList |
( |
int |
plane | ) |
|
|
inline |
Definition at line 76 of file InfoTransfer.h.
std::vector< recob::Hit * > fRefStartHit
The Refined Starthit.
std::vector< recob::Hit * > fRefEndHit
The Refined Starthit.
std::vector< std::vector< art::Ptr< recob::Hit > > > fSelectedHitlist
the list selected by the GUI (one for each plane)
BEGIN_PROLOG could also be cout
void evd::InfoTransfer::FillStartEndHitCoords |
( |
unsigned int |
plane | ) |
|
|
private |
Definition at line 216 of file InfoTransfer.cc.
219 art::ServiceHandle<geo::Geometry const> geo;
231 catch(cet::exception
const&
e) {
232 mf::LogWarning(
"GraphCluster") <<
"caught exception \n"
253 catch(cet::exception
const&
e) {
254 mf::LogWarning(
"GraphCluster") <<
"caught exception \n"
std::vector< std::vector< double > > endhitout
std::vector< recob::Hit * > fRefStartHit
The Refined Starthit.
IDparameter< geo::WireID > WireID
Member type of validated geo::WireID parameter.
std::vector< recob::Hit * > fRefEndHit
The Refined Starthit.
std::vector< std::vector< double > > starthitout
recob::Hit* evd::InfoTransfer::GetEndHit |
( |
unsigned int |
plane | ) |
const |
|
inline |
Definition at line 96 of file InfoTransfer.h.
std::vector< recob::Hit * > fRefEndHit
The Refined Starthit.
std::vector< double > const& evd::InfoTransfer::GetEndHitCoords |
( |
unsigned int |
plane | ) |
const |
|
inline |
Definition at line 102 of file InfoTransfer.h.
std::vector< std::vector< double > > refendhitout
int evd::InfoTransfer::GetEvtNumber |
( |
| ) |
const |
|
inline |
std::vector< art::Ptr < recob::Hit> > const& evd::InfoTransfer::GetHitList |
( |
unsigned int |
plane | ) |
const |
|
inline |
Definition at line 70 of file InfoTransfer.h.
std::vector< std::vector< art::Ptr< recob::Hit > > > fRefinedHitlist
the refined hitlist after rebuild (one for each plane)
int evd::InfoTransfer::GetRunNumber |
( |
| ) |
const |
|
inline |
std::vector< util::PxLine > const & evd::InfoTransfer::GetSeedList |
( |
| ) |
const |
std::vector< art::Ptr < recob::Hit> > const& evd::InfoTransfer::GetSelectedHitList |
( |
unsigned int |
plane | ) |
const |
|
inline |
Definition at line 73 of file InfoTransfer.h.
std::vector< std::vector< art::Ptr< recob::Hit > > > fSelectedHitlist
the list selected by the GUI (one for each plane)
recob::Hit* evd::InfoTransfer::GetStartHit |
( |
unsigned int |
plane | ) |
const |
|
inline |
Definition at line 90 of file InfoTransfer.h.
std::vector< recob::Hit * > fRefStartHit
The Refined Starthit.
std::vector< double > const& evd::InfoTransfer::GetStartHitCoords |
( |
unsigned int |
plane | ) |
const |
|
inline |
Definition at line 99 of file InfoTransfer.h.
std::vector< std::vector< double > > refstarthitout
int evd::InfoTransfer::GetSubRunNumber |
( |
| ) |
const |
|
inline |
int evd::InfoTransfer::GetTestFlag |
( |
| ) |
const |
|
inline |
void evd::InfoTransfer::Rebuild |
( |
const art::Event & |
evt, |
|
|
art::ScheduleContext |
|
|
) |
| |
< the refined hitlist after rebuild
Definition at line 92 of file InfoTransfer.cc.
94 art::ServiceHandle<geo::Geometry const> geo;
95 unsigned int nplanes = geo->Nplanes();
96 unsigned int which_call=evdb::NavState::Which();
101 for(
unsigned int j=0; j<nplanes;j++){
118 art::Handle< std::vector<recob::Hit> > hHandle;
125 if(hHandle.failedToGet()){
134 for(
unsigned int i=0;i<nplanes;i++){
146 for(
unsigned int i=0;i<nplanes;i++ )
161 for(
size_t p = 0;
p < hHandle->size(); ++
p){
162 art::Ptr<recob::Hit>
hit(hHandle,
p);
168 for(
unsigned int j=0; j<nplanes; j++){
169 sprintf(buf,
" ++++rebuilding with %lu selected hits in plane %u \n",
fSelectedHitlist[j].
size(),j);
174 for(
unsigned int ip=0;ip<nplanes;ip++) {
std::vector< std::vector< double > > endhitout
std::size_t size(FixedBins< T, C > const &) noexcept
std::vector< recob::Hit * > fStartHit
The Starthit.
std::vector< recob::Hit * > fRefStartHit
The Refined Starthit.
std::vector< std::vector< double > > refstarthitout
std::vector< recob::Hit * > fRefEndHit
The Refined Starthit.
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)
std::string fHitModuleLabel
label for geant4 module
std::vector< std::vector< double > > starthitout
std::vector< art::Ptr< recob::Hit > > fFullHitlist
the full Hit list from the Hitfinder.
std::vector< std::vector< art::Ptr< recob::Hit > > > fSelectedHitlist
the list selected by the GUI (one for each plane)
std::vector< std::vector< double > > refendhitout
2D representation of charge deposited in the TDC/wire plane
void evd::InfoTransfer::reconfigure |
( |
fhicl::ParameterSet const & |
pset | ) |
|
Definition at line 75 of file InfoTransfer.cc.
77 art::ServiceHandle<geo::Geometry const> geo;
78 unsigned int nplanes = geo->Nplanes();
82 for (
unsigned int i=0;i<nplanes;i++){
std::vector< std::vector< art::Ptr< recob::Hit > > > fRefinedHitlist
the refined hitlist after rebuild (one for each plane)
std::string fHitModuleLabel
label for geant4 module
std::vector< std::vector< art::Ptr< recob::Hit > > > fSelectedHitlist
the list selected by the GUI (one for each plane)
void evd::InfoTransfer::SetEndHit |
( |
unsigned int |
p, |
|
|
recob::Hit * |
endhit |
|
) |
| |
|
inline |
Definition at line 93 of file InfoTransfer.h.
std::vector< recob::Hit * > fEndHit
The Starthit.
void evd::InfoTransfer::SetEndHitCoords |
( |
unsigned int |
plane, |
|
|
std::vector< double > |
endhitin |
|
) |
| |
|
inline |
Definition at line 112 of file InfoTransfer.h.
std::vector< std::vector< double > > endhitout
void evd::InfoTransfer::SetEvtNumber |
( |
int |
value | ) |
|
|
inline |
void evd::InfoTransfer::SetHitList |
( |
unsigned int |
p, |
|
|
std::vector< art::Ptr< recob::Hit > > |
hits_to_save |
|
) |
| |
|
inline |
Definition at line 67 of file InfoTransfer.h.
std::vector< std::vector< art::Ptr< recob::Hit > > > fSelectedHitlist
the list selected by the GUI (one for each plane)
void evd::InfoTransfer::SetRunNumber |
( |
int |
value | ) |
|
|
inline |
void evd::InfoTransfer::SetSeedList |
( |
std::vector< util::PxLine > |
seedlines | ) |
|
void evd::InfoTransfer::SetStartHit |
( |
unsigned int |
p, |
|
|
recob::Hit * |
starthit |
|
) |
| |
|
inline |
Definition at line 87 of file InfoTransfer.h.
std::vector< recob::Hit * > fStartHit
The Starthit.
void evd::InfoTransfer::SetStartHitCoords |
( |
unsigned int |
plane, |
|
|
std::vector< double > |
starthitin |
|
) |
| |
|
inline |
Definition at line 105 of file InfoTransfer.h.
std::vector< std::vector< double > > starthitout
void evd::InfoTransfer::SetSubRunNumber |
( |
int |
value | ) |
|
|
inline |
void evd::InfoTransfer::SetTestFlag |
( |
int |
value | ) |
|
|
inline |
std::vector< std::vector <double > > evd::InfoTransfer::endhitout |
|
private |
std::vector< recob::Hit * > evd::InfoTransfer::fEndHit |
|
private |
int evd::InfoTransfer::fEvt |
|
private |
std::vector< art::Ptr < recob::Hit > > evd::InfoTransfer::fFullHitlist |
|
private |
std::string evd::InfoTransfer::fHitModuleLabel |
|
private |
std::vector< recob::Hit * > evd::InfoTransfer::fRefEndHit |
|
private |
std::vector< std::vector< art::Ptr < recob::Hit > > > evd::InfoTransfer::fRefinedHitlist |
|
private |
the refined hitlist after rebuild (one for each plane)
Definition at line 133 of file InfoTransfer.h.
std::vector< recob::Hit * > evd::InfoTransfer::fRefStartHit |
|
private |
int evd::InfoTransfer::fRun |
|
private |
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 132 of file InfoTransfer.h.
std::vector< recob::Hit * > evd::InfoTransfer::fStartHit |
|
private |
int evd::InfoTransfer::fSubRun |
|
private |
std::vector< std::vector <double > > evd::InfoTransfer::refendhitout |
|
private |
std::vector< std::vector <double > > evd::InfoTransfer::refstarthitout |
|
private |
std::vector< std::vector <double > > evd::InfoTransfer::starthitout |
|
private |
int evd::InfoTransfer::testflag |
|
private |
The documentation for this class was generated from the following files: