StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
EMC_SmdReader.hh
1 #ifndef EMC_SMDREADER_HH
2 #define EMC_SMDREADER_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"
15 {
16  public:
17  // move the constructor guts {...} to a .cxx file
20  void Initialize();
21  int ProcessBarrelSmd(const Bank_EMCP*);
22  int FillBarrelSmd(Bank_SMDADCR*,int);
23  Bank_EMCSECP* getBarrelSmdSection(const Bank_EMCP*,int);
24  Bank_EMCRBP* getBarrelSmdFiber(Bank_EMCSECP*,int);
25  Bank_SMDADCR* getSmdADC(Bank_EMCRBP*);
26  void PrintSmdArray();
27 
28  Bank_BSMDADCR& getBSMDADCR();
29 
30  protected:
31  Bank_EMCP* pBankEMCP;
32  EventReader* ercpy;
33  StEmcDecoder* decoder;
34 
35  Bank_BSMDADCR mTheSmdAdcR;
36  Bank_BSMDADCD mTheSmdAdcD;
37  Bank_BSMDPEDR mTheSmdPedR;
38  Bank_BSMDRMSR mTheSmdRMSR;
39 
40  int mNSMD;
41 };
42 #endif
EMC_SmdReader(EventReader *er, Bank_EMCP *pEMCP)
EMC_SmdReader constructor.
~EMC_SmdReader()
EMC_SmdReader destructor.
void Initialize()
Initialization of arrays.