StFms  0.0.0
FMS software in the STAR framework
StFmsPoint Class Reference

#include <StFmsPoint.h>

Inheritance diagram for StFmsPoint:
Collaboration diagram for StFmsPoint:

Public Member Functions

 StFmsPoint ()
 
 ~StFmsPoint ()
 
UShort_t detectorId () const
 
Float_t energy () const
 
Float_t x () const
 
Float_t y () const
 
Int_t id () const
 
StFmsClustercluster ()
 
const StFmsClustercluster () const
 
Int_t parentClusterId () const
 
Int_t nParentClusterPhotons () const
 
TLorentzVector fourMomentum () const
 
void setDetectorId (UShort_t detector)
 
void setEnergy (Float_t energy)
 
void setX (Float_t xpos)
 
void setY (Float_t ypos)
 
void setId (Int_t phid)
 
void setCluster (StFmsCluster *cluster)
 
void setParentClusterId (Int_t cluid)
 
void setNParentClusterPhotons (Int_t nclph)
 
void setFourMomentum (const TLorentzVector &p4)
 

Protected Attributes

UShort_t mDetectorId
 Detector starts from 1. More...
 
Float_t mEnergy
 Fitted energy. More...
 
Float_t mX
 Fitted x-position. More...
 
Float_t mY
 Fitted y-position. More...
 
Int_t mId
 Photon ID within event. More...
 
Int_t mParentClusterId
 ID of the parent cluster within event. More...
 
Int_t mNParentClusterPhotons
 Number of photons in the parent cluster. More...
 
StFmsClustermCluster
 Parent cluster of this photon. More...
 
TLorentzVector mFourMomentum
 Photon 4-momentum. More...
 

Detailed Description

Represents a "point" (photon etc) fitted to a cluster of FMS towers.

Definition at line 22 of file StFmsPoint.h.

Constructor & Destructor Documentation

StFmsPoint::StFmsPoint ( )

Constructor.

Definition at line 14 of file StFmsPoint.cxx.

StFmsPoint::~StFmsPoint ( )

Destructor.

Definition at line 17 of file StFmsPoint.cxx.

Member Function Documentation

StFmsCluster* StFmsPoint::cluster ( )
inline

Parent cluster of the photon.

Definition at line 44 of file StFmsPoint.h.

Here is the caller graph for this function:

const StFmsCluster* StFmsPoint::cluster ( ) const
inline

Parent cluster of the photon.

Definition at line 46 of file StFmsPoint.h.

UShort_t StFmsPoint::detectorId ( ) const
inline

Sub-detector in which the point was reconstructed.

ID numbers are defined the STAR database.

Definition at line 34 of file StFmsPoint.h.

Here is the caller graph for this function:

Float_t StFmsPoint::energy ( ) const
inline

Energy of the point in GeV.

Definition at line 36 of file StFmsPoint.h.

Here is the caller graph for this function:

TLorentzVector StFmsPoint::fourMomentum ( ) const
inline

4-momentum of the point (px, py, pz, E).

Definition at line 52 of file StFmsPoint.h.

Here is the caller graph for this function:

Int_t StFmsPoint::id ( ) const
inline

ID of the point in the current event.

Definition at line 42 of file StFmsPoint.h.

Int_t StFmsPoint::nParentClusterPhotons ( ) const
inline

Number of points in the parent cluster.

Definition at line 50 of file StFmsPoint.h.

Int_t StFmsPoint::parentClusterId ( ) const
inline

ID of the parent cluster containing this point.

Definition at line 48 of file StFmsPoint.h.

void StFmsPoint::setCluster ( StFmsCluster cluster)
inline

Set the parent cluster of the photon.

Definition at line 64 of file StFmsPoint.h.

Here is the call graph for this function:

Here is the caller graph for this function:

void StFmsPoint::setDetectorId ( UShort_t  detector)
inline

Set the sub-detector in which the point was reconstructed.

Definition at line 54 of file StFmsPoint.h.

Here is the caller graph for this function:

void StFmsPoint::setEnergy ( Float_t  energy)
inline

Set the energy of the point in GeV.

Definition at line 56 of file StFmsPoint.h.

Here is the call graph for this function:

Here is the caller graph for this function:

void StFmsPoint::setFourMomentum ( const TLorentzVector &  p4)
inline

Set the 4-momentum of the point (px, py, pz, E).

Definition at line 70 of file StFmsPoint.h.

Here is the caller graph for this function:

void StFmsPoint::setId ( Int_t  phid)
inline

Set the ID of the point in the current event.

Definition at line 62 of file StFmsPoint.h.

Here is the caller graph for this function:

void StFmsPoint::setNParentClusterPhotons ( Int_t  nclph)
inline

Set the number of points in the parent cluster.

Definition at line 68 of file StFmsPoint.h.

Here is the caller graph for this function:

void StFmsPoint::setParentClusterId ( Int_t  cluid)
inline

Set the ID of the parent cluster containing this point.

Definition at line 66 of file StFmsPoint.h.

Here is the caller graph for this function:

void StFmsPoint::setX ( Float_t  xpos)
inline

Set the x position in cm at which point intersects the sub-detector.

Definition at line 58 of file StFmsPoint.h.

Here is the caller graph for this function:

void StFmsPoint::setY ( Float_t  ypos)
inline

Set the y position in cm at which point intersects the sub-detector.

Definition at line 60 of file StFmsPoint.h.

Here is the caller graph for this function:

Float_t StFmsPoint::x ( ) const
inline

x position in cm at which point intersects the sub-detector.

Definition at line 38 of file StFmsPoint.h.

Here is the caller graph for this function:

Float_t StFmsPoint::y ( ) const
inline

y position in cm at which point intersects the sub-detector.

Definition at line 40 of file StFmsPoint.h.

Here is the caller graph for this function:

Member Data Documentation

StFmsCluster* StFmsPoint::mCluster
protected

Parent cluster of this photon.

Definition at line 80 of file StFmsPoint.h.

UShort_t StFmsPoint::mDetectorId
protected

Detector starts from 1.

Definition at line 73 of file StFmsPoint.h.

Float_t StFmsPoint::mEnergy
protected

Fitted energy.

Definition at line 74 of file StFmsPoint.h.

TLorentzVector StFmsPoint::mFourMomentum
protected

Photon 4-momentum.

Definition at line 81 of file StFmsPoint.h.

Int_t StFmsPoint::mId
protected

Photon ID within event.

Definition at line 77 of file StFmsPoint.h.

Int_t StFmsPoint::mNParentClusterPhotons
protected

Number of photons in the parent cluster.

Definition at line 79 of file StFmsPoint.h.

Int_t StFmsPoint::mParentClusterId
protected

ID of the parent cluster within event.

Definition at line 78 of file StFmsPoint.h.

Float_t StFmsPoint::mX
protected

Fitted x-position.

Definition at line 75 of file StFmsPoint.h.

Float_t StFmsPoint::mY
protected

Fitted y-position.

Definition at line 76 of file StFmsPoint.h.


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