#include <FloatingFeePedestalSvc.h>
Inheritance diagram for FloatingFeePedestalSvc:
Public Types | |
typedef std::map< DayaBay::FeeChannelId, std::list< unsigned int > > | PreAdcArray |
typedef std::map< DayaBay::FeeChannelId, double > | PedestalArray |
SUCCESS | |
NO_INTERFACE | |
VERSMISMATCH | |
LAST_ERROR | |
enum | Status |
Public Member Functions | |
FloatingFeePedestalSvc (const std::string &name, ISvcLocator *svc) | |
~FloatingFeePedestalSvc () | |
virtual StatusCode | initialize () |
virtual StatusCode | finalize () |
virtual StatusCode | queryInterface (const InterfaceID &riid, void **ppvInterface) |
StatusCode | cumulate (const DayaBay::ReadoutHeader *rh) |
double | pedestal (const DayaBay::FeeChannelId &channelId, int gain) const |
virtual unsigned long | addRef () |
virtual unsigned long | release () |
virtual const std::string & | name () const |
virtual const InterfaceID & | type () const |
virtual StatusCode | configure () |
virtual StatusCode | start () |
virtual StatusCode | stop () |
virtual StatusCode | terminate () |
virtual Gaudi::StateMachine::State | FSMState () const |
virtual Gaudi::StateMachine::State | targetFSMState () const |
virtual StatusCode | reinitialize () |
virtual StatusCode | restart () |
virtual StatusCode | sysInitialize () |
virtual StatusCode | sysStart () |
virtual StatusCode | sysStop () |
virtual StatusCode | sysFinalize () |
virtual StatusCode | sysReinitialize () |
virtual StatusCode | sysRestart () |
virtual StatusCode | setProperty (const Property &p) |
virtual StatusCode | setProperty (const std::string &s) |
virtual StatusCode | setProperty (const std::string &n, const std::string &v) |
StatusCode | setProperty (const std::string &name, const TYPE &value) |
virtual StatusCode | getProperty (Property *p) const |
virtual const Property & | getProperty (const std::string &name) const |
virtual StatusCode | getProperty (const std::string &n, std::string &v) const |
virtual const std::vector< Property * > & | getProperties () const |
ISvcLocator * | serviceLocator () const |
IMessageSvc * | msgSvc () |
IMessageSvc * | msgSvc () const |
IMessageSvc * | messageService () |
IMessageSvc * | messageService () const |
StatusCode | setProperties () |
StatusCode | service (const std::string &name, T *&psvc, bool createIf=true) const |
StatusCode | service (const std::string &svcType, const std::string &svcName, T *&psvc) const |
Property * | declareProperty (const std::string &name, T &property, const std::string &doc="none") const |
Property * | declareRemoteProperty (const std::string &name, IProperty *rsvc, const std::string &rname="") const |
IAuditorSvc * | auditorSvc () const |
Static Public Member Functions | |
static const InterfaceID & | interfaceID () |
static const InterfaceID & | interfaceID () |
static const InterfaceID & | interfaceID () |
static const InterfaceID & | interfaceID () |
Public Attributes | |
SUCCESS | |
NO_INTERFACE | |
VERSMISMATCH | |
LAST_ERROR | |
Protected Member Functions | |
int | outputLevel () const |
Protected Attributes | |
IntegerProperty | m_outputLevel |
Gaudi::StateMachine::State | m_state |
Gaudi::StateMachine::State | m_targetState |
IMessageSvc * | m_messageSvc |
Private Member Functions | |
double | updatePedestal (std::list< unsigned int > &PreAdcs, unsigned int newPreAdc) |
Private Attributes | |
double | m_limit |
number of preAdcs used to calculate average | |
double | m_timeCutInSec |
TimeStamp | m_lastTrig |
PreAdcArray | m_finePreAdc |
PreAdcArray | m_crsePreAdc |
PedestalArray | m_finePedes |
PedestalArray | m_crsePedes |
Friends | |
friend class | ServiceManager |
Definition at line 24 of file FloatingFeePedestalSvc.h.
typedef std::map<DayaBay::FeeChannelId, std::list<unsigned int> > FloatingFeePedestalSvc::PreAdcArray |
Definition at line 46 of file FloatingFeePedestalSvc.h.
typedef std::map<DayaBay::FeeChannelId, double > FloatingFeePedestalSvc::PedestalArray |
Definition at line 47 of file FloatingFeePedestalSvc.h.
FloatingFeePedestalSvc::FloatingFeePedestalSvc | ( | const std::string & | name, | |
ISvcLocator * | svc | |||
) |
FloatingFeePedestalSvc::~FloatingFeePedestalSvc | ( | ) |
virtual StatusCode FloatingFeePedestalSvc::initialize | ( | ) | [virtual] |
Reimplemented from Service.
virtual StatusCode FloatingFeePedestalSvc::finalize | ( | ) | [virtual] |
Reimplemented from Service.
virtual StatusCode FloatingFeePedestalSvc::queryInterface | ( | const InterfaceID & | riid, | |
void ** | ppvInterface | |||
) | [virtual] |
Reimplemented from Service.
StatusCode FloatingFeePedestalSvc::cumulate | ( | const DayaBay::ReadoutHeader * | rh | ) | [virtual] |
Implements IFloatingFeePedestalSvc.
double FloatingFeePedestalSvc::pedestal | ( | const DayaBay::FeeChannelId & | channelId, | |
int | gain | |||
) | const [virtual] |
Implements IFloatingFeePedestalSvc.
double FloatingFeePedestalSvc::updatePedestal | ( | std::list< unsigned int > & | PreAdcs, | |
unsigned int | newPreAdc | |||
) | [private] |
static const InterfaceID& IFloatingFeePedestalSvc::interfaceID | ( | ) | [inline, static, inherited] |
Reimplemented from IInterface.
Definition at line 25 of file IFloatingFeePedestalSvc.h.
00025 { 00026 return IID_IFloatingFeePedestalSvc; 00027 }
double FloatingFeePedestalSvc::m_limit [private] |
double FloatingFeePedestalSvc::m_timeCutInSec [private] |
Definition at line 53 of file FloatingFeePedestalSvc.h.
TimeStamp FloatingFeePedestalSvc::m_lastTrig [private] |
Definition at line 54 of file FloatingFeePedestalSvc.h.
Definition at line 56 of file FloatingFeePedestalSvc.h.
Definition at line 57 of file FloatingFeePedestalSvc.h.
Definition at line 59 of file FloatingFeePedestalSvc.h.
Definition at line 60 of file FloatingFeePedestalSvc.h.