Representation of the channels in one view. More...
#include "/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/N21-01-21/DiscreteTracker/View.h"
Public Types | |
typedef std::map< int, std::vector< Chunk > > | ChunkMap |
Public Member Functions | |
View (art::PtrVector< rb::CellHit > chits, bool considerBadChans) | |
geo::View_t | GeoView () const |
ChunkMap | MakeChunks () const |
std::set< unsigned int > | GetPlanes () const |
int | PrevPlane (unsigned int plane) const |
int | NextPlane (unsigned int plane) const |
int | AdjacentPlane (unsigned int plane, Direction dir) const |
dt::Channel | Channel (int plane, int cell) const |
dt::Channel & | Channel (int plane, int cell) |
Protected Member Functions | |
std::vector< Chunk > | MakeChunkCombos (int plane, int begin, int end) const |
bool | Outside (int plane, int cell) const |
Protected Attributes | |
geo::View_t | fGeoView |
unsigned int | fMinCell |
std::vector< std::vector< dt::Channel > > | fChans |
Should access this via Channel function. More... | |
std::set< unsigned int > | fPlanes |
typedef std::map<int, std::vector<Chunk> > dt::View::ChunkMap |
dt::View::View | ( | art::PtrVector< rb::CellHit > | chits, |
bool | considerBadChans | ||
) |
Definition at line 19 of file View.cxx.
References ana::assert(), getBrightness::cell, rb::CellHit::Cell(), febshutoff_auto::chan, art::PtrVector< T >::empty(), fChans, fGeoView, fMinCell, fPlanes, geom(), geo::GeometryBase::GetPlanesByView(), chaninfo::BadChanList::IsBad(), chaninfo::BadChanList::IsLowEfficiency(), it, dt::Channel::kDead, std::max(), makeBrightnessMap::maxCell, rb::Cluster::MaxCell(), makeBrightnessMap::maxPlane, rb::Cluster::MaxPlane(), std::min(), rb::Cluster::MinCell(), rb::Cluster::MinPlane(), getGoodRuns4SAM::n, geo::PlaneGeo::Ncells(), geo::GeometryBase::NPlanes(), rb::CellHit::Plane(), geo::GeometryBase::Plane(), NDAPDHVSetting::plane, dt::Channel::SetDead(), dt::Channel::SetHit(), art::PtrVector< T >::size(), dt::Channel::Type(), and submit_hadd::u.
Definition at line 121 of file View.cxx.
References dt::kUpstream, NextPlane(), and PrevPlane().
Referenced by GetPlanes(), and dt::DiscreteTracker::PossibleNextSegs().
dt::Channel dt::View::Channel | ( | int | plane, |
int | cell | ||
) | const |
Definition at line 128 of file View.cxx.
References fChans, fMinCell, Outside(), NDAPDHVSetting::plane, and dt::Channel::SetDead().
Referenced by GetPlanes(), MakeChunkCombos(), MakeChunks(), and dt::DiscreteTracker::RecoDiscrete().
dt::Channel & dt::View::Channel | ( | int | plane, |
int | cell | ||
) |
Definition at line 140 of file View.cxx.
References ana::assert(), fChans, fMinCell, Outside(), and NDAPDHVSetting::plane.
|
inline |
Definition at line 26 of file View.h.
References fGeoView.
Referenced by dt::DiscreteTracker::BestSeed().
|
inline |
Definition at line 29 of file View.h.
References AdjacentPlane(), getBrightness::cell, Channel(), dir, febshutoff_auto::end, fPlanes, MakeChunkCombos(), NextPlane(), Outside(), NDAPDHVSetting::plane, and PrevPlane().
Definition at line 184 of file View.cxx.
References ana::assert(), Channel(), make_associated_cosmic_defs::chunk, febshutoff_auto::end, hits(), MECModelEnuComparisons::i, calib::j, dt::Channel::kDead, dt::Channel::kHit, make_pair(), art::PtrVector< T >::push_back(), runNovaSAM::ret, moon_position_table_new3::second, and dt::Channel::Type().
Referenced by GetPlanes(), and MakeChunks().
View::ChunkMap dt::View::MakeChunks | ( | ) | const |
Definition at line 148 of file View.cxx.
References getBrightness::cell, cellMax, Channel(), make_goodruns_defs::chunks, fChans, fMinCell, fPlanes, it, dt::Channel::kDead, dt::Channel::kHit, MakeChunkCombos(), NDAPDHVSetting::plane, and dt::Channel::Type().
Referenced by dt::DiscreteTracker::BestSeed(), and dt::DiscreteTracker::RecoDiscrete().
Definition at line 111 of file View.cxx.
Referenced by AdjacentPlane(), dt::DiscreteTracker::BestSeed(), and GetPlanes().
Definition at line 261 of file View.cxx.
References fChans, fMinCell, makeTrainCVSamples::int, and gen_hdf5record::size.
Referenced by Channel(), and GetPlanes().
|
protected |
|
protected |
|
protected |
|
protected |
Definition at line 49 of file View.h.
Referenced by GetPlanes(), MakeChunks(), NextPlane(), PrevPlane(), and View().