StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions | Protected Attributes | List of all members
EMC_Reader Class Reference

#include <EMC_Reader.hh>

Public Member Functions

 EMC_Reader (EventReader *er, Bank_EMCP *pEMCP, Bank_TRGP *pTRGP)
 EMC_Reader constructor.
 
Bank_BTOWERADCRgetBTOWERADCR ()
 EMC_Reader destructor.
 
bool isTowerPresent ()
 
int getTowerADC (int, int, int, unsigned short &)
 Get ADC value for one tower with given module, eta and sub.
 
int getTowerADC (int, unsigned short &)
 Get ADC value for one tower with given Daq Id.
 
int NTowerHits ()
 Return number of valid hits on towers.
 
Bank_BSMDADCRgetSMD_ADCR ()
 
bool isSmdPresent ()
 
int getSMD_ADC (int, int, unsigned short &)
 Get SMD ADC for a given index and fiber (RDO) number.
 
int getSMDE_ADC (int, int, unsigned short &)
 Get ADC for SMDE with given module and stip number.
 
int getSMDP_ADC (int, int, int, unsigned short &)
 Get ADC for SMDP with given module, eta and sub.
 
int getSMD_TIMEBIN (int, unsigned int &)
 Get SMD time bin (capacitor number) for a given fiber (RDO)
 
int NSmdHits ()
 Return number of valid hits on SMD.
 

Protected Attributes

EventReaderercpy
 
Bank_EMCPpBankEMCP
 
Bank_BTOWERADCR mTheTowerAdcR
 
Bank_BTOWERADCD mTheTowerAdcD
 
Bank_BTOWERPEDR mTheTowerPedR
 
Bank_BTOWERRMSR mTheTowerRMSR
 
Bank_BSMDADCR mTheSmdAdcR
 
Bank_BSMDADCD mTheSmdAdcD
 
Bank_BSMDPEDR mTheSmdPedR
 
Bank_BSMDRMSR mTheSmdRMSR
 
bool mTowerPresent
 
bool mSmdPresent
 

Detailed Description

Author
Subhasis, Herbert Ward and Alexandre A. P. Suaide

Main EMC reader for towers and SMD.

Definition at line 132 of file EMC_Reader.hh.


The documentation for this class was generated from the following files: