#include <PixelPopConDCSSourceHandler.h>
Public Member Functions | |
virtual void | getNewObjects () |
Get data from DB by calling PixelDCSBase::getData(). More... | |
virtual std::string | id () const |
Name of this source handler. More... | |
PixelPopConDCSSourceHandler (const edm::ParameterSet &) | |
Init PixelDCSBase from cfg file. More... | |
Public Member Functions inherited from popcon::PopConSourceHandler< PixelDCSObject< Type > > | |
void | convertFromOld () |
Summary * | dummySummary (typename OldContainer::value_type const &) const |
void | initialize (cond::DbSession dbSession, cond::TagInfo const &tagInfo, cond::LogDBEntry const &logDBEntry) |
Ref | lastPayload () const |
cond::LogDBEntry const & | logDBEntry () const |
std::pair< Container const *, std::string const > | operator() (cond::DbSession session, cond::TagInfo const &tagInfo, cond::LogDBEntry const &logDBEntry) const |
PopConSourceHandler () | |
Container const & | returnData () |
void | sort () |
cond::TagInfo const & | tagInfo () const |
std::string const & | userTextLog () const |
virtual | ~PopConSourceHandler () |
Private Member Functions | |
virtual void | fillObject (coral::ICursor &) |
Fill object from all rows in DB. More... | |
template<> | |
void | setValue (CaenChannel &value, const coral::AttributeList &row) |
Static Private Member Functions | |
static void | setValue (Type &value, const coral::AttributeList &) |
Specialise this template to assign values to a non-POD object type from a row in DB. More... | |
Additional Inherited Members | |
Public Types inherited from popcon::PopConSourceHandler< PixelDCSObject< Type > > | |
typedef std::vector< Triplet > | Container |
typedef std::vector< std::pair < PixelDCSObject< Type > *, cond::Time_t > > | OldContainer |
typedef PopConSourceHandler < PixelDCSObject< Type > > | self |
typedef cond::Summary | Summary |
typedef cond::Time_t | Time_t |
typedef PixelDCSObject< Type > | value_type |
Protected Member Functions inherited from popcon::PopConSourceHandler< PixelDCSObject< Type > > | |
int | add (value_type *payload, Summary *summary, Time_t time) |
Protected Attributes inherited from popcon::PopConSourceHandler< PixelDCSObject< Type > > | |
OldContainer | m_to_transfer |
std::string | m_userTextLog |
Template class for the source handler of DCS data.
Specify the object type via the template parameter Type.
Definition at line 24 of file PixelPopConDCSSourceHandler.h.
PixelPopConDCSSourceHandler< Type >::PixelPopConDCSSourceHandler | ( | const edm::ParameterSet & | cfg | ) |
Init PixelDCSBase from cfg file.
Definition at line 49 of file PixelPopConDCSSourceHandler.h.
|
privatevirtual |
Fill object from all rows in DB.
Definition at line 87 of file PixelPopConDCSSourceHandler.h.
References data, PixelDCSObject< class >::items, PixelDCSObject< class >::Item::name, reco::JetExtendedAssociation::setValue(), and PixelDCSObject< class >::Item::value.
|
virtual |
Get data from DB by calling PixelDCSBase::getData().
Implements popcon::PopConSourceHandler< PixelDCSObject< Type > >.
Definition at line 106 of file PixelPopConDCSSourceHandler.h.
References AlCaHLTBitMon_QueryRunRegistry::getData().
|
virtual |
Name of this source handler.
Implements popcon::PopConSourceHandler< PixelDCSObject< Type > >.
Definition at line 112 of file PixelPopConDCSSourceHandler.h.
References mergeVDriftHistosByStation::name.
|
inlinestaticprivate |
Specialise this template to assign values to a non-POD object type from a row in DB.
Definition at line 55 of file PixelPopConDCSSourceHandler.h.
References edm::hlt::Exception.
Referenced by Vispa.Views.PropertyView.StringProperty::buttonClicked(), Vispa.Views.PropertyView.FileProperty::buttonClicked(), Vispa.Views.PropertyView.FileVectorProperty::buttonClicked(), Vispa.Views.PropertyView.TextEditWithButtonProperty::keyPressEvent(), and Vispa.Views.PropertyView.TextEditWithButtonProperty::setMultiline().
|
private |
Definition at line 70 of file PixelPopConDCSSourceHandler.h.
References edm::hlt::Exception, CaenChannel::iMon, CaenChannel::isOn, and CaenChannel::vMon.