class TMui2DRoad

Describes a road found in the muon identifier

Public Methods

TMui2DRoad(TMui1DRoad* x_road, TMui1DRoad* y_road)
Constructor.
~TMui2DRoad()
Destructor.
void SetIndex(const size_t& index)
Set the index for this road.
void Project(const TMuiWeightFunc* wfunc, const short& gap, float& x, float& y, float& z)
Where does the trajectory of this road intersect a specific gap?
void ProjectToReference(const TMuiWeightFunc* wfunc, float& x, float& y, float& z)
Where does the trajectory of this road intersect the reference plane?
size_t Index() const
A unique identifier for this road in the current event.
short Arm() const
In which arm was this road found?
short LastGap() const
Which gap is the last one with hits attached to this road?
short NumGapsWithHits() const
How many gaps provide hits attached to this road?
short TotalHits() const
How many hits in all does this road contain?
short HitsPerGap(const short& gap) const
How many hits per gap does this road contain?
short MaxHitsPerGap() const
How many hits were attached in the gap with the most attached hits?
bool HasHitInPanel(const short& panel) const
Does this road contain any hits in the given panel?
short NumSharedHits(const TMui2DRoad* road) const
How many hits do two roads share?
short NumSharedClusters(const TMui2DRoad* road) const
How many clusters do two roads share?
bool ClusterPanelsMatch() const
Are the X and Y clusters in each gap in the same panel?
short LastGapDelta() const
Difference between the last gap in the H and V 1-D roads.
short GapHitDelta(const short gap) const
Difference between the hits per gap in the H and V 1-D roads.
short TotalHitsDelta() const
Difference between the number of hits in the H and V 1-D roads.
int DegreesOfFreedom() const
How many degrees of freedom in the trajectory fit?
int DegreesOfFreedom(const short& orient=kHORIZ) const
How many degrees of freedom in the trajectory fit?
float ReducedChiSquare() const
Chi-square parameter (per degree of freedom) of the trajectory fit.
float ReducedChiSquare(const short& orient=kHORIZ) const
Chi-square parameter (per degree of freedom) of the trajectory fit.
TMuiCluster* Cluster(const short& gap, const short& orient=kHORIZ) const
Get a pointer to the cluster attached in a particular gap.
bool IsIntersectionOK(const TMuiCluster* hcluster, const TMuiCluster* vcluster) const
Is the intersection of a pair of H and V clusters inside a panel?
vector <long> ClusterIndices() const
Get indices of all clusters in the road.

Documentation

Describes a road found in the muon identifier.

A road is a set of clusters in muID tubes that we expect to be associated with a single particle traversing the muon arm. (Roads are found by the mMuiRoadFinder module.) Methods include adding clusters, calculating and retrieving the trajectory indicated by the hits, projecting along the trajectory to an arbitrary plane, etc.

TMui2DRoad(TMui1DRoad* x_road, TMui1DRoad* y_road)
Constructor.

~TMui2DRoad()
Destructor.

void SetIndex(const size_t& index)
Set the index for this road.

void Project(const TMuiWeightFunc* wfunc, const short& gap, float& x, float& y, float& z)
Where does the trajectory of this road intersect a specific gap?

void ProjectToReference(const TMuiWeightFunc* wfunc, float& x, float& y, float& z)
Where does the trajectory of this road intersect the reference plane?

size_t Index() const
A unique identifier for this road in the current event.

short Arm() const
In which arm was this road found?

short LastGap() const
Which gap is the last one with hits attached to this road?

short NumGapsWithHits() const
How many gaps provide hits attached to this road?

short TotalHits() const
How many hits in all does this road contain?

short HitsPerGap(const short& gap) const
How many hits per gap does this road contain?

short MaxHitsPerGap() const
How many hits were attached in the gap with the most attached hits?

bool HasHitInPanel(const short& panel) const
Does this road contain any hits in the given panel?

short NumSharedHits(const TMui2DRoad* road) const
How many hits do two roads share?

short NumSharedClusters(const TMui2DRoad* road) const
How many clusters do two roads share?

bool ClusterPanelsMatch() const
Are the X and Y clusters in each gap in the same panel?

short LastGapDelta() const
Difference between the last gap in the H and V 1-D roads.

short GapHitDelta(const short gap) const
Difference between the hits per gap in the H and V 1-D roads.

short TotalHitsDelta() const
Difference between the number of hits in the H and V 1-D roads.

int DegreesOfFreedom() const
How many degrees of freedom in the trajectory fit?

int DegreesOfFreedom(const short& orient=kHORIZ) const
How many degrees of freedom in the trajectory fit?

float ReducedChiSquare() const
Chi-square parameter (per degree of freedom) of the trajectory fit.

float ReducedChiSquare(const short& orient=kHORIZ) const
Chi-square parameter (per degree of freedom) of the trajectory fit.

TMuiCluster* Cluster(const short& gap, const short& orient=kHORIZ) const
Get a pointer to the cluster attached in a particular gap.

bool IsIntersectionOK(const TMuiCluster* hcluster, const TMuiCluster* vcluster) const
Is the intersection of a pair of H and V clusters inside a panel?

vector <long> ClusterIndices() const
Get indices of all clusters in the road.


This class has no child classes.
Author:
Kyle Pope mailto:pope@phy.ornl.gov

alphabetic index hierarchy of classes


this page has been generated automatically by doc++

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de