StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
EMC_BarrelReader.hh
1 #ifndef EMC_BARRELREADER_HH
2 #define EMC_BARRELREADER_HH
3 #include "StDaqLib/GENERIC/EventReader.hh"
4 #include "StDaqLib/GENERIC/RecHeaderFormats.hh"
5 #include "StDaqLib/GENERIC/swaps.hh"
6 #include "EMC_Reader.hh"
7 #include "StEmcDecoder.h"
8 
9 #include "StDaqLib/TRG/trgStructures2008.h"
10 
11 namespace OLDEVP {
12 
19 {
20 
21  public:
23  void Initialize();
24  int ProcessBarrelTower(const Bank_EMCP*, const Bank_TRGP*);
25  Bank_EMCSECP* getBarrelSection(const Bank_EMCP*,int);
26  Bank_EMCRBP* getBarrelTowerFiber(Bank_EMCSECP*,int);
27  Bank_TOWERADCR* getBarrelADC(Bank_EMCRBP*);
28  int FillBarrelTower(Bank_TOWERADCR*);
29  void PrintTowerArray();
30  Bank_BTOWERADCR& getBTOWERADCR();
32 
33 
34  protected:
35  Bank_EMCP* pBankEMCP;
36  EventReader* ercpy;
37  StEmcDecoder* decoder;
38 
39  Bank_BTOWERADCR mTheTowerAdcR;
40  Bank_BTOWERADCD mTheTowerAdcD;
41  Bank_BTOWERPEDR mTheTowerPedR;
42  Bank_BTOWERRMSR mTheTowerRMSR;
43 };
44 }
45 #endif
~EMC_BarrelReader()
EMC_BarrelReader destructor.
EMC_BarrelReader(EventReader *er, Bank_EMCP *pEMCP)
EMC_BarrelReader constructor.
void Initialize()
Initialization of arrays.