class TMui1DRoad

Describes a "one-dimensional" (X-Z) or (Y-Z) road found in the muon identifier

Public Methods

TMui1DRoad(const short& arm=kSOUTH, const short& orient=kHORIZ, const float& x_vertex=0.0, const float& y_vertex=0.0, const float& z_vertex=0.0)
Constructor.
TMui1DRoad(const TMui1DRoad& source)
Copy constructor.
~TMui1DRoad()
Destructor.
void SetIndex(const size_t& index)
Set the index for this road.
void AttachCluster(TMuiCluster* cluster)
Attach the given cluster to this road.
void SetMaxNumSkippedGaps(const short& num_gaps)
Max number of consecutive gaps allowed with no hits attached.
int SimpleFit(float& slope, float& intercept, float& sigma_slope, float& sigma_intercept, float& chisq, int& ndof)
Calculate the best-fit straight line with "simple" weights.
int Fit(const TMuiWeightFunc* wfunc, const float& x, const float& y, const float& z, float& slope, float& intercept, float& sigma_slope, float& sigma_intercept, float& chisq, int& ndof)
Fit (with weights) the cluster centroids to a straight line.
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 Orient() const
In which orientation was this road found?
void VertexPos(float& x, float& y, float& z) const
Position of the vertex point.
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 TMui1DRoad* road) const
How many hits do two roads share?
short NumSharedClusters(const TMui1DRoad* road) const
How many clusters do two roads share?
int DegreesOfFreedom() const
How many degrees of freedom in the trajectory fit?
float ReducedChiSquare() const
Chi-square parameter (per degree of freedom) of the trajectory fit.
void SimpleFitParams(float& slope, float& intercept, float& sigma_slope, float& sigma_intercept, float& chisq, int& ndof) const
Get the parameters from the simple fit.
TMuiCluster* Cluster(const short& gap) const
Get a pointer to the cluster attached in a particular gap.
float ClusterDistance(const TMuiCluster* cluster) const
Distance to a cluster.
float SearchWindow(const TMuiWindowFunc* wfunc, const short& gap) const
Determine the size of the search window in the given gap.

Documentation

Describes a "one-dimensional" (X-Z) or (Y-Z) road found in the muon identifier. A full "two-dimensional" road is composed of one X-Z and one Y-Z road.

TMui1DRoad(const short& arm=kSOUTH, const short& orient=kHORIZ, const float& x_vertex=0.0, const float& y_vertex=0.0, const float& z_vertex=0.0)
Constructor.

TMui1DRoad(const TMui1DRoad& source)
Copy constructor.

~TMui1DRoad()
Destructor.

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

void AttachCluster(TMuiCluster* cluster)
Attach the given cluster to this road.

void SetMaxNumSkippedGaps(const short& num_gaps)
Max number of consecutive gaps allowed with no hits attached.

int SimpleFit(float& slope, float& intercept, float& sigma_slope, float& sigma_intercept, float& chisq, int& ndof)
Calculate the best-fit straight line with "simple" weights.

int Fit(const TMuiWeightFunc* wfunc, const float& x, const float& y, const float& z, float& slope, float& intercept, float& sigma_slope, float& sigma_intercept, float& chisq, int& ndof)
Fit (with weights) the cluster centroids to a straight line.

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 Orient() const
In which orientation was this road found?

void VertexPos(float& x, float& y, float& z) const
Position of the vertex point.

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 TMui1DRoad* road) const
How many hits do two roads share?

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

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

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

void SimpleFitParams(float& slope, float& intercept, float& sigma_slope, float& sigma_intercept, float& chisq, int& ndof) const
Get the parameters from the simple fit.

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

float ClusterDistance(const TMuiCluster* cluster) const
Distance to a cluster.

float SearchWindow(const TMuiWindowFunc* wfunc, const short& gap) const
Determine the size of the search window in the given gap.


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