1 #ifndef __StEEmcPointMaker_h__
2 #define __StEEmcPointMaker_h__
6 #include "StEEmcCluster.h"
7 #include "StEEmcSmdCluster.h"
8 #include "StEEmcPoint.h"
10 #include "StEEmcPointUtils.h"
31 void Clear(Option_t *opts=
"");
94 StEEmcPointVec_t
buildSmdPoints( Int_t sector, StEEmcSmdClusterVec_t &u, StEEmcSmdClusterVec_t &v );
97 StEEmcSmdClusterVec_t u,
98 StEEmcSmdClusterVec_t v,
99 StEEmcPointVec_t &p );
123 std::map<StEmcPoint *, StEEmcPoint>
mEtoEE;
StEEmcA2EMaker * mEEanalysis
ADC2E.
void shareEnergySmd()
Divide energy of eemc towers between identified smd points in proportion to the smd energy...
EEmc ADC –> energy maker.
Base class for representing EEMC points.
StEEmcPoint point(StEmcPoint *p)
Float_t mEseen
Energy seen by the algorithm.
StEEmcPointVec_t mPoints
All fully reconstructed points.
Bool_t mFillStEvent
Option to fill StEvent.
Float_t energySeen()
Total energy seen by the algorithm.
void setLimit(Int_t l)
Number of iterations for tower-shape mode.
void shareEnergySimple()
Divide energy of eemc towers between identified smd points (doesn't work as well as smd algo) ...
void verifyStEvent()
Checks that StEvent is properly saved.
StEEmcPoint point(Int_t ipoint)
Return a specified point.
EEmcSmdMap * mEEmap
Tower to smd map.
StEEmcPointVec_t points()
Return vector of all points found in endcap.
void analysis(const Char_t *name)
Set adc to energy maker.
void shareEnergy()
Divide energy of eemc towers between identified smd points using fit (doesn't work) ...
Class for building points from smd clusters.
StEEmcPointMaker(const Char_t *name)
std::map< StEEmcSmdCluster, StEEmcPointVec_t > mUclusters2points
maps smd clusters to points
void setEnergyMode(Int_t mode)
ClassDef(StEEmcPointMaker, 1)
Makes class available to root.
std::map< StEmcPoint *, StEEmcPoint > mEtoEE
Map connecting StEEmcPoint to StEmcPoint.
Int_t numberOfPoints()
Return number of points.
Base class for representing tower, preshower and postshower elements.
StEEmcPointVec_t buildSmdPoints(Int_t sector, StEEmcSmdClusterVec_t &u, StEEmcSmdClusterVec_t &v)
build smd points and associations between smd points and clusters
Bool_t findPoints(Int_t sector, StEEmcSmdClusterVec_t u, StEEmcSmdClusterVec_t v, StEEmcPointVec_t &p)
find points in the endcap
StEEmcPointVec_t mSmdPoints
SMD only points.
void countRelatives()
Determine the number of points which share tower energy with another point.
void clusters(const Char_t *name)
Set cluster maker.
void removeCluster(StEEmcSmdClusterVec_t &clusters, Int_t key)
Remove a cluster from the list of clusters.
EEmcGeomSimple * mEEtow
Tower geometry.
void towerThreshold(Float_t t)
std::map< StEEmcSmdCluster, StEEmcPointVec_t > mVclusters2points
maps smd clusters to points
void Clear(Option_t *opts="")
Clear old points.
EEmcSmdGeom * mEEsmd
Smd geometry.
Int_t mLimit
How many iterations for the tower energy sharing mode.
Float_t fracp2t(StEEmcPoint &p, StEEmcTower &t)
void fillStEvent()
Fills the StEmcPoint collection.
StEEmcClusterMaker * mEEclusters
Clusters.
Int_t Make()
Build points for this event.
Int_t mEnergyMode
Option for dividing energy.
A cluster maker for the EEMC.