#include <WireSelector.h>
Classes | |
struct | WireInfo |
class | WireSummary |
Public Types | |
using | Index = unsigned int |
using | IndexVector = std::vector< Index > |
using | GeometryCore = geo::GeometryCore |
using | View = geo::View_t |
using | PlaneID = geo::PlaneID |
using | PlaneIDVector = std::vector< PlaneID > |
using | WireInfoVector = std::vector< WireInfo > |
using | WireInfoMap = std::multimap< Index, const WireInfo * > |
Public Member Functions | |
WireSelector (Index icry=0) | |
const GeometryCore * | geometry () const |
const IndexVector & | cryostats () const |
View | view () const |
double | wireAngle () const |
double | wireAngleTolerance () const |
double | driftMin () const |
double | driftMax () const |
const PlaneIDVector & | planeIDs () const |
bool | haveData () const |
const WireInfoVector & | data () const |
const WireInfoMap & | dataMap () const |
const WireSummary & | wireSummary () const |
const GeometryCore * | geometry () |
void | selectCryostats (const IndexVector &a_icrys) |
void | selectView (View view) |
void | selectWireAngle (double wireAngle, double tol=0.001) |
void | selectDrift (double dmin, double dmax=1.e20) |
void | selectTpcSet (Index itps) |
void | selectTpcSets (const IndexVector &itpss) |
void | selectPlanes () |
const WireInfoVector & | fillData () |
const WireInfoMap & | fillDataMap () |
const WireSummary & | fillWireSummary () |
void | clearData () |
Private Attributes | |
const GeometryCore * | m_pgeo =nullptr |
IndexVector | m_icrys |
View | m_view =geo::kUnknown |
double | m_wireAngle =999. |
double | m_wireAngleTolerance =999. |
double | m_driftMin = 0.0 |
double | m_driftMax = 1.e20 |
PlaneIDVector | m_pids |
IndexVector | m_tpcSets |
bool | m_haveData =false |
WireInfoVector | m_data |
WireInfoMap | m_datamap |
WireSummary | m_wireSummary |
Definition at line 29 of file WireSelector.h.
Definition at line 35 of file WireSelector.h.
using WireSelector::Index = unsigned int |
Definition at line 33 of file WireSelector.h.
using WireSelector::IndexVector = std::vector<Index> |
Definition at line 34 of file WireSelector.h.
using WireSelector::PlaneID = geo::PlaneID |
Definition at line 37 of file WireSelector.h.
Definition at line 38 of file WireSelector.h.
using WireSelector::View = geo::View_t |
Definition at line 36 of file WireSelector.h.
using WireSelector::WireInfoMap = std::multimap<Index, const WireInfo*> |
Definition at line 98 of file WireSelector.h.
Definition at line 97 of file WireSelector.h.
|
explicit |
Definition at line 15 of file WireSelector.cxx.
void WireSelector::clearData | ( | ) |
Definition at line 193 of file WireSelector.cxx.
|
inline |
Definition at line 109 of file WireSelector.h.
|
inline |
Definition at line 127 of file WireSelector.h.
|
inline |
Definition at line 128 of file WireSelector.h.
|
inline |
Definition at line 120 of file WireSelector.h.
|
inline |
Definition at line 119 of file WireSelector.h.
const WireSelector::WireInfoVector & WireSelector::fillData | ( | ) |
Definition at line 117 of file WireSelector.cxx.
const WireSelector::WireInfoMap & WireSelector::fillDataMap | ( | ) |
Definition at line 153 of file WireSelector.cxx.
const WireSelector::WireSummary & WireSelector::fillWireSummary | ( | ) |
Definition at line 163 of file WireSelector.cxx.
|
inline |
Definition at line 106 of file WireSelector.h.
const WireSelector::GeometryCore * WireSelector::geometry | ( | ) |
Definition at line 21 of file WireSelector.cxx.
|
inline |
Definition at line 126 of file WireSelector.h.
|
inline |
Definition at line 123 of file WireSelector.h.
void WireSelector::selectCryostats | ( | const IndexVector & | a_icrys | ) |
Definition at line 31 of file WireSelector.cxx.
void WireSelector::selectDrift | ( | double | dmin, |
double | dmax = 1.e20 |
||
) |
Definition at line 53 of file WireSelector.cxx.
void WireSelector::selectPlanes | ( | ) |
Definition at line 75 of file WireSelector.cxx.
void WireSelector::selectTpcSet | ( | Index | itps | ) |
Definition at line 61 of file WireSelector.cxx.
void WireSelector::selectTpcSets | ( | const IndexVector & | itpss | ) |
Definition at line 68 of file WireSelector.cxx.
void WireSelector::selectView | ( | View | view | ) |
Definition at line 38 of file WireSelector.cxx.
void WireSelector::selectWireAngle | ( | double | wireAngle, |
double | tol = 0.001 |
||
) |
Definition at line 45 of file WireSelector.cxx.
|
inline |
Definition at line 112 of file WireSelector.h.
|
inline |
Definition at line 115 of file WireSelector.h.
|
inline |
Definition at line 116 of file WireSelector.h.
|
inline |
Definition at line 129 of file WireSelector.h.
|
private |
Definition at line 186 of file WireSelector.h.
|
private |
Definition at line 187 of file WireSelector.h.
|
private |
Definition at line 182 of file WireSelector.h.
|
private |
Definition at line 181 of file WireSelector.h.
|
private |
Definition at line 185 of file WireSelector.h.
|
private |
Definition at line 177 of file WireSelector.h.
|
private |
Definition at line 176 of file WireSelector.h.
|
private |
Definition at line 183 of file WireSelector.h.
|
private |
Definition at line 184 of file WireSelector.h.
|
private |
Definition at line 178 of file WireSelector.h.
|
private |
Definition at line 179 of file WireSelector.h.
|
private |
Definition at line 180 of file WireSelector.h.
|
private |
Definition at line 188 of file WireSelector.h.