QwAnalysis
|
Collection of QwDetectorInfo pointers that specifies an experimental geometry. More...
#include <QwGeometry.h>
Inherits std::vector< T >.
Data Structures | |
struct | compare |
Functor for sorting QwDetectorInfo pointers. More... | |
Public Member Functions | |
QwGeometry () | |
Default constructor. More... | |
QwGeometry (const QwGeometry &that) | |
Copy constructor. More... | |
virtual | ~QwGeometry () |
Virtual destructor. More... | |
QwGeometry & | operator= (const QwGeometry &that) |
Assignment operator. More... | |
void | push_back (QwDetectorInfo &detector) |
Add single detector object. More... | |
void | push_back (QwDetectorInfo *detector) |
Add single detector pointer. More... | |
void | push_back (const QwGeometry &detectors) |
Add another geometry. More... | |
void | push_back (std::vector< QwDetectorInfo > &detectors) |
Add vector of detectors. More... | |
const QwGeometry | name (const std::string &name) |
Get detectors by name. More... | |
const QwGeometry | in (const EQwRegionID &r) const |
Get detectors in given region. More... | |
const QwGeometry | in (const EQwDetectorPackage &p) const |
Get detectors in given package. More... | |
const QwGeometry | in (const EQwDirectionID &d) const |
Get detectors in given direction. More... | |
const QwGeometry | of (const EQwDetectorType &t) const |
Get detectors of given type. More... | |
const QwGeometry | as (const QwDetectorInfo *d) const |
Get detectors like specified detector (same region, same package, same type) More... | |
void | Print () const |
Friends | |
std::ostream & | operator<< (std::ostream &stream, const QwGeometry &detectors) |
Additional Inherited Members | |
![]() | |
T | elements |
STL member. More... | |
Collection of QwDetectorInfo pointers that specifies an experimental geometry.
Definition at line 27 of file QwGeometry.h.
|
inline |
|
inline |
Copy constructor.
Definition at line 41 of file QwGeometry.h.
|
inlinevirtual |
|
inline |
Get detectors like specified detector (same region, same package, same type)
Definition at line 128 of file QwGeometry.h.
References QwDetectorInfo::GetDirection(), QwDetectorInfo::GetPackage(), QwDetectorInfo::GetRegion(), QwDetectorInfo::GetType(), and push_back().
|
inline |
Get detectors in given region.
Definition at line 92 of file QwGeometry.h.
References push_back().
Referenced by QwTreeEventBuffer::CreateHitList(), QwPartialTrack::DeterminePositionInCerenkovBars(), QwPartialTrack::DeterminePositionInHDC(), QwPartialTrack::DeterminePositionInTriggerScintillators(), QwTreeEventBuffer::GetEntry(), QwTrackingTreeCombine::InAcceptance(), QwTrackingWorker::InitTree(), main(), QwTrackingWorker::ProcessEvent(), QwTrackingTreeCombine::TlCheckForX(), QwTrackingTreeCombine::TlTreeLineSort(), QwDriftChamberHDC::UpdateHits(), and QwDriftChamberVDC::UpdateHits().
|
inline |
Get detectors in given package.
Definition at line 101 of file QwGeometry.h.
References push_back().
|
inline |
Get detectors in given direction.
Definition at line 110 of file QwGeometry.h.
References push_back().
|
inline |
Get detectors by name.
Definition at line 83 of file QwGeometry.h.
References push_back().
Referenced by VQwSubsystemTracking::LoadCrosstalkDefinition().
|
inline |
Get detectors of given type.
Definition at line 119 of file QwGeometry.h.
References push_back().
|
inline |
Assignment operator.
Definition at line 46 of file QwGeometry.h.
References push_back().
|
inline |
Print function
Definition at line 150 of file QwGeometry.h.
References QwLog::endl(), and QwOut.
|
inline |
Add single detector object.
Definition at line 55 of file QwGeometry.h.
Referenced by as(), QwSubsystemArrayTracking::GetGeometry(), in(), VQwSubsystemTracking::LoadGeometryDefinition(), name(), of(), and operator=().
|
inline |
Add single detector pointer.
Definition at line 61 of file QwGeometry.h.
|
inline |
Add another geometry.
Definition at line 67 of file QwGeometry.h.
|
inline |
Add vector of detectors.
Definition at line 75 of file QwGeometry.h.
|
friend |
Output stream operator
stream | Output stream |
detectors | Detector geometry object |
Definition at line 167 of file QwGeometry.h.