StFms  0.0.0
FMS software in the STAR framework
StFmsCluster Class Reference

#include <StFmsCluster.h>

Inheritance diagram for StFmsCluster:
Collaboration diagram for StFmsCluster:

Public Member Functions

 StFmsCluster ()
 
 ~StFmsCluster ()
 
void Print (Option_t *optionNotUsed="") const
 
UShort_t detectorId () const
 
Int_t category () const
 
Int_t nTowers () const
 
Int_t nPhotons () const
 
Float_t energy () const
 
Float_t x () const
 
Float_t y () const
 
Float_t sigmaMax () const
 
Float_t sigmaMin () const
 
Float_t chi2Ndf1Photon () const
 
Float_t chi2Ndf2Photon () const
 
Int_t id () const
 
TLorentzVector fourMomentum () const
 
void setDetectorId (UShort_t detector)
 
void setCategory (Int_t catag)
 
void setNTowers (Int_t numbTower)
 
Bool_t setNPhotons (Int_t nPhoton)
 
void setEnergy (Float_t energy)
 
void setX (Float_t x0)
 
void setY (Float_t y0)
 
void setSigmaMin (Float_t sigmaMax)
 
void setSigmaMax (Float_t sigmaMax)
 
void setChi2Ndf1Photon (Float_t chi2ndfph1)
 
void setChi2Ndf2Photon (Float_t chi2ndfph2)
 
void setId (Float_t cluid)
 
void setFourMomentum (TLorentzVector p4)
 
StPtrVecFmsHit & hits ()
 
const StPtrVecFmsHit & hits () const
 
StPtrVecFmsPoint & points ()
 
const StPtrVecFmsPoint & points () const
 

Protected Attributes

UShort_t mDetectorId
 Detector starts from 1. More...
 
Int_t mCategory
 Category of cluster (see EFmsClusterCategory) More...
 
Int_t mNTowers
 Number of non-zero-energy tower hits in the cluster. More...
 
Int_t mNPhotons
 Number of photons forming this cluster. More...
 
Float_t mEnergy
 Total energy contained in this cluster (0th moment) More...
 
Float_t mX
 
Float_t mY
 
Float_t mSigmaMin
 Minimum 2nd moment. More...
 
Float_t mSigmaMax
 Maximum 2nd moment (along major axis) More...
 
Float_t mChi2Ndf1Photon
 χ2 / ndf for 1-photon fit More...
 
Float_t mChi2Ndf2Photon
 χ2 / ndf for 2-photon fit More...
 
Int_t mId
 Eventwise cluster ID. More...
 
TLorentzVector mFourMomentum
 Cluster four momentum. More...
 
StPtrVecFmsPoint mPhotons
 Tower hits of the current cluster. More...
 
StPtrVecFmsHit mHits
 Fitted points (photons) in the cluster. More...
 

Detailed Description

A cluster of adjacent FMS hits.

A cluster is formed by the energy depositions (hits) of one or more particles over a group of FMS towers.

Definition at line 35 of file StFmsCluster.h.

Constructor & Destructor Documentation

StFmsCluster::StFmsCluster ( )

Constructor.

Definition at line 18 of file StFmsCluster.cxx.

StFmsCluster::~StFmsCluster ( )

Destructor.

Definition at line 23 of file StFmsCluster.cxx.

Member Function Documentation

Int_t StFmsCluster::category ( ) const
inline

Cluster category (see EFmsClusterCategory).

Definition at line 51 of file StFmsCluster.h.

Here is the caller graph for this function:

Float_t StFmsCluster::chi2Ndf1Photon ( ) const
inline

χ2 / ndf for 1-photon fit to the cluster.

Definition at line 67 of file StFmsCluster.h.

Here is the caller graph for this function:

Float_t StFmsCluster::chi2Ndf2Photon ( ) const
inline

χ2 / ndf for 2-photon fit to the cluster.

Definition at line 69 of file StFmsCluster.h.

Here is the caller graph for this function:

UShort_t StFmsCluster::detectorId ( ) const
inline

Return the sub-detector ID number.

ID numbers are defined in the STAR database.

Definition at line 49 of file StFmsCluster.h.

Here is the caller graph for this function:

Float_t StFmsCluster::energy ( ) const
inline

Total cluster energy (sum over all hits in the cluster).

Definition at line 57 of file StFmsCluster.h.

Here is the caller graph for this function:

TLorentzVector StFmsCluster::fourMomentum ( ) const
inline

Cluster four-momentum (px, py, pz E).

Definition at line 73 of file StFmsCluster.h.

StPtrVecFmsHit& StFmsCluster::hits ( )
inline

Hits (energy depositions in towers) forming this cluster.

Definition at line 101 of file StFmsCluster.h.

Here is the caller graph for this function:

const StPtrVecFmsHit& StFmsCluster::hits ( ) const
inline

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 103 of file StFmsCluster.h.

Int_t StFmsCluster::id ( ) const
inline

Cluster ID, unique in an event.

Definition at line 71 of file StFmsCluster.h.

Here is the caller graph for this function:

Int_t StFmsCluster::nPhotons ( ) const
inline

Number of points (photons etc) forming this cluster.

Definition at line 55 of file StFmsCluster.h.

Here is the caller graph for this function:

Int_t StFmsCluster::nTowers ( ) const
inline

Number of towers forming this cluster.

Definition at line 53 of file StFmsCluster.h.

Here is the caller graph for this function:

StPtrVecFmsPoint& StFmsCluster::points ( )
inline

Points (photons etc) forming this cluster.

Definition at line 105 of file StFmsCluster.h.

Here is the caller graph for this function:

const StPtrVecFmsPoint& StFmsCluster::points ( ) const
inline

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 107 of file StFmsCluster.h.

void StFmsCluster::Print ( Option_t *  optionNotUsed = "") const

Print cluster information to LOG_INFO.

Definition at line 26 of file StFmsCluster.cxx.

Here is the call graph for this function:

void StFmsCluster::setCategory ( Int_t  catag)
inline

Set cluster category (see EFmsClusterCategory).

Definition at line 77 of file StFmsCluster.h.

Here is the caller graph for this function:

void StFmsCluster::setChi2Ndf1Photon ( Float_t  chi2ndfph1)
inline

Set chi2 / ndf for 1-photon fit.

Definition at line 93 of file StFmsCluster.h.

void StFmsCluster::setChi2Ndf2Photon ( Float_t  chi2ndfph2)
inline

Set chi2 / ndf for 2-photon fit.

Definition at line 95 of file StFmsCluster.h.

void StFmsCluster::setDetectorId ( UShort_t  detector)
inline

Set sub-detector ID number.

Definition at line 75 of file StFmsCluster.h.

Here is the caller graph for this function:

void StFmsCluster::setEnergy ( Float_t  energy)
inline

Set total cluster energy.

Definition at line 83 of file StFmsCluster.h.

Here is the call graph for this function:

Here is the caller graph for this function:

void StFmsCluster::setFourMomentum ( TLorentzVector  p4)
inline

Set cluster four-momentum (px, py, pz, E).

Definition at line 99 of file StFmsCluster.h.

Here is the caller graph for this function:

void StFmsCluster::setId ( Float_t  cluid)
inline

Set cluster ID.

Definition at line 97 of file StFmsCluster.h.

Here is the caller graph for this function:

Bool_t StFmsCluster::setNPhotons ( Int_t  nPhoton)

Set number of points/photons forming this cluster.

Definition at line 41 of file StFmsCluster.cxx.

Here is the caller graph for this function:

void StFmsCluster::setNTowers ( Int_t  numbTower)
inline

Set number of towers in this cluster.

Definition at line 79 of file StFmsCluster.h.

Here is the caller graph for this function:

void StFmsCluster::setSigmaMax ( Float_t  sigmaMax)
inline

Set maximum 2nd moment.

Definition at line 91 of file StFmsCluster.h.

Here is the call graph for this function:

void StFmsCluster::setSigmaMin ( Float_t  sigmaMax)
inline

Set minimum 2nd moment.

Definition at line 89 of file StFmsCluster.h.

Here is the call graph for this function:

void StFmsCluster::setX ( Float_t  x0)
inline

Set cluster mean x in local grid coordinates.

Definition at line 85 of file StFmsCluster.h.

Here is the caller graph for this function:

void StFmsCluster::setY ( Float_t  y0)
inline

Set cluster mean y in local grid coordinates.

Definition at line 87 of file StFmsCluster.h.

Here is the caller graph for this function:

Float_t StFmsCluster::sigmaMax ( ) const
inline

Maximum 2nd moment (along major axis).

Definition at line 63 of file StFmsCluster.h.

Here is the caller graph for this function:

Float_t StFmsCluster::sigmaMin ( ) const
inline

Minimum 2nd moment.

Definition at line 65 of file StFmsCluster.h.

Here is the caller graph for this function:

Float_t StFmsCluster::x ( ) const
inline

Mean x ("center of gravity") in local grid coordinate (1st moment).

Definition at line 59 of file StFmsCluster.h.

Here is the caller graph for this function:

Float_t StFmsCluster::y ( ) const
inline

Mean y ("center of gravity") in local grid coordinate (1st moment).

Definition at line 61 of file StFmsCluster.h.

Here is the caller graph for this function:

Member Data Documentation

Int_t StFmsCluster::mCategory
protected

Category of cluster (see EFmsClusterCategory)

Definition at line 111 of file StFmsCluster.h.

Float_t StFmsCluster::mChi2Ndf1Photon
protected

χ2 / ndf for 1-photon fit

Definition at line 121 of file StFmsCluster.h.

Float_t StFmsCluster::mChi2Ndf2Photon
protected

χ2 / ndf for 2-photon fit

Definition at line 122 of file StFmsCluster.h.

UShort_t StFmsCluster::mDetectorId
protected

Detector starts from 1.

Definition at line 110 of file StFmsCluster.h.

Float_t StFmsCluster::mEnergy
protected

Total energy contained in this cluster (0th moment)

Definition at line 114 of file StFmsCluster.h.

TLorentzVector StFmsCluster::mFourMomentum
protected

Cluster four momentum.

Definition at line 124 of file StFmsCluster.h.

StPtrVecFmsHit StFmsCluster::mHits
protected

Fitted points (photons) in the cluster.

Definition at line 126 of file StFmsCluster.h.

Int_t StFmsCluster::mId
protected

Eventwise cluster ID.

Definition at line 123 of file StFmsCluster.h.

Int_t StFmsCluster::mNPhotons
protected

Number of photons forming this cluster.

Definition at line 113 of file StFmsCluster.h.

Int_t StFmsCluster::mNTowers
protected

Number of non-zero-energy tower hits in the cluster.

Definition at line 112 of file StFmsCluster.h.

StPtrVecFmsPoint StFmsCluster::mPhotons
protected

Tower hits of the current cluster.

Definition at line 125 of file StFmsCluster.h.

Float_t StFmsCluster::mSigmaMax
protected

Maximum 2nd moment (along major axis)

Definition at line 120 of file StFmsCluster.h.

Float_t StFmsCluster::mSigmaMin
protected

Minimum 2nd moment.

Definition at line 119 of file StFmsCluster.h.

Float_t StFmsCluster::mX
protected

Mean x ("center of gravity") in local grid coordinate (1st moment)

Definition at line 115 of file StFmsCluster.h.

Float_t StFmsCluster::mY
protected

Mean y ("center of gravity") in local grid coordinate (1st moment)

Definition at line 117 of file StFmsCluster.h.


The documentation for this class was generated from the following files: