BOSS 7.0.9
BESIII Offline Software System
|
#include <EmcRawDataProvider.h>
Public Types | |
enum | EmcDataMode { DropLow = BIT(0) , DropFull = BIT(1) , DropHot = BIT(2) , DropDead = BIT(3) , CutTime = BIT(4) , DoCalib = BIT(5) , DoOther = BIT(6) , Redo = BIT(7) } |
Public Member Functions | |
EmcRawDataProvider () | |
EmcRawDataProvider (const char *name, uint32_t adclow=0, uint32_t tlow=0, uint32_t thigh=60) | |
EmcRawDataProvider (const char *name, std::vector< uint32_t > &hot, std::vector< uint32_t > &dead, uint32_t elow=0, uint32_t tlow=0, uint32_t thigh=60) | |
virtual | ~EmcRawDataProvider () |
void | handle (const Incident &) |
virtual StatusCode | initialize (bool mode=0, ISvcLocator *svcLoc=0, IMessageSvc *pMsg=0) |
EmcDigiCol & | getEmcDigiVec (uint32_t control) |
bool | isGoodEmcDigi (uint32_t control, uint32_t id, uint32_t measure, uint32_t adc, uint32_t tdc) |
bool | isGoodEmcDigi (uint32_t control, EmcDigi *emcDigi) |
void | doCalib (Identifier &id, uint32_t &measure, uint32_t &adc) |
void | doCalib (EmcDigi *emcDigi) |
void | setELowThreshold (const uint32_t low) |
void | setTLowThreshold (const uint32_t low) |
void | setTHighThreshold (const uint32_t high) |
void | setHotCrystals (const std::vector< uint32_t > &idVec) |
void | addHotCrystal (const uint32_t id) |
void | setDeadCrystals (const std::vector< uint32_t > &idVec) |
void | addDeadCrystal (const uint32_t id) |
bool | removeHotCrystal (const uint32_t id) |
bool | removeDeadCrystal (const uint32_t id) |
uint32_t | getAdcLowThreshold () |
uint32_t | getTdcLowThreshold () |
uint32_t | getTdcHighThreshold () |
std::vector< uint32_t > & | getHotCrystals () |
std::vector< uint32_t > & | getDeadCrystals () |
Public Member Functions inherited from RawDataProviderBase | |
RawDataProviderBase (const char *name) | |
virtual | ~RawDataProviderBase () |
StatusCode | initialize (ISvcLocator *svcLoc=0, IMessageSvc *pMsg=0) |
void | setSvcLocator (ISvcLocator *svcLoc) |
void | setMsgSvc (IMessageSvc *svc) |
void | setMsgName (const char *name) |
Additional Inherited Members | |
Protected Member Functions inherited from RawDataProviderBase | |
RawDataProviderBase () | |
Protected Attributes inherited from RawDataProviderBase | |
ISvcLocator * | m_svcLocator |
IMessageSvc * | m_msgSvc |
std::string | m_name |
Definition at line 17 of file EmcRawDataProvider.h.
Enumerator | |
---|---|
DropLow | |
DropFull | |
DropHot | |
DropDead | |
CutTime | |
DoCalib | |
DoOther | |
Redo |
Definition at line 30 of file EmcRawDataProvider.h.
EmcRawDataProvider::EmcRawDataProvider | ( | ) |
Definition at line 18 of file EmcRawDataProvider.cxx.
EmcRawDataProvider::EmcRawDataProvider | ( | const char * | name, |
uint32_t | adclow = 0 , |
||
uint32_t | tlow = 0 , |
||
uint32_t | thigh = 60 |
||
) |
Definition at line 26 of file EmcRawDataProvider.cxx.
EmcRawDataProvider::EmcRawDataProvider | ( | const char * | name, |
std::vector< uint32_t > & | hot, | ||
std::vector< uint32_t > & | dead, | ||
uint32_t | elow = 0 , |
||
uint32_t | tlow = 0 , |
||
uint32_t | thigh = 60 |
||
) |
Definition at line 34 of file EmcRawDataProvider.cxx.
|
inlinevirtual |
Definition at line 23 of file EmcRawDataProvider.h.
void EmcRawDataProvider::addDeadCrystal | ( | const uint32_t | id | ) |
Definition at line 220 of file EmcRawDataProvider.cxx.
void EmcRawDataProvider::addHotCrystal | ( | const uint32_t | id | ) |
Definition at line 210 of file EmcRawDataProvider.cxx.
void EmcRawDataProvider::doCalib | ( | EmcDigi * | emcDigi | ) |
Definition at line 131 of file EmcRawDataProvider.cxx.
void EmcRawDataProvider::doCalib | ( | Identifier & | id, |
uint32_t & | measure, | ||
uint32_t & | adc | ||
) |
Definition at line 118 of file EmcRawDataProvider.cxx.
Referenced by EmcConverter::convert(), doCalib(), and getEmcDigiVec().
|
inline |
Definition at line 62 of file EmcRawDataProvider.h.
|
inline |
Definition at line 66 of file EmcRawDataProvider.h.
EmcDigiCol & EmcRawDataProvider::getEmcDigiVec | ( | uint32_t | control | ) |
Definition at line 140 of file EmcRawDataProvider.cxx.
Referenced by RawDataProviderSvc::getEmcDigiVec().
|
inline |
Definition at line 65 of file EmcRawDataProvider.h.
|
inline |
Definition at line 64 of file EmcRawDataProvider.h.
|
inline |
Definition at line 63 of file EmcRawDataProvider.h.
void EmcRawDataProvider::handle | ( | const Incident & | inc | ) |
Definition at line 43 of file EmcRawDataProvider.cxx.
Referenced by RawDataProviderSvc::handle().
|
virtual |
Definition at line 53 of file EmcRawDataProvider.cxx.
Referenced by RawDataProviderSvc::initialize().
Definition at line 110 of file EmcRawDataProvider.cxx.
bool EmcRawDataProvider::isGoodEmcDigi | ( | uint32_t | control, |
uint32_t | id, | ||
uint32_t | measure, | ||
uint32_t | adc, | ||
uint32_t | tdc | ||
) |
Definition at line 84 of file EmcRawDataProvider.cxx.
Referenced by EmcConverter::convert(), getEmcDigiVec(), and isGoodEmcDigi().
bool EmcRawDataProvider::removeDeadCrystal | ( | const uint32_t | id | ) |
Definition at line 197 of file EmcRawDataProvider.cxx.
bool EmcRawDataProvider::removeHotCrystal | ( | const uint32_t | id | ) |
Definition at line 184 of file EmcRawDataProvider.cxx.
|
inline |
Definition at line 56 of file EmcRawDataProvider.h.
|
inline |
Definition at line 51 of file EmcRawDataProvider.h.
Referenced by RawDataProviderSvc::initialize().
|
inline |
Definition at line 54 of file EmcRawDataProvider.h.
Referenced by RawDataProviderSvc::initialize().
|
inline |
Definition at line 53 of file EmcRawDataProvider.h.
Referenced by RawDataProviderSvc::initialize().
|
inline |
Definition at line 52 of file EmcRawDataProvider.h.
Referenced by RawDataProviderSvc::initialize().