1 #ifndef __StEEmcIUPointMaker_h__
2 #define __StEEmcIUPointMaker_h__
6 #include "StEEmcIUCluster.h"
7 #include "StEEmcIUSmdCluster.h"
8 #include "StEEmcIUPoint.h"
33 void Clear(Option_t *opts=
"");
58 StEEmcIUPointVec_t
points();
131 StEEmcIUPointVec_t
buildSmdPoints( Int_t sector, StEEmcIUSmdClusterVec_t &u, StEEmcIUSmdClusterVec_t &v );
134 StEEmcIUSmdClusterVec_t u,
135 StEEmcIUSmdClusterVec_t v,
136 StEEmcIUPointVec_t &p );
147 void removeCluster( StEEmcIUSmdClusterVec_t &clusters, Int_t key );
172 std::map<StEmcPoint *, StEEmcIUPoint>
mEtoEE;
Bool_t findPoints(Int_t sector, StEEmcIUSmdClusterVec_t u, StEEmcIUSmdClusterVec_t v, StEEmcIUPointVec_t &p)
find points in the endcap
Int_t numberOfSmdPoints()
Return the total number of smd points.
EEmc ADC –> energy maker.
std::map< StEEmcIUSmdCluster, StEEmcIUPointVec_t > mVclusters2points
maps smd clusters to points
Float_t energySeen()
Total energy seen by the algorithm.
void shareEnergySimple()
Divide energy of eemc towers between identified smd points (doesn't work as well as smd algo) ...
void Clear(Option_t *opts="")
Clear old points.
StEEmcIUPointVec_t mSmdPoints
SMD only points.
Float_t mEseen
Energy seen by the algorithm.
Bool_t mFillStEvent
Option to fill StEvent.
StEEmcIUPointVec_t points()
Return a unique key assigned by the cluster maker.
EEmcSmdMap * mEEmap
Tower to smd map.
std::map< StEmcPoint *, StEEmcIUPoint > mEtoEE
Map connecting StEEmcIUPoint to StEmcPoint.
StEEmcIUPointVec_t buildSmdPoints(Int_t sector, StEEmcIUSmdClusterVec_t &u, StEEmcIUSmdClusterVec_t &v)
build smd points and associations between smd points and clusters
Class for building points from smd clusters.
void fillStEvent()
Fills the StEmcPoint collection.
StEEmcIUPoint point(StEmcPoint *p)
Int_t numberOfPoints()
Return number of points.
A cluster maker for the EEMC.
void removeCluster(StEEmcIUSmdClusterVec_t &clusters, Int_t key)
Remove a cluster from the list of clusters.
void verifyStEvent()
Checks that StEvent is properly saved.
void analysis(const Char_t *name)
Set adc to energy maker.
StEEmcIUPoint smdPoint(Int_t ip)
Return a specified smd point.
Int_t Make()
Build points for this event.
Int_t mEnergyMode
Option for dividing energy.
Base class for representing tower, preshower and postshower elements.
void shareEnergySmd()
Divide energy of eemc towers between identified smd points in proportion to the smd energy...
StEEmcA2EMaker * mEEanalysis
ADC2E.
StEEmcIUPointMaker(const Char_t *name)
StEEmcIUPoint point(Int_t ipoint)
Return a specified point.
void smdMatch(Float_t s)
Sets an smd matching requirement, Eu>s*Ev&&Ev>2*Eu.
Int_t mLimit
How many iterations for the tower energy sharing mode.
void setEnergyMode(Int_t mode)
void clusters(const Char_t *name)
Set cluster maker.
Base class for representing EEMC points.
EEmcSmdGeom * mEEsmd
Smd geometry.
EEmcGeomSimple * mEEtow
Tower geometry.
ClassDef(StEEmcIUPointMaker, 1)
Makes class available to root.
StEEmcIUPointVec_t smdPoints()
std::map< StEEmcIUSmdCluster, StEEmcIUPointVec_t > mUclusters2points
maps smd clusters to points
StEEmcIUPointVec_t mPoints
All fully reconstructed points.
Float_t fracp2t(StEEmcIUPoint &p, StEEmcTower &t)
void towerThreshold(Float_t t)
void setLimit(Int_t l)
Number of iterations for tower-shape mode.
void shareEnergy()
Divide energy of eemc towers between identified smd points using fit (doesn't work) ...
StEEmcIUClusterMaker * mEEclusters
Clusters.
void countRelatives()
Determine the number of points which share tower energy with another point.