QwAnalysis
|
A container for the pattern databases for each detector region. More...
#include <QwTrackingTreeRegion.h>
Public Member Functions | |
QwTrackingTreeRegion () | |
Default constructor. More... | |
virtual | ~QwTrackingTreeRegion () |
Destructor. More... | |
bool | IsSearchable () const |
Is this region searchable? More... | |
void | SetSearchable (bool searchable=true) |
Set this tree region to searchable. More... | |
shortnode * | GetNode () |
Get the node to this tree region. More... | |
double | GetWidth () const |
Get the width. More... | |
void | SetWidth (double width) |
Set the width. More... | |
void | Print (const Option_t *options=0) const |
Print the lists of trees and nodes. More... | |
void | PrintTrees () const |
Print the list of trees. More... | |
void | PrintNodes () const |
Print the list of nodes. More... | |
![]() | |
VQwTrackingElement () | |
Default constructor. More... | |
VQwTrackingElement (const VQwTrackingElement &that) | |
virtual | ~VQwTrackingElement () |
Virtual destructor. More... | |
VQwTrackingElement & | operator= (const VQwTrackingElement &that) |
Assignment operator. More... | |
const QwDetectorInfo * | GetDetectorInfo () const |
Get the detector info pointer. More... | |
void | SetDetectorInfo (const QwDetectorInfo *detectorinfo) |
Set the detector info pointer. More... | |
EQwRegionID | GetRegion () const |
Get the region. More... | |
void | SetRegion (EQwRegionID region) |
Set the region. More... | |
EQwDetectorPackage | GetPackage () const |
Get the package. More... | |
void | SetPackage (EQwDetectorPackage package) |
Set the package. More... | |
int | GetOctant () const |
Get the octant number. More... | |
void | SetOctant (int octant) |
Set the octant number. More... | |
EQwDirectionID | GetDirection () const |
Get the direction. More... | |
void | SetDirection (EQwDirectionID direction) |
Set the direction. More... | |
int | GetPlane () const |
Get the plane number. More... | |
void | SetPlane (int plane) |
Set the plane number. More... | |
int | GetElement () const |
Get the element number. More... | |
void | SetElement (int element) |
Set the element number. More... | |
void | SetGeometryTo (const VQwTrackingElement &e) |
Copy the geometry info from another object. More... | |
![]() | |
QwObjectCounter () | |
Default constructor. More... | |
QwObjectCounter (const QwObjectCounter &) | |
Copy constructor. More... | |
virtual | ~QwObjectCounter () |
Destructor. More... | |
Private Attributes | |
int | fDebug |
Debug level. More... | |
bool | fSearchable |
Is this tree region searchable? More... | |
shortnode | fNode |
Top node of this tree region. More... | |
double | fWidth |
Width of the detector plane (i.e. number of wires * wire spacing) More... | |
Additional Inherited Members | |
![]() | |
static size_t | GetObjectsCreated () |
Get number of objects ever created. More... | |
static size_t | GetObjectsAlive () |
Get number of objects still alive. More... | |
![]() | |
ClassDef (VQwTrackingElement, 1) | |
![]() | |
const QwDetectorInfo * | fDetectorInfo |
EQwRegionID | fRegion |
///< Detector info pointer More... | |
EQwDetectorPackage | fPackage |
Package. More... | |
int | fOctant |
Octant number. More... | |
EQwDirectionID | fDirection |
Direction. More... | |
int | fPlane |
Plane number. More... | |
int | fElement |
Element number. More... | |
A container for the pattern databases for each detector region.
It is useful to separate the pattern database into multiple detector regions to reduce the extent by which a set of hits are compared to a pattern. For instance, there are two databases for the region 3 set of detectors. One for the 'upper' and one for the 'lower' detector sets. Track segments in the area downstream of the QTOR magnet are approximated by straight lines. Only the VDC is designed to measure track positions, so these two databases designed to contain patterns which ressemble tracks passing through the VDC.
The structure of a tree region is as follows. The tree region contains a flat list of shorttree objects which is read in sequentially from the cached tree file. The shorttree objects have son pointers to shortnode objects. For each shorttree there is a linked list of shortnode objects using the next pointers, which branches off to other trees using the tree pointers.
Definition at line 46 of file QwTrackingTreeRegion.h.
|
inline |
|
virtual |
Destructor.
Destructor
Definition at line 31 of file QwTrackingTreeRegion.cc.
References QwLog::endl(), fNode, QwTracking::shortnode::GetNumberOfTrees(), QwTracking::shortnode::GetTree(), QwDebug, QwVerbose, and QwTracking::shorttree::son.
|
inline |
Get the node to this tree region.
Definition at line 63 of file QwTrackingTreeRegion.h.
References fNode.
Referenced by QwTrackingTree::readtree(), and QwTrackingTreeSearch::SearchTreeLines().
|
inline |
Get the width.
Definition at line 66 of file QwTrackingTreeRegion.h.
References fWidth.
Referenced by QwTrackingWorker::ProcessEvent().
|
inline |
Is this region searchable?
Definition at line 58 of file QwTrackingTreeRegion.h.
References fSearchable.
Referenced by QwTrackingWorker::ProcessEvent(), and QwTrackingTree::readtree().
|
inline |
Print the lists of trees and nodes.
Definition at line 71 of file QwTrackingTreeRegion.h.
References PrintNodes(), and PrintTrees().
void QwTrackingTreeRegion::PrintNodes | ( | ) | const |
Print the list of nodes.
Print the list of nodes
Definition at line 76 of file QwTrackingTreeRegion.cc.
References QwLog::endl(), fNode, QwTracking::shortnode::GetNext(), QwTracking::shortnode::GetNumberOfTrees(), QwTracking::shortnode::GetTree(), QwTracking::shorttree::Print(), QwOut, and QwTracking::shorttree::son.
Referenced by QwTrackingWorker::InitTree(), and Print().
void QwTrackingTreeRegion::PrintTrees | ( | ) | const |
Print the list of trees.
Print the list of trees
Definition at line 63 of file QwTrackingTreeRegion.cc.
References QwLog::endl(), fNode, QwTracking::shortnode::GetTree(), QwTracking::shorttree::Print(), and QwOut.
Referenced by Print().
|
inline |
Set this tree region to searchable.
Definition at line 60 of file QwTrackingTreeRegion.h.
References fSearchable.
Referenced by QwTrackingTree::readtree().
|
inline |
Set the width.
Definition at line 68 of file QwTrackingTreeRegion.h.
References fWidth.
Referenced by QwTrackingTree::readtree().
|
private |
Debug level.
Definition at line 79 of file QwTrackingTreeRegion.h.
|
private |
Top node of this tree region.
Definition at line 83 of file QwTrackingTreeRegion.h.
Referenced by GetNode(), PrintNodes(), PrintTrees(), and ~QwTrackingTreeRegion().
|
private |
Is this tree region searchable?
Definition at line 81 of file QwTrackingTreeRegion.h.
Referenced by IsSearchable(), and SetSearchable().
|
private |
Width of the detector plane (i.e. number of wires * wire spacing)
Definition at line 85 of file QwTrackingTreeRegion.h.
Referenced by GetWidth(), and SetWidth().