1 #ifndef _ST_FGT_GENERAL_BASE_MAKER_
2 #define _ST_FGT_GENERAL_BASE_MAKER_
13 #include "StRoot/StFgtDbMaker/StFgtDbMaker.h"
14 #include "StRoot/StFgtDbMaker/StFgtDb.h"
15 #include "StRoot/StFgtUtil/StFgtConsts.h"
31 generalStrip(Int_t mGeo, Int_t mPed, Int_t mPedErr, Int_t mSeedType, Double_t mCharge, Double_t mChargeUncert)
38 chargeUncert=mChargeUncert;
49 Double_t chargeUncert;
56 generalCluster(Int_t csg, Char_t l, Double_t dZ, Double_t pP, Double_t pR, Double_t q, Double_t d, Double_t s, Int_t cs, Int_t cc, Float_t cUncert)
58 centralStripGeoId=csg;
72 seedType=kFgtSeedTypeNo;
73 clusterChargeUncert=cUncert;
79 Int_t centralStripGeoId;
89 Float_t clusterChargeUncert;
104 void fillFromEvent(Bool_t fillFromEv=
true);
109 void setCosmic(Bool_t iC)
113 void useEHTTrig(Bool_t useEHTTrig);
115 void setVertexNumber(Int_t r=0);
116 void doLooseClustering();
123 void setChargeMatchCut(Float_t cut);
125 static float getLocDiscZ(
int iD)
128 return StFgtGeom::getDiscZ(iD);
147 void SetEffDisk(Int_t disk)
153 return fgtCollection;
156 vector<generalCluster>** getClusters()
161 vector<generalStrip>* getStrips()
165 static Bool_t arePointsMatched(vector<generalCluster>::iterator c1, vector<generalCluster>::iterator c2);
166 void SetFileBase(
const Char_t* filebase);
169 Char_t fileBase[300];
179 Bool_t m_fillFromEvent;
185 static const Int_t trigID[3];
187 TH1D* clusWChargeMatch;
188 TH1D* clusWOChargeMatch;
190 TH2D* chargeMaxAdcCorr;
191 TH2D* chargeMaxAdcIntCorr;
197 TH1D** hNumClustersP;
198 TH1D** hNumClustersR;
202 map<Int_t, Int_t> mapGeoId2Cluster;
205 static Float_t chargeMatchCut;
209 vector<generalCluster> clustersD1;
210 vector<generalCluster> clustersD2;
211 vector<generalCluster> clustersD3;
212 vector<generalCluster> clustersD4;
213 vector<generalCluster> clustersD5;
214 vector<generalCluster> clustersD6;
215 vector<generalCluster>** pClusters;
216 vector<generalStrip>* pStrips;
224 inline void StFgtGeneralBase::setChargeMatchCut(Float_t cut)
225 {chargeMatchCut=cut;};
226 inline void StFgtGeneralBase::setVertexNumber(Int_t r)
230 inline void StFgtGeneralBase::useEHTTrig(Bool_t useEHTTrig)
232 mUseEHTTrigs=useEHTTrig;
Int_t fillFromMuDst(StFgtCollection &)