StFms
0.0.0
FMS software in the STAR framework
|
#include <StMuFmsCluster.h>
Public Member Functions | |
StMuFmsCluster (int detectorId=0, int category=-1, float energy=0.f, float x=0.f, float y=0.f) | |
StMuFmsCluster (const StFmsCluster &) | |
virtual | ~StMuFmsCluster () |
virtual void | Clear (Option_t *option="") |
UShort_t | detectorId () const |
UShort_t | category () const |
float | energy () const |
float | x () const |
float | y () const |
TRefArray * | hits () |
const TRefArray * | hits () const |
TRefArray * | photons () |
const TRefArray * | photons () const |
void | setDetectorId (UShort_t detector) |
void | setCategory (UShort_t category) |
void | setEnergy (float energy) |
void | setX (float x) |
void | setY (float y) |
Protected Attributes | |
UShort_t | mDetectorId |
Detector ID as defined in database. More... | |
UShort_t | mCategory |
Category of cluster (see EFmsClusterCategory) More... | |
Float_t | mEnergy |
Total energy contained in the cluster. More... | |
Float_t | mX |
Mean x ("center of gravity") More... | |
Float_t | mY |
Mean y ("center of gravity") More... | |
TRefArray | mHits |
StMuFmsHits in the current cluster. More... | |
TRefArray | mPhotons |
StMuFmsPoints in the cluster. More... | |
Private Member Functions | |
StMuFmsCluster (const StMuFmsCluster &) | |
StMuFmsCluster & | operator= (const StMuFmsCluster &) |
Micro-DST FMS cluster class.
Describes a cluster (collection of adjacent towers) in the FMS. May be created by one or more photons. It maintains references to the hits that form the cluster, and to photons that are fitted to it. However it does not own any of those objects - they are owned by the relevant TClonesArrays in the micro-DST.
Definition at line 28 of file StMuFmsCluster.h.
StMuFmsCluster::StMuFmsCluster | ( | int | detectorId = 0 , |
int | category = -1 , |
||
float | energy = 0.f , |
||
float | x = 0.f , |
||
float | y = 0.f |
||
) |
Constructor.
Definition at line 16 of file StMuFmsCluster.cxx.
|
explicit |
Initialise from an equivalent StEvent cluster.
Definition at line 21 of file StMuFmsCluster.cxx.
|
virtual |
Destructor.
Definition at line 25 of file StMuFmsCluster.cxx.
|
private |
Disallow copy construction.
Duplication should only be done via Clone().
|
inline |
Category of the cluster (see EFmsClusterCategory).
Definition at line 42 of file StMuFmsCluster.h.
|
virtual |
Clear hit and photon arrays.
Definition at line 27 of file StMuFmsCluster.cxx.
|
inline |
ID of the sub-detector with which the cluster is associated.
Definition at line 40 of file StMuFmsCluster.h.
|
inline |
Total cluster energy (sum over towers).
Definition at line 44 of file StMuFmsCluster.h.
|
inline |
The collection of hits in the cluster.
Definition at line 50 of file StMuFmsCluster.h.
|
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 52 of file StMuFmsCluster.h.
|
private |
Disallow assignment.
Duplication should only be done via Clone().
|
inline |
Photons in this cluster.
Definition at line 54 of file StMuFmsCluster.h.
|
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 56 of file StMuFmsCluster.h.
|
inline |
Set category of the cluster (see EFmsClusterCategory).
Definition at line 60 of file StMuFmsCluster.h.
|
inline |
Set ID of the sub-detector with which the cluster is associated.
Definition at line 58 of file StMuFmsCluster.h.
|
inline |
Set total cluster energy (sum over towers).
Definition at line 62 of file StMuFmsCluster.h.
|
inline |
Set x "center of gravity" of the cluster.
Definition at line 64 of file StMuFmsCluster.h.
|
inline |
Set y "center of gravity" of the cluster.
Definition at line 66 of file StMuFmsCluster.h.
|
inline |
x "center of gravity" of the cluster.
Definition at line 46 of file StMuFmsCluster.h.
|
inline |
y "center of gravity" of the cluster.
Definition at line 48 of file StMuFmsCluster.h.
|
protected |
Category of cluster (see EFmsClusterCategory)
Definition at line 70 of file StMuFmsCluster.h.
|
protected |
Detector ID as defined in database.
Definition at line 69 of file StMuFmsCluster.h.
|
protected |
Total energy contained in the cluster.
Definition at line 71 of file StMuFmsCluster.h.
|
protected |
StMuFmsHits in the current cluster.
Definition at line 74 of file StMuFmsCluster.h.
|
protected |
StMuFmsPoints in the cluster.
Definition at line 75 of file StMuFmsCluster.h.
|
protected |
Mean x ("center of gravity")
Definition at line 72 of file StMuFmsCluster.h.
|
protected |
Mean y ("center of gravity")
Definition at line 73 of file StMuFmsCluster.h.