1 #ifndef __StEEmcClusterMaker_h__
2 #define __StEEmcClusterMaker_h__
5 #include "StEEmcCluster.h"
6 #include "StEEmcSmdCluster.h"
7 #include "StEEmcPool/StEEmcA2EMaker/StEEmcA2EMaker.h"
9 #include "StEEmcUtil/EEmcGeom/EEmcGeomSimple.h"
10 #include "StEEmcUtil/EEmcSmdMap/EEmcSmdMap.h"
11 #include "StEEmcUtil/StEEmcSmd/EEmcSmdGeom.h"
28 virtual void Clear(Option_t *opts=
"");
153 std::map<const StEmcCluster *, StEEmcCluster >
mEtoEE;
154 std::map<const StEmcCluster *, StEEmcSmdCluster >
mEtoEEsmd;
const StEEmcA2EMaker * mEEanalysis
ADC–>E maker.
void setMinStrips(Int_t m)
Minimum number of strips to form a cluster.
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
Int_t mMinStrips
Minimum number of smd strips to form seed.
StEEmcCluster & cluster(Int_t sec, Int_t layer, Int_t index)
Return a specific cluster from a given sector, layer.
const EEmcSmdMap * mEEmap
void loose(Bool_t l=true)
Loose cuts (see code)
StEEmcCluster & cluster(const StEmcCluster *cl)
Given a StEmcCluster, return the StEEmcCluster where it came from.
const EEmcGeomSimple * mEEtow
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
StEEmcSmdCluster & smdcluster(const StEmcCluster *cl)
Given a StEmcCluster, return the StEEmcSmdCluster where it came from.
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.
Bool_t mLoose
Loose cuts option.
TString mAnalysisName
ADC–>E maker name.
virtual Bool_t buildSmdClusters()
Constructs smd clusters.
virtual Bool_t buildTowerClusters()
Constructs tower clusters.
Bool_t mSkip
Skip strips if failbit set.
void skip(Bool_t s=true)
Skips over strips with "fail" bits set, if true.
virtual Int_t Init()
Initialize.
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 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)
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.