12 #ifndef STROOT_STEVENT_STFMSCLUSTER_H_
13 #define STROOT_STEVENT_STFMSCLUSTER_H_
15 #include <TLorentzVector.h>
17 #include "St_base/StObject.h"
43 void Print(Option_t* optionNotUsed =
"")
const;
59 Float_t
x()
const {
return mX; }
61 Float_t
y()
const {
return mY; }
71 Int_t
id()
const {
return mId; }
129 #endif // STROOT_STEVENT_STFMSCLUSTER_H_
A cluster created by 2 photons.
UShort_t mDetectorId
Detector starts from 1.
const StPtrVecFmsPoint & points() const
void setChi2Ndf2Photon(Float_t chi2ndfph2)
const StPtrVecFmsHit & hits() const
A cluster created by 1 photon.
Float_t mEnergy
Total energy contained in this cluster (0th moment)
Int_t mNPhotons
Number of photons forming this cluster.
UShort_t detectorId() const
For default/unknown/error value.
StPtrVecFmsHit mHits
Fitted points (photons) in the cluster.
Float_t mChi2Ndf2Photon
χ2 / ndf for 2-photon fit
Int_t mCategory
Category of cluster (see EFmsClusterCategory)
void setChi2Ndf1Photon(Float_t chi2ndfph1)
Float_t mSigmaMin
Minimum 2nd moment.
TLorentzVector mFourMomentum
Cluster four momentum.
Int_t mNTowers
Number of non-zero-energy tower hits in the cluster.
Float_t chi2Ndf2Photon() const
Bool_t setNPhotons(Int_t nPhoton)
StPtrVecFmsPoint & points()
void setDetectorId(UShort_t detector)
void setId(Float_t cluid)
void setEnergy(Float_t energy)
Float_t mChi2Ndf1Photon
χ2 / ndf for 1-photon fit
void Print(Option_t *optionNotUsed="") const
void setNTowers(Int_t numbTower)
Int_t mId
Eventwise cluster ID.
StPtrVecFmsPoint mPhotons
Tower hits of the current cluster.
TLorentzVector fourMomentum() const
Float_t mSigmaMax
Maximum 2nd moment (along major axis)
void setSigmaMin(Float_t sigmaMax)
void setFourMomentum(TLorentzVector p4)
void setCategory(Int_t catag)
Float_t chi2Ndf1Photon() const
Could be 1- or 2-photon, needs to be fitted.
void setSigmaMax(Float_t sigmaMax)