StRoot
1
|
Base class for representing EEMC points. More...
#include <StEEmcPoint.h>
Public Member Functions | |
StEEmcPoint (const StEEmcPoint &p) | |
void | position (const TVector3 &p) |
Set the position of this point at the SMD plane. | |
void | energy (Float_t e, Int_t layer=0) |
Set the energy of this point. | |
void | fraction (Float_t f) |
Set the fraction of the tower energy used. | |
void | tower (const StEEmcTower &t, Float_t w=1.) |
Add a tower with specified weight to the point. | |
void | cluster (const StEEmcSmdCluster &c, Int_t plane) |
Add an smd cluster to this point. | |
void | cluster (const StEEmcCluster &c, Int_t layer) |
Add a tower cluster to this point. | |
StEEmcClusterVec_t & | clusters (Int_t layer) |
Returns tower clusters for the specified layer 0=T, 1=P, 2=Q, 3=R, 4+=crash. | |
const StEEmcClusterVec_t & | clusters (Int_t layer) const |
void | numberOfRelatives (Int_t r) |
Set the number of other points which share tower energy. | |
const TVector3 & | position () const |
Get the position of this point. | |
Float_t | fraction () const |
Get the fraction of tower energy associated with this point. | |
Float_t | energy (Int_t layer=0) const |
Get the energy of this point. | |
Int_t | numberOfTowers () const |
Gets the number of towers. | |
const StEEmcTower & | tower (Int_t t) const |
Gets a specific tower. | |
Float_t | weight (Int_t t) const |
Gets the weight associated with a specific tower. | |
StEEmcSmdCluster & | cluster (Int_t c) |
const StEEmcSmdCluster & | cluster (Int_t c) const |
Int_t | numberOfRelatives () const |
StEmcPoint * | stemc () |
Int_t | sector () const |
Returns the sector. | |
void | sector (Int_t s) |
Sets the sector. | |
Float_t | sigma () const |
Returns the width. | |
void | sigma (Float_t s) |
Sets the width. | |
Float_t | u () const |
Returns mean U position. | |
void | u (Float_t uu) |
Sets mean U position. | |
Float_t | v () const |
Returns mean V position. | |
void | v (Float_t vv) |
Sets mean U position. | |
Float_t | residueU () const |
Get the residual in the U plane. | |
void | residueU (Float_t r) |
Set the residual in the U plane. | |
Float_t | residueV () const |
Get the residual in the V plane. | |
void | residueV (Float_t r) |
Set the residual in the V plane. | |
void | print () const |
print | |
Bool_t | operator< (const StEEmcPoint &other) const |
Point is less than another based on energy. | |
Bool_t | chiSquare (const StEEmcPoint &other) const |
Chi2 sort method. More... | |
Int_t | key () const |
void | key (Int_t k) |
Float_t | asymmetry () const |
Float_t | chisquared () const |
StEEmcPoint (const StEEmcPoint &p) | |
Copy constructor. | |
void | position (TVector3 p) |
Set the position of this point at the SMD plane. | |
void | energy (Float_t e) |
Set the energy of this point. | |
void | fraction (Float_t f) |
Set the fraction of the tower energy used. | |
void | tower (StEEmcTower t, Float_t w=1.) |
Add a tower with specified weight to the point. | |
void | cluster (StEEmcSmdCluster c, Int_t plane) |
Add an smd cluster to this point. | |
void | numberOfRelatives (Int_t r) |
Set the number of other points which share tower energy. | |
TVector3 | position () |
Get the position of this point. | |
Float_t | energy () |
Get the energy of this point. | |
Float_t | fraction () |
Get the fraction of tower energy associated with this point. | |
Float_t | energy () const |
Get the energy of this point. | |
Int_t | numberOfTowers () |
Gets the number of towers. | |
StEEmcTower | tower (Int_t t) |
Gets a specific tower. | |
Float_t | weight (Int_t t) |
Gets the weight associated with a specific tower. | |
StEEmcSmdCluster | cluster (Int_t c) |
Int_t | numberOfRelatives () |
StEmcPoint * | stemc () |
Int_t | sector () |
Returns the sector. | |
void | print () |
Bool_t | operator< (const StEEmcPoint &other) const |
Bool_t | chiSquare (const StEEmcPoint &other) const |
Protected Member Functions | |
ClassDef (StEEmcPoint, 1) | |
Makes class available to root. | |
ClassDef (StEEmcPoint, 1) | |
Protected Attributes | |
TVector3 | mPosition |
Position of the point. More... | |
Float_t | mEnergy [4] |
Energy of the point. | |
Float_t | mFraction |
... | |
Int_t | mSector |
Sector. | |
Float_t | mSigma |
Width. | |
Float_t | mU |
Mean U. | |
Float_t | mV |
Mean V. | |
Float_t | mResidueU |
Residual in U. | |
Float_t | mResidueV |
Residual in V. | |
StEEmcSmdCluster | mSmdClusters [2] |
Smd clusters associated with this point. | |
std::vector< StEEmcClusterVec_t > | mTowerClusters |
Tower clusters in each layer. | |
StEEmcTowerVec_t | mTowers |
std::vector< Float_t > | mWeights |
Vector of weights. | |
Int_t | mRelatives |
Number of points which share tower energy with this point. | |
StEmcPoint * | mEmcPoint |
Pointer to corresponding StEmcPoint (StEvent only) | |
Int_t | mKey |
Base class for representing EEMC points.
A class for representing EEMC points.
Base class representing an EEMC point. Points store the energy and position of gamma and electron candidates, along with additional information provided by the cluster and points makers.
Definition at line 24 of file StEEmcPoint.h.
Bool_t StEEmcPoint::chiSquare | ( | const StEEmcPoint & | other | ) | const |
Chi2 sort method.
determine which of two points has the better "chi^2" between the two smd planes
Definition at line 90 of file StEEmcPoint.cxx.
References mSmdClusters.
|
inline |
Gets the specified cluster.
c,: | 0=U, 1=V |
Definition at line 52 of file StEEmcPoint.h.
References mSmdClusters.
|
inline |
Gets the specified cluster.
c,: | 0=U, 1=V |
Definition at line 73 of file StEEmcPoint.h.
References mSmdClusters.
|
inline |
Return the number of "relative" points. A point is related if it lies within the 3x3 patch of towers centered on this point.
Definition at line 56 of file StEEmcPoint.h.
References mRelatives.
|
inline |
Return the number of "relative" points. A point is related if it lies within the 3x3 patch of towers centered on this point.
Definition at line 78 of file StEEmcPoint.h.
References mRelatives.
StEmcPoint* StEEmcPoint::stemc | ( | ) |
Returns a pointer to a new StEmcPoint, basically a 1:1 copy of this point.
StEmcPoint * StEEmcPoint::stemc | ( | ) |
Returns a pointer to a new StEmcPoint, basically a 1:1 copy of this point.
position error is a kludge, assumption is that we are accurate to within 1/2 of the molliere radius, R_{M}=2.0cm in Pb
endcap clusters are not used to determine point energy. towers + weighting function based on position to get point energy.
Definition at line 63 of file StEEmcPoint.cxx.
References energy(), mEmcPoint, mPosition, mSmdClusters, position(), and stemc().
Referenced by stemc().
|
protected |
Position of the point.
Position and energy of the point.
Definition at line 142 of file StEEmcPoint.h.
Referenced by position(), print(), and stemc().
|
protected |
Towers associated with this point, and associated weights for each tower.
Definition at line 169 of file StEEmcPoint.h.
Referenced by numberOfTowers(), print(), and tower().