1 #ifndef __StEEmcClusterMaker_h__
2 #define __StEEmcClusterMaker_h__
5 #include "StEEmcCluster.h"
6 #include "StEEmcSmdCluster.h"
7 #include "StEEmcA2EMaker.h"
9 #include "StEEmcUtil/EEmcGeom/EEmcGeomSimple.h"
10 #include "StEEmcUtil/EEmcSmdMap/EEmcSmdMap.h"
11 #include "StEEmcUtil/StEEmcSmd/EEmcSmdGeom.h"
24 void Clear(Option_t *opts=
"");
27 void analysis (
const Char_t *name );
31 void seedEnergy( Float_t energy, Int_t layer=0 );
59 StEEmcClusterVec_t
clusters( Int_t sec, Int_t layer );
61 StEEmcSmdClusterVec_t
smdclusters( Int_t sec, Int_t plane );
81 std::vector< std::vector< StEEmcTowerVec_t > >
mSeedTowers;
89 std::vector< std::vector< StEEmcSmdClusterVec_t > >
mSmdClusters;
127 std::map< StEmcCluster *, StEEmcCluster >
mEtoEE;
129 std::map< StEmcCluster *, StEEmcSmdCluster >
mEtoEEsmd;
Int_t mSuppress
Supress seeds adjacent to clusters.
virtual void Clear(Option_t *opts="")
Clear clusters for next event.
void analysis(const Char_t *name)
Set the name of the ADC–>E maker.
EEmc ADC –> energy maker.
void setSeedFloor(Float_t f=2.0)
StEEmcClusterMaker(const Char_t *name="mEEclusters")
Int_t numberOfClusters(Int_t sec, Int_t layer) const
Return number of clusters for a given sector, layer.
std::vector< std::vector< StEEmcSmdClusterVec_t > > mSmdClusters
StEEmcCluster & cluster(Int_t sec, Int_t layer, Int_t index)
Return a specific cluster from a given sector, layer.
const EEmcSmdMap * mEEmap
Int_t numberOfSmdClusters(Int_t sec, Int_t plane) const
Return number of smd clusters for a given sector, plane.
const EEmcSmdGeom * mEEsmd
Int_t mNumberOfClusters[6]
Counts clusters for full eemc, 0=T, 1=P, 2=Q, 3=R, 4=U, 5=V.
std::vector< std::vector< StEEmcClusterVec_t > > mTowerClusters
void setMaxExtent(Int_t m)
Maximum distance around seed strip to cluster smd strips.
std::vector< std::vector< StEEmcTowerVec_t > > mSeedTowers
Float_t mSeedFloor
blah...
Bool_t mFillStEvent
Option to fill StEvent.
std::map< StEmcCluster *, StEEmcCluster > mEtoEE
Map StEEmcClusters to StEmcClusters.
TString mAnalysisName
ADC–>E maker name.
StEEmcA2EMaker * mEEanalysis
ADC–>E maker.
virtual Bool_t buildSmdClusters()
Constructs smd clusters.
virtual Bool_t buildTowerClusters()
Constructs tower clusters.
StEEmcCluster cluster(StEmcCluster *cl)
virtual Int_t Init()
Initialize.
StEEmcSmdCluster smdcluster(StEmcCluster *cl)
Float_t mSeedEnergy[6]
Seed energy for 0=T, 1=P, 2=Q, 3=R, 4=U, 5=V.
Int_t mMaxExtent
Maximum distance from SMD seed strips.
A base class for representing clusters of EEMC smd strips.
virtual Int_t Make()
Make clusters for this event.
void suppress()
Suppress cluster splitting.
void print() const
Event summary.
std::map< const StEmcCluster *, StEEmcCluster > mEtoEE
Map StEEmcClusters to StEmcClusters.
Bool_t verifyStEvent() const
A base class for describing clusters of EEMC towers.
std::map< const StEmcCluster *, StEEmcSmdCluster > mEtoEEsmd
... and for smd clusters
void seedEnergy(Float_t energy, Int_t layer=0)
EEmcGeomSimple * mEEtow
Geometry classes.
StEEmcSmdCluster & smdcluster(Int_t sec, Int_t plane, Int_t index)
return a specific cluster from a given sector, plane
StEEmcClusterVec_t & clusters(Int_t sec, Int_t layer)
Return a vector of tower clusters.
void fillStEvent()
Fills StEvent cluster collections if the option is selected.
Int_t mClusterId
Keep track of clusters.
StEEmcSmdClusterVec_t & smdclusters(Int_t sec, Int_t plane)
Return a vector of smd clusters.
A cluster maker for the EEMC.