13 #ifndef STROOT_STFMSPOINTMAKER_STFMSTOWERCLUSTER_H_
14 #define STROOT_STFMSPOINTMAKER_STFMSTOWERCLUSTER_H_
25 namespace FMSCluster {
40 typedef std::list<StFmsTower*>
Towers;
54 void Clear(
const char* optionNotUsed =
"");
109 Double_t
getSigma(Double_t theta)
const;
119 #ifndef __CINT__ // CINT won't parse unique_ptr so hide it
145 #endif // STROOT_STFMSPOINTMAKER_STFMSTOWERCLUSTER_H_
void setIndex(Int_t index)
Float_t mSigmaY
2nd moment in y
Double_t getSigma(Double_t theta) const
std::unique_ptr< StFmsCluster > mCluster
Pointer to StEvent cluster.
const StFmsCluster * cluster() const
Float_t thetaAxis() const
void setChiSquare(Float_t chi2)
static const int kMaxPhotonsPerCluster
Support 2-photon clusters.
float energyCutoff() const
void Clear(const char *optionNotUsed="")
Float_t mEnergyCutoff
Cutoff on towers to use in moment calculations.
void findClusterAxis(Float_t Ecoff)
StFmsFittedPhoton mPhotons[kMaxPhotonsPerCluster]
Photons in cluster.
std::list< StFmsTower * > Towers
Shorthand for tower collection.
StFmsTowerCluster(StFmsCluster *cluster)
StFmsTowerCluster & operator=(const StFmsTowerCluster &)
StFmsFittedPhoton * photons()
Float_t mSigmaXY
2nd moment in x-y
Float_t mSigmaX
2nd moment in x
Declaration of StFmsFittedPhoton, a photon fitted to an FMS cluster.
Int_t mIndex
cluster number in an event, counts from 0
Float_t mChiSquare
Chi-square of the fitting.
const Towers & towers() const
Towers mTowers
Towers that make the cluster.
const StFmsFittedPhoton * photons() const
void calculateClusterMoments(Float_t energyCutoff)
Float_t chiSquare() const