#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 (const cond::persistency::Session &dbSession, cond::TagInfo_t const &tagInfo, cond::LogDBEntry_t const &logDBEntry) |
Ref | lastPayload () const |
cond::LogDBEntry_t const & | logDBEntry () const |
std::pair< Container const *, std::string const > | operator() (const cond::persistency::Session &session, cond::TagInfo_t const &tagInfo, cond::LogDBEntry_t const &logDBEntry) const |
PopConSourceHandler () | |
Container const & | returnData () |
void | sort () |
cond::TagInfo_t 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_t const * | m_logDBEntry |
cond::persistency::Session | m_session |
cond::TagInfo_t 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 36 of file PopConSourceHandler.h.
typedef std::vector<Triplet> popcon::PopConSourceHandler< T >::Container |
Definition at line 49 of file PopConSourceHandler.h.
typedef std::vector<std::pair<T*, cond::Time_t> > popcon::PopConSourceHandler< T >::OldContainer |
Definition at line 51 of file PopConSourceHandler.h.
typedef PopConSourceHandler<T> popcon::PopConSourceHandler< T >::self |
Definition at line 39 of file PopConSourceHandler.h.
typedef cond::Summary popcon::PopConSourceHandler< T >::Summary |
Definition at line 41 of file PopConSourceHandler.h.
typedef cond::Time_t popcon::PopConSourceHandler< T >::Time_t |
Definition at line 40 of file PopConSourceHandler.h.
typedef T popcon::PopConSourceHandler< T >::value_type |
Definition at line 38 of file PopConSourceHandler.h.
|
inline |
Definition at line 94 of file PopConSourceHandler.h.
|
inlinevirtual |
Definition at line 99 of file PopConSourceHandler.h.
|
inlineprotected |
Definition at line 172 of file PopConSourceHandler.h.
Referenced by popcon::PopConSourceHandler< CastorPedestals >::convertFromOld().
|
inline |
Definition at line 160 of file PopConSourceHandler.h.
Referenced by popcon::PopConSourceHandler< CastorPedestals >::returnData().
|
inline |
Definition at line 156 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, DTKeyedConfigHandler, DTUserKeyedConfigHandler, popcon::EcalTPGBadXTHandler, DTHVStatusHandler, popcon::EcalTPGBadStripHandler, popcon::EcalTPGBadTTHandler, popcon::EcalTPGFineGrainEBIdMapHandler, popcon::EcalTPGLinConstHandler, popcon::EcalTPGLutIdMapHandler, popcon::EcalTPGPhysicsConstHandler, popcon::EcalTPGWeightIdMapHandler, 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, DTKeyedConfigHandler, DTUserKeyedConfigHandler, popcon::EcalTPGFineGrainEBIdMapHandler, popcon::EcalTPGLinConstHandler, popcon::EcalTPGLutIdMapHandler, popcon::EcalTPGPhysicsConstHandler, popcon::EcalTPGWeightIdMapHandler, DTHVStatusHandler, popcon::EcalLaser_weekly_Linearization, popcon::EcalLaser_weekly_Linearization_Check, 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 114 of file PopConSourceHandler.h.
Referenced by popcon::PopConSourceHandler< CastorPedestals >::operator()().
|
inline |
Definition at line 106 of file PopConSourceHandler.h.
|
inline |
Definition at line 111 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 122 of file PopConSourceHandler.h.
|
inline |
Definition at line 129 of file PopConSourceHandler.h.
Referenced by popcon::PopConSourceHandler< CastorPedestals >::operator()().
|
inline |
Definition at line 145 of file PopConSourceHandler.h.
Referenced by popcon::PopConSourceHandler< CastorPedestals >::returnData().
|
inline |
Definition at line 103 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 136 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 184 of file PopConSourceHandler.h.
Referenced by popcon::PopConSourceHandler< CastorPedestals >::initialize(), and popcon::PopConSourceHandler< CastorPedestals >::logDBEntry().
|
mutableprivate |
Definition at line 180 of file PopConSourceHandler.h.
Referenced by popcon::PopConSourceHandler< CastorPedestals >::initialize(), and popcon::PopConSourceHandler< CastorPedestals >::lastPayload().
|
private |
Definition at line 182 of file PopConSourceHandler.h.
Referenced by popcon::PopConSourceHandler< CastorPedestals >::initialize(), and popcon::PopConSourceHandler< CastorPedestals >::tagInfo().
|
protected |
Definition at line 191 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 194 of file PopConSourceHandler.h.
Referenced by popcon::PopConSourceHandler< CastorPedestals >::add(), popcon::PopConSourceHandler< CastorPedestals >::returnData(), and popcon::PopConSourceHandler< CastorPedestals >::sort().
|
protected |
Definition at line 197 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().