#include <PopConSourceHandler.h>
Classes | |
class | Ref |
struct | Triplet |
Public Types | |
typedef std::vector< Triplet > | Container |
typedef std::vector< std::pair < T *, cond::Time_t > > | OldContainer |
typedef PopConSourceHandler< T > | self |
typedef cond::Summary | Summary |
typedef cond::Time_t | Time_t |
typedef T | value_type |
Public Member Functions | |
void | convertFromOld () |
Summary * | dummySummary (typename OldContainer::value_type const &) const |
virtual void | getNewObjects ()=0 |
virtual std::string | id () const =0 |
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 () |
Protected Member Functions | |
int | add (value_type *payload, Summary *summary, Time_t time) |
Protected Attributes | |
OldContainer | m_to_transfer |
std::string | m_userTextLog |
Private Attributes | |
cond::LogDBEntry const * | m_logDBEntry |
cond::DbSession | m_session |
cond::TagInfo const * | m_tagInfo |
Container | m_triplets |
Online DB source handler, aims at returning the vector of data to be transferred to the online database Subdetector developers inherit over this class with template parameter of payload class; need just to implement the getNewObjects method that loads the calibs, the sourceId methods that return a text identifier of the source, and provide a constructor that accept a ParameterSet
Definition at line 35 of file PopConSourceHandler.h.
typedef std::vector<Triplet> popcon::PopConSourceHandler< T >::Container |
Definition at line 48 of file PopConSourceHandler.h.
typedef std::vector<std::pair<T*, cond::Time_t> > popcon::PopConSourceHandler< T >::OldContainer |
Definition at line 50 of file PopConSourceHandler.h.
typedef PopConSourceHandler<T> popcon::PopConSourceHandler< T >::self |
Definition at line 38 of file PopConSourceHandler.h.
typedef cond::Summary popcon::PopConSourceHandler< T >::Summary |
Definition at line 40 of file PopConSourceHandler.h.
typedef cond::Time_t popcon::PopConSourceHandler< T >::Time_t |
Definition at line 39 of file PopConSourceHandler.h.
typedef T popcon::PopConSourceHandler< T >::value_type |
Definition at line 37 of file PopConSourceHandler.h.
|
inline |
Definition at line 93 of file PopConSourceHandler.h.
|
inlinevirtual |
Definition at line 97 of file PopConSourceHandler.h.
|
inlineprotected |
Definition at line 170 of file PopConSourceHandler.h.
Referenced by popcon::PopConSourceHandler< CastorPedestals >::convertFromOld().
|
inline |
Definition at line 158 of file PopConSourceHandler.h.
Referenced by popcon::PopConSourceHandler< CastorPedestals >::returnData().
|
inline |
Definition at line 154 of file PopConSourceHandler.h.
Referenced by popcon::PopConSourceHandler< CastorPedestals >::convertFromOld().
|
pure virtual |
Implemented in popcon::EcalChannelStatusHandler, popcon::EcalDCSHandler, popcon::EcalADCToGeVHandler, popcon::EcalIntercalibHandler, popcon::EcalPedestalsHandler, popcon::EcalTPGLutGroupHandler, popcon::EcalTPGSpikeThresholdHandler, popcon::EcalTPGFineGrainStripEEHandler, popcon::EcalTPGPedestalsHandler, popcon::EcalTPGSlidingWindowHandler, popcon::EcalTPGWeightGroupHandler, popcon::EcalLaser_weekly_Handler, popcon::EcalLaserHandler, popcon::EcalTPGFineGrainEBGroupHandler, popcon::EcalTPGFineGrainTowerEEHandler, popcon::EcalTPGBadXTHandler, DTHVStatusHandler, popcon::EcalTPGBadStripHandler, popcon::EcalTPGBadTTHandler, popcon::EcalTPGFineGrainEBIdMapHandler, popcon::EcalTPGLinConstHandler, popcon::EcalTPGLutIdMapHandler, popcon::EcalTPGPhysicsConstHandler, popcon::EcalTPGWeightIdMapHandler, DTKeyedConfigHandler, DTUserKeyedConfigHandler, popcon::EcalDAQHandler, popcon::SiStripPopConHandlerUnitTestGain< T >, popcon::SiStripPopConHandlerUnitTestNoise< T >, popcon::EcalLaser_weekly_Linearization, popcon::EcalLaser_weekly_Linearization_Check, popcon::SiStripPopConHandlerUnitTest< T >, DTLVStatusHandler, popcon::RPCEMapSourceHandler, DTDeadFlagHandler, DTMtimeHandler, DTPerformanceHandler, DTRangeT0Handler, DTReadOutMappingHandler, DTStatusFlagHandler, DTT0Handler, DTTPGParametersHandler, DTTtrigHandler, popcon::EcalSRPHandler, popcon::SiStripPopConConfigDbObjHandler< T >, popcon::L1RPCHwConfigSourceHandler, EcalMappingElectronicsHandler, EcalFloatCondObjectContainerHandler, popcon::DQMHistoryPopConHandler< U >, popcon::SiStripPopConDbObjHandler< T, U >, PixelPopConDCSSourceHandler< Type >, HcalLutMetadataHandler, RPCDBHandler, PixelPopConSourceHandler< T >, PixelPopConSourceHandler< SiPixelCalibConfiguration >, PixelPopConSourceHandler< SiPixelFedCablingMap >, PixelPopConSourceHandler< bool >, PixelPopConSourceHandler< SiPixelDisabledModules >, CastorElectronicsMapHandler, popcon::RpcDataFebmap, popcon::RpcDataGasMix, popcon::RpcObGasData, popcon::RPCObPVSSmapData, popcon::RpcDataI, popcon::RpcDataS, popcon::RpcDataT, popcon::RpcDataUXC, popcon::RpcDataV, CastorChannelQualityHandler, CastorGainsHandler, CastorGainWidthsHandler, CastorPedestalsHandler, CastorPedestalWidthsHandler, CastorQIEDataHandler, CastorRecoParamsHandler, HcalChannelQualityHandler, HcalCholeskyMatricesHandler, HcalCovarianceMatricesHandler, HcalDcsMapHandler, HcalDcsValuesHandler, HcalElectronicsMapHandler, HcalFlagHFDigiTimeParamsHandler, HcalGainsHandler, HcalGainWidthsHandler, HcalL1TriggerObjectsHandler, HcalLongRecoParamsHandler, HcalLUTCorrsHandler, HcalMCParamsHandler, HcalPedestalsHandler, HcalPedestalWidthsHandler, HcalPFCorrsHandler, HcalQIEDataHandler, HcalRecoParamsHandler, HcalRespCorrsHandler, HcalTimeCorrsHandler, HcalTimingParamsHandler, HcalValidationCorrsHandler, HcalZSThresholdsHandler, CastorSaturationCorrsHandler, RPCDBPerformanceHandler, popcon::SiStripDetVOffHandler, EcalCondHandler< Payload, XMLTranslator >, CentralityTableHandler, popcon::DQMReferenceHistogramRootFileSourceHandler, popcon::DQMSummarySourceHandler, popcon::DQMXMLFileSourceHandler, FillInfoPopConSourceHandler, RunInfoHandler, RunSummaryHandler, and L1TriggerScalerHandler.
Referenced by popcon::PopConSourceHandler< CastorPedestals >::returnData().
|
pure virtual |
Implemented in popcon::SiStripPopConHandlerUnitTest< T >, popcon::SiStripPopConHandlerUnitTestGain< T >, popcon::SiStripPopConHandlerUnitTestNoise< T >, popcon::DQMHistoryPopConHandler< U >, popcon::SiStripPopConConfigDbObjHandler< T >, popcon::SiStripPopConDbObjHandler< T, U >, popcon::EcalChannelStatusHandler, popcon::EcalDCSHandler, popcon::EcalADCToGeVHandler, popcon::EcalIntercalibHandler, popcon::EcalLaserHandler, popcon::EcalPedestalsHandler, popcon::EcalTPGLutGroupHandler, popcon::EcalTPGSpikeThresholdHandler, popcon::EcalLaser_weekly_Handler, popcon::EcalTPGFineGrainStripEEHandler, popcon::EcalTPGPedestalsHandler, popcon::EcalTPGSlidingWindowHandler, popcon::EcalTPGFineGrainTowerEEHandler, popcon::EcalTPGWeightGroupHandler, popcon::EcalTPGBadStripHandler, popcon::EcalTPGBadTTHandler, popcon::EcalTPGFineGrainEBGroupHandler, popcon::EcalTPGBadXTHandler, popcon::EcalTPGFineGrainEBIdMapHandler, popcon::EcalTPGLinConstHandler, popcon::EcalTPGLutIdMapHandler, popcon::EcalTPGPhysicsConstHandler, popcon::EcalTPGWeightIdMapHandler, DTHVStatusHandler, popcon::EcalLaser_weekly_Linearization, popcon::EcalLaser_weekly_Linearization_Check, DTKeyedConfigHandler, DTUserKeyedConfigHandler, popcon::EcalDAQHandler, DTLVStatusHandler, popcon::RPCEMapSourceHandler, DTDeadFlagHandler, DTMtimeHandler, DTPerformanceHandler, DTRangeT0Handler, DTReadOutMappingHandler, DTStatusFlagHandler, DTT0Handler, DTTPGParametersHandler, DTTtrigHandler, popcon::EcalSRPHandler, PixelPopConSourceHandler< T >, PixelPopConSourceHandler< SiPixelCalibConfiguration >, PixelPopConSourceHandler< SiPixelFedCablingMap >, PixelPopConSourceHandler< bool >, PixelPopConSourceHandler< SiPixelDisabledModules >, popcon::L1RPCHwConfigSourceHandler, EcalMappingElectronicsHandler, EcalFloatCondObjectContainerHandler, PixelPopConCalibSourceHandler, PixelPopConDCSSourceHandler< Type >, HcalLutMetadataHandler, RPCDBHandler, CastorElectronicsMapHandler, popcon::RpcDataFebmap, popcon::RpcDataGasMix, popcon::RpcObGasData, popcon::RPCObPVSSmapData, popcon::RpcDataI, popcon::RpcDataS, popcon::RpcDataT, popcon::RpcDataUXC, popcon::RpcDataV, CastorChannelQualityHandler, CastorGainsHandler, CastorGainWidthsHandler, CastorPedestalsHandler, CastorPedestalWidthsHandler, CastorQIEDataHandler, CastorRecoParamsHandler, HcalChannelQualityHandler, HcalCholeskyMatricesHandler, HcalCovarianceMatricesHandler, HcalDcsMapHandler, HcalDcsValuesHandler, HcalElectronicsMapHandler, HcalFlagHFDigiTimeParamsHandler, HcalGainsHandler, HcalGainWidthsHandler, HcalL1TriggerObjectsHandler, HcalLongRecoParamsHandler, HcalLUTCorrsHandler, HcalMCParamsHandler, HcalPedestalsHandler, HcalPedestalWidthsHandler, HcalPFCorrsHandler, HcalQIEDataHandler, HcalRecoParamsHandler, HcalRespCorrsHandler, HcalTimeCorrsHandler, HcalTimingParamsHandler, HcalValidationCorrsHandler, HcalZSThresholdsHandler, EcalCondHandler< Payload, XMLTranslator >, CastorSaturationCorrsHandler, RPCDBPerformanceHandler, popcon::SiStripDetVOffHandler, CentralityTableHandler, popcon::DQMReferenceHistogramRootFileSourceHandler, popcon::DQMSummarySourceHandler, popcon::DQMXMLFileSourceHandler, FillInfoPopConSourceHandler, RunInfoHandler, RunSummaryHandler, and L1TriggerScalerHandler.
|
inline |
Definition at line 112 of file PopConSourceHandler.h.
Referenced by popcon::PopConSourceHandler< CastorPedestals >::operator()().
|
inline |
Definition at line 104 of file PopConSourceHandler.h.
|
inline |
Definition at line 109 of file PopConSourceHandler.h.
Referenced by popcon::SiStripPopConDbObjHandler< T, U >::getNewObjects(), popcon::SiStripPopConConfigDbObjHandler< T >::getNewObjects(), popcon::SiStripPopConHandlerUnitTest< T >::getNewObjects(), popcon::SiStripPopConHandlerUnitTestGain< T >::getNewObjects(), popcon::SiStripPopConHandlerUnitTestNoise< T >::getNewObjects(), popcon::PopConSourceHandler< CastorPedestals >::initialize(), popcon::SiStripPopConConfigDbObjHandler< T >::isTransferNeeded(), popcon::SiStripPopConDbObjHandler< T, U >::isTransferNeeded(), popcon::SiStripPopConHandlerUnitTestNoise< T >::isTransferNeeded(), popcon::SiStripPopConHandlerUnitTestGain< T >::isTransferNeeded(), and popcon::SiStripPopConHandlerUnitTest< T >::isTransferNeeded().
|
inline |
Definition at line 120 of file PopConSourceHandler.h.
|
inline |
Definition at line 127 of file PopConSourceHandler.h.
Referenced by popcon::PopConSourceHandler< CastorPedestals >::operator()().
|
inline |
Definition at line 143 of file PopConSourceHandler.h.
Referenced by popcon::PopConSourceHandler< CastorPedestals >::returnData().
|
inline |
Definition at line 101 of file PopConSourceHandler.h.
Referenced by popcon::SiStripPopConDbObjHandler< T, U >::getNewObjects(), popcon::SiStripPopConConfigDbObjHandler< T >::getNewObjects(), popcon::SiStripPopConHandlerUnitTest< T >::getNewObjects(), popcon::SiStripPopConHandlerUnitTestGain< T >::getNewObjects(), popcon::SiStripPopConHandlerUnitTestNoise< T >::getNewObjects(), popcon::PopConSourceHandler< CastorPedestals >::initialize(), popcon::SiStripPopConConfigDbObjHandler< T >::isTransferNeeded(), popcon::SiStripPopConDbObjHandler< T, U >::isTransferNeeded(), popcon::SiStripPopConHandlerUnitTestNoise< T >::isTransferNeeded(), popcon::SiStripPopConHandlerUnitTest< T >::isTransferNeeded(), popcon::SiStripPopConHandlerUnitTestGain< T >::isTransferNeeded(), popcon::PopConSourceHandler< CastorPedestals >::lastPayload(), popcon::SiStripPopConConfigDbObjHandler< T >::setForTransfer(), popcon::SiStripPopConDbObjHandler< T, U >::setForTransfer(), popcon::SiStripPopConHandlerUnitTestGain< T >::setForTransfer(), popcon::SiStripPopConHandlerUnitTest< T >::setForTransfer(), and popcon::SiStripPopConHandlerUnitTestNoise< T >::setForTransfer().
|
inline |
Definition at line 134 of file PopConSourceHandler.h.
Referenced by popcon::SiStripPopConDbObjHandler< T, U >::getNewObjects(), popcon::SiStripPopConConfigDbObjHandler< T >::getNewObjects(), popcon::SiStripPopConHandlerUnitTest< T >::getNewObjects(), popcon::SiStripPopConHandlerUnitTestGain< T >::getNewObjects(), popcon::SiStripPopConHandlerUnitTestNoise< T >::getNewObjects(), and popcon::PopConSourceHandler< CastorPedestals >::operator()().
|
private |
Definition at line 182 of file PopConSourceHandler.h.
Referenced by popcon::PopConSourceHandler< CastorPedestals >::initialize(), and popcon::PopConSourceHandler< CastorPedestals >::logDBEntry().
|
mutableprivate |
Definition at line 178 of file PopConSourceHandler.h.
Referenced by popcon::PopConSourceHandler< CastorPedestals >::initialize(), and popcon::PopConSourceHandler< CastorPedestals >::lastPayload().
|
private |
Definition at line 180 of file PopConSourceHandler.h.
Referenced by popcon::PopConSourceHandler< CastorPedestals >::initialize(), and popcon::PopConSourceHandler< CastorPedestals >::tagInfo().
|
protected |
Definition at line 189 of file PopConSourceHandler.h.
Referenced by popcon::PopConSourceHandler< CastorPedestals >::convertFromOld(), popcon::PopConSourceHandler< CastorPedestals >::returnData(), popcon::SiStripPopConConfigDbObjHandler< T >::setForTransfer(), popcon::SiStripPopConDbObjHandler< T, U >::setForTransfer(), popcon::SiStripPopConHandlerUnitTestNoise< T >::setForTransfer(), popcon::SiStripPopConHandlerUnitTest< T >::setForTransfer(), and popcon::SiStripPopConHandlerUnitTestGain< T >::setForTransfer().
|
private |
Definition at line 192 of file PopConSourceHandler.h.
Referenced by popcon::PopConSourceHandler< CastorPedestals >::add(), popcon::PopConSourceHandler< CastorPedestals >::returnData(), and popcon::PopConSourceHandler< CastorPedestals >::sort().
|
protected |
Definition at line 195 of file PopConSourceHandler.h.
Referenced by popcon::SiStripPopConConfigDbObjHandler< T >::isTransferNeeded(), popcon::SiStripPopConDbObjHandler< T, U >::isTransferNeeded(), popcon::SiStripPopConHandlerUnitTestGain< T >::isTransferNeeded(), popcon::SiStripPopConHandlerUnitTest< T >::isTransferNeeded(), popcon::SiStripPopConHandlerUnitTestNoise< T >::isTransferNeeded(), and popcon::PopConSourceHandler< CastorPedestals >::userTextLog().