1 #ifndef __StEEmcGenericPointMaker_h__
2 #define __StEEmcGenericPointMaker_h__
48 #include "StEEmcPool/StEEmcA2EMaker/StEEmcA2EMaker.h"
49 #include "StEEmcPool/StEEmcClusterMaker/StEEmcGenericClusterMaker.h"
51 #include "StEEmcPoint.h"
54 #include "StEEmcUtil/EEmcGeom/EEmcGeomSimple.h"
55 #include "StEEmcUtil/StEEmcSmd/EEmcSmdGeom.h"
56 #include "StEEmcUtil/EEmcSmdMap/EEmcSmdMap.h"
69 virtual void Clear(Option_t *opts=
"");
105 StEEmcPointVec_t &
points(
const StEEmcCluster &cluster ) {
return (*(mCluster2points.find(cluster.key()))).second; }
106 const StEEmcPointVec_t &
points(
const StEEmcCluster &cluster )
const {
return (*(mCluster2points.find(cluster.key()))).second; }
114 Int_t nextPointId(){
return mKey++; }
123 StEEmcPointVec_t
buildSmdPoints(Int_t sector,
const StEEmcSmdClusterVec_t &u,
const StEEmcSmdClusterVec_t &v);
124 StEEmcPointVec_t
buildTowerPoints(Int_t sector,
const StEEmcClusterVec_t &c );
125 StEEmcPointVec_t
buildPoints(
const StEEmcClusterVec_t &towerClusters,
const StEEmcSmdClusterVec_t &u,
const StEEmcSmdClusterVec_t &v );
133 TH1F *hNumberOfPoints;
134 TH1F *hEnergyOfPoints;
135 TH2F *hDistributionOfPoints;
140 std::map< Int_t, StEEmcPointVec_t > mCluster2points;
141 std::map< Int_t, StEEmcCluster > mPoint2cluster;
const StEEmcA2EMaker * mEEanalysis
Int_t numberOfSmdPoints() const
Number of smd-only points.
EEmc ADC –> energy maker.
Base class for representing EEMC points.
TH1F * hTotalPointEnergy[6]
StEEmcPointVec_t buildSmdPoints(Int_t sector, const StEEmcSmdClusterVec_t &u, const StEEmcSmdClusterVec_t &v)
const EEmcSmdMap * mEEmap
Int_t numberOfPoints() const
Number of points.
StEEmcPointVec_t buildPoints(const StEEmcClusterVec_t &towerClusters, const StEEmcSmdClusterVec_t &u, const StEEmcSmdClusterVec_t &v)
StEEmcPointVec_t mTowerPoints
StEEmcPointVec_t buildTowerPoints(Int_t sector, const StEEmcClusterVec_t &c)
StEEmcPointVec_t & towerPoints()
Return vector of tower-only points.
StEEmcPointVec_t mSmdPoints
StEEmcPoint & towerPoint(Int_t ipoint)
const StEEmcGenericClusterMaker * mEEclusters
StEEmcPoint & smdPoint(Int_t ipoint)
const EEmcGeomSimple * mEEtow
virtual void Clear(Option_t *opts="")
User defined functions.
StEEmcPointVec_t & points()
Return vector of EEmc points.
StEEmcPointVec_t & smdPoints()
Return vector of smd-only points.
A base class for describing clusters of EEMC towers.
Int_t numberOfTowerPoints() const
Number of tower-only points.
StEEmcPoint & point(Int_t ipoint)
const EEmcSmdGeom * mEEsmd