StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
EemcHitList.h
1 #ifndef EemcHitList_h
2 #define EemcHitList_h
3 #include "StGenericVertexMaker/StiPPVertex/ScintHitList.h"
4 #include "StEEmcUtil/EEfeeRaw/EEdims.h"
5 #include "StEEmcUtil/database/cstructs/eemcConstDB.hh"
6 class StEmcDetector;
7 class StEEmcDb;
8 class EEmcGeomSimple;
9 class St_db_Maker;
10 
11 
12 class EemcHitList : public ScintHitList {
13  private:
14 
15  StEEmcDb* eeDb;
16  EEmcGeomSimple *geomE;
17  int name2bin[MaxSectors][MaxSubSec][MaxEtaBins]; // map --> my bin
18  const Float_t *etaHL; // limits of eta bins
19 
20  //params
21  unsigned int killStatEEmc;
22 
23  public:
24  EemcHitList(StEEmcDb* x=nullptr, unsigned int y=EEMCSTAT_ONLPED|EEMCSTAT_STKBT|EEMCSTAT_HOTHT|EEMCSTAT_HOTJP|EEMCSTAT_JUMPED, EEmcGeomSimple *z=nullptr);
25  virtual ~EemcHitList();
26  void clear();
27  void initRun(St_db_Maker* db_maker);
28  void build( StEmcDetector*det, float adcMin);
29  virtual int etaBin(float eta);
30  virtual float bin2EtaLeft(int iEta);
31 
32 };
33 
34 #endif
EEMC simple geometry.