#include <PopConSourceHandler.h>
Public Types | |
typedef std::map< Time_t, std::shared_ptr< T > > | Container |
typedef std::unique_ptr< T > | Ref |
typedef PopConSourceHandler< T > | self |
typedef cond::Time_t | Time_t |
typedef T | value_type |
Public Member Functions | |
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 () |
cond::TagInfo_t const & | tagInfo () const |
std::string const & | userTextLog () const |
virtual | ~PopConSourceHandler () |
Protected Member Functions | |
cond::persistency::Session & | dbSession () const |
Protected Attributes | |
Container | m_iovs |
std::vector< std::pair< T *, Time_t > > | 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 |
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 30 of file PopConSourceHandler.h.
typedef std::map<Time_t, std::shared_ptr<T> > popcon::PopConSourceHandler< T >::Container |
Definition at line 36 of file PopConSourceHandler.h.
typedef std::unique_ptr<T> popcon::PopConSourceHandler< T >::Ref |
Definition at line 37 of file PopConSourceHandler.h.
typedef PopConSourceHandler<T> popcon::PopConSourceHandler< T >::self |
Definition at line 33 of file PopConSourceHandler.h.
typedef cond::Time_t popcon::PopConSourceHandler< T >::Time_t |
Definition at line 34 of file PopConSourceHandler.h.
typedef T popcon::PopConSourceHandler< T >::value_type |
Definition at line 32 of file PopConSourceHandler.h.
|
inline |
Definition at line 39 of file PopConSourceHandler.h.
|
inlinevirtual |
Definition at line 41 of file PopConSourceHandler.h.
|
inlineprotected |
Definition at line 87 of file PopConSourceHandler.h.
Referenced by popcon::PopConBTransitionSourceHandler< T >::checkBOn(), popcon::PopConESTransitionSourceHandler< T >::checkLowGain(), popcon::PopConBTransitionSourceHandler< T >::getObjectsForBTransition(), popcon::PopConESTransitionSourceHandler< T >::getObjectsForESTransition(), and popcon::PopConSourceHandler< CastorPedestals >::initialize().
|
pure virtual |
Implemented in LHCInfoPerFillPopConSourceHandler, LHCInfoPerLSPopConSourceHandler, popcon::PopConESTransitionSourceHandler< T >, popcon::PopConBTransitionSourceHandler< T >, popcon::EcalChannelStatusHandler, popcon::EcalDCSHandler, DTKeyedConfigHandler, DTUserKeyedConfigHandler, popcon::EcalTPGLutGroupHandler, popcon::EcalTPGSpikeThresholdHandler, popcon::EcalPedestalsHandler, popcon::EcalTPGFineGrainStripEEHandler, popcon::EcalTPGPedestalsHandler, DTHVStatusHandler, popcon::EcalADCToGeVHandler, popcon::EcalLaser_weekly_Handler, popcon::EcalLaserHandler, popcon::EcalTPGOddWeightGroupHandler, popcon::EcalTPGSlidingWindowHandler, popcon::EcalTPGWeightGroupHandler, popcon::EcalIntercalibHandler, popcon::EcalPFRecHitThresholdsHandler, popcon::EcalTPGFineGrainEBGroupHandler, popcon::EcalTPGFineGrainTowerEEHandler, popcon::SiStripPopConHandlerUnitTestGain< T >, popcon::SiStripPopConHandlerUnitTestNoise< T >, popcon::EcalDAQHandler, popcon::EcalTPGBadXTHandler, popcon::EcalTPGLinPed, popcon::EcalTPGPedfromFile, popcon::SiStripPopConHandlerUnitTest< T >, popcon::EcalTPGBadStripHandler, popcon::EcalTPGBadTTHandler, popcon::EcalTPGFineGrainEBIdMapHandler, popcon::EcalTPGLinConstHandler, popcon::EcalTPGLutIdMapHandler, popcon::EcalTPGOddWeightIdMapHandler, popcon::EcalTPGPhysicsConstHandler, popcon::EcalTPGTPModeHandler, popcon::EcalTPGWeightIdMapHandler, DTLVStatusHandler, DTDeadFlagHandler, DTPerformanceHandler, DTRangeT0Handler, DTReadOutMappingHandler, DTStatusFlagHandler, DTT0Handler, DTTPGParametersHandler, popcon::EcalLaser_weekly_Linearization, popcon::EcalLaser_weekly_Linearization_Check, popcon::EcalTPGPhysicsConstfromFile, popcon::EcalPulseShapesHandler, popcon::EcalPulseSymmCovariancesHandler, popcon::EcalSRPHandler, popcon::EcalTPGSpikeThresholdfromFile, popcon::RPCEMapSourceHandler, popcon::SiStripPopConConfigDbObjHandler< T >, EcalMappingElectronicsHandler, popcon::L1RPCHwConfigSourceHandler, SiStripDQMPopConSourceHandler< T >, SiStripDQMPopConSourceHandler< SiStripPedestals >, SiStripDQMPopConSourceHandler< SiStripNoises >, SiStripDQMPopConSourceHandler< SiStripBadStrip >, EcalFloatCondObjectContainerHandler, PixelPopConSourceHandler< T >, PixelPopConSourceHandler< SiPixelCalibConfiguration >, PixelPopConSourceHandler< SiPixelFedCablingMap >, PixelPopConSourceHandler< bool >, PixelPopConSourceHandler< SiPixelDisabledModules >, HcalLutMetadataHandler, popcon::RpcDataFebmap, popcon::RpcDataGasMix, popcon::RpcObGasData, popcon::RPCObPVSSmapData, popcon::RpcDataI, popcon::RpcDataS, popcon::RpcDataT, popcon::RpcDataUXC, popcon::RpcDataV, RPCLBLinkMapHandler, CastorChannelQualityHandler, CastorElectronicsMapHandler, CastorGainsHandler, CastorGainWidthsHandler, CastorPedestalsHandler, CastorPedestalWidthsHandler, CastorQIEDataHandler, CastorRecoParamsHandler, HcalChannelQualityHandler, HcalDcsMapHandler, HcalDcsValuesHandler, HcalElectronicsMapHandler, HcalFlagHFDigiTimeParamsHandler, HcalGainsHandler, HcalGainWidthsHandler, HcalL1TriggerObjectsHandler, HcalLongRecoParamsHandler, HcalLUTCorrsHandler, HcalMCParamsHandler, HcalPedestalsHandler, HcalPedestalWidthsHandler, HcalPFCorrsHandler, HcalQIEDataHandler, HcalQIETypesHandler, HcalRecoParamsHandler, HcalRespCorrsHandler, HcalTimeCorrsHandler, HcalTimingParamsHandler, HcalValidationCorrsHandler, HcalZSThresholdsHandler, popcon::EcalTPGFineGrainStripfromFile, popcon::EcalTPGFineGrainTowerfromFile, CastorSaturationCorrsHandler, HcalFrontEndMapHandler, HcalSiPMCharacteristicsHandler, HcalSiPMParametersHandler, HcalTPChannelParametersHandler, HcalTPParametersHandler, HcalZDCLowGainFractionsHandler, RPCAMCLinkMapHandler, RPCDCCLinkMapHandler, RPCDBPerformanceHandler, LHCInfoPopConSourceHandler, EcalCondHandler< Payload, XMLTranslator >, popcon::DQMSummarySourceHandler, popcon::DQMXMLFileSourceHandler, BeamSpotOnlinePopConSourceHandler, HcalPFCutsHandler, FillInfoPopConSourceHandler, RunInfoHandler, RunSummaryHandler, RPCDBHandler, and L1TriggerScalerHandler.
Referenced by popcon::PopConSourceHandler< CastorPedestals >::returnData().
|
pure virtual |
Implemented in LHCInfoPerLSPopConSourceHandler, LHCInfoPerFillPopConSourceHandler, popcon::SiStripPopConHandlerUnitTest< T >, popcon::SiStripPopConHandlerUnitTestGain< T >, popcon::SiStripPopConHandlerUnitTestNoise< T >, popcon::SiStripPopConConfigDbObjHandler< T >, popcon::EcalChannelStatusHandler, popcon::EcalDCSHandler, popcon::EcalPedestalsHandler, DTKeyedConfigHandler, DTUserKeyedConfigHandler, popcon::EcalLaserHandler, popcon::EcalTPGLutGroupHandler, popcon::EcalTPGSpikeThresholdHandler, popcon::EcalLaser_weekly_Handler, popcon::EcalIntercalibHandler, popcon::EcalTPGFineGrainStripEEHandler, popcon::EcalTPGPedestalsHandler, popcon::EcalADCToGeVHandler, popcon::EcalPFRecHitThresholdsHandler, popcon::EcalTPGFineGrainTowerEEHandler, popcon::EcalTPGOddWeightGroupHandler, popcon::EcalTPGSlidingWindowHandler, popcon::EcalTPGWeightGroupHandler, DTHVStatusHandler, popcon::EcalTPGLinPed, popcon::EcalTPGPedfromFile, popcon::EcalTPGBadStripHandler, popcon::EcalTPGBadTTHandler, popcon::EcalTPGFineGrainEBGroupHandler, popcon::EcalTPGBadXTHandler, popcon::EcalDAQHandler, popcon::EcalLaser_weekly_Linearization, popcon::EcalLaser_weekly_Linearization_Check, popcon::EcalTPGFineGrainEBIdMapHandler, popcon::EcalTPGLinConstHandler, popcon::EcalTPGLutIdMapHandler, popcon::EcalTPGOddWeightIdMapHandler, popcon::EcalTPGPhysicsConstHandler, popcon::EcalTPGTPModeHandler, popcon::EcalTPGWeightIdMapHandler, popcon::EcalTPGSpikeThresholdfromFile, DTLVStatusHandler, popcon::EcalTPGPhysicsConstfromFile, DTDeadFlagHandler, DTPerformanceHandler, DTRangeT0Handler, DTReadOutMappingHandler, DTStatusFlagHandler, DTT0Handler, DTTPGParametersHandler, popcon::EcalPulseShapesHandler, popcon::EcalPulseSymmCovariancesHandler, popcon::EcalSRPHandler, popcon::RPCEMapSourceHandler, PixelPopConSourceHandler< T >, PixelPopConSourceHandler< SiPixelCalibConfiguration >, PixelPopConSourceHandler< SiPixelFedCablingMap >, PixelPopConSourceHandler< bool >, PixelPopConSourceHandler< SiPixelDisabledModules >, popcon::PopConESTransitionSourceHandler< T >, EcalMappingElectronicsHandler, popcon::L1RPCHwConfigSourceHandler, popcon::PopConBTransitionSourceHandler< T >, PixelPopConCalibSourceHandler, SiStripDQMPopConSourceHandler< T >, SiStripDQMPopConSourceHandler< SiStripPedestals >, SiStripDQMPopConSourceHandler< SiStripNoises >, SiStripDQMPopConSourceHandler< SiStripBadStrip >, EcalFloatCondObjectContainerHandler, HcalLutMetadataHandler, popcon::RpcDataFebmap, popcon::RpcDataGasMix, popcon::RpcObGasData, popcon::RPCObPVSSmapData, popcon::RpcDataI, popcon::RpcDataS, popcon::RpcDataT, popcon::RpcDataUXC, popcon::RpcDataV, RPCLBLinkMapHandler, popcon::EcalTPGFineGrainStripfromFile, popcon::EcalTPGFineGrainTowerfromFile, CastorChannelQualityHandler, CastorElectronicsMapHandler, CastorGainsHandler, CastorGainWidthsHandler, CastorPedestalsHandler, CastorPedestalWidthsHandler, CastorQIEDataHandler, CastorRecoParamsHandler, HcalChannelQualityHandler, HcalDcsMapHandler, HcalDcsValuesHandler, HcalElectronicsMapHandler, HcalFlagHFDigiTimeParamsHandler, HcalGainsHandler, HcalGainWidthsHandler, HcalL1TriggerObjectsHandler, HcalLongRecoParamsHandler, HcalLUTCorrsHandler, HcalMCParamsHandler, HcalPedestalsHandler, HcalPedestalWidthsHandler, HcalPFCorrsHandler, HcalQIEDataHandler, HcalQIETypesHandler, HcalRecoParamsHandler, HcalRespCorrsHandler, HcalTimeCorrsHandler, HcalTimingParamsHandler, HcalValidationCorrsHandler, HcalZSThresholdsHandler, EcalCondHandler< Payload, XMLTranslator >, CastorSaturationCorrsHandler, HcalFrontEndMapHandler, HcalSiPMCharacteristicsHandler, HcalSiPMParametersHandler, HcalTPChannelParametersHandler, HcalTPParametersHandler, HcalZDCLowGainFractionsHandler, RPCAMCLinkMapHandler, RPCDBPerformanceHandler, RPCDCCLinkMapHandler, LHCInfoPopConSourceHandler, popcon::DQMSummarySourceHandler, popcon::DQMXMLFileSourceHandler, BeamSpotOnlinePopConSourceHandler, HcalPFCutsHandler, FillInfoPopConSourceHandler, RunInfoHandler, RunSummaryHandler, RPCDBHandler, and L1TriggerScalerHandler.
|
inline |
Definition at line 52 of file PopConSourceHandler.h.
Referenced by popcon::PopConSourceHandler< CastorPedestals >::operator()().
|
inline |
Definition at line 46 of file PopConSourceHandler.h.
|
inline |
Definition at line 49 of file PopConSourceHandler.h.
Referenced by popcon::SiStripPopConConfigDbObjHandler< T >::getNewObjects(), popcon::SiStripPopConHandlerUnitTest< T >::getNewObjects(), popcon::SiStripPopConHandlerUnitTestNoise< T >::getNewObjects(), popcon::SiStripPopConHandlerUnitTestGain< T >::getNewObjects(), popcon::PopConSourceHandler< CastorPedestals >::initialize(), popcon::SiStripPopConConfigDbObjHandler< T >::isTransferNeeded(), popcon::SiStripPopConHandlerUnitTestGain< T >::isTransferNeeded(), popcon::SiStripPopConHandlerUnitTestNoise< T >::isTransferNeeded(), popcon::SiStripPopConHandlerUnitTest< T >::isTransferNeeded(), and popcon::PopConSourceHandler< CastorPedestals >::operator()().
|
inline |
Definition at line 61 of file PopConSourceHandler.h.
|
inline |
Definition at line 68 of file PopConSourceHandler.h.
Referenced by popcon::PopConSourceHandler< CastorPedestals >::operator()().
|
inline |
Definition at line 43 of file PopConSourceHandler.h.
Referenced by popcon::SiStripPopConConfigDbObjHandler< T >::getNewObjects(), popcon::SiStripPopConHandlerUnitTest< T >::getNewObjects(), popcon::SiStripPopConHandlerUnitTestNoise< T >::getNewObjects(), popcon::SiStripPopConHandlerUnitTestGain< T >::getNewObjects(), popcon::PopConBTransitionSourceHandler< T >::getNewObjects(), popcon::PopConESTransitionSourceHandler< T >::getNewObjects(), popcon::PopConBTransitionSourceHandler< T >::getObjectsForBTransition(), popcon::PopConESTransitionSourceHandler< T >::getObjectsForESTransition(), popcon::PopConSourceHandler< CastorPedestals >::initialize(), popcon::SiStripPopConConfigDbObjHandler< T >::isTransferNeeded(), popcon::SiStripPopConHandlerUnitTestNoise< T >::isTransferNeeded(), popcon::SiStripPopConHandlerUnitTest< T >::isTransferNeeded(), popcon::SiStripPopConHandlerUnitTestGain< T >::isTransferNeeded(), popcon::PopConSourceHandler< CastorPedestals >::lastPayload(), popcon::PopConSourceHandler< CastorPedestals >::operator()(), popcon::SiStripPopConConfigDbObjHandler< T >::setForTransfer(), popcon::SiStripPopConHandlerUnitTest< T >::setForTransfer(), popcon::SiStripPopConHandlerUnitTestNoise< T >::setForTransfer(), and popcon::SiStripPopConHandlerUnitTestGain< T >::setForTransfer().
|
inline |
Definition at line 77 of file PopConSourceHandler.h.
Referenced by popcon::SiStripPopConConfigDbObjHandler< T >::getNewObjects(), popcon::SiStripPopConHandlerUnitTest< T >::getNewObjects(), popcon::SiStripPopConHandlerUnitTestGain< T >::getNewObjects(), popcon::SiStripPopConHandlerUnitTestNoise< T >::getNewObjects(), and popcon::PopConSourceHandler< CastorPedestals >::operator()().
|
protected |
Definition at line 101 of file PopConSourceHandler.h.
Referenced by popcon::PopConSourceHandler< CastorPedestals >::returnData().
|
private |
Definition at line 94 of file PopConSourceHandler.h.
Referenced by popcon::PopConSourceHandler< CastorPedestals >::initialize(), and popcon::PopConSourceHandler< CastorPedestals >::logDBEntry().
|
mutableprivate |
Definition at line 90 of file PopConSourceHandler.h.
Referenced by popcon::PopConSourceHandler< CastorPedestals >::dbSession(), popcon::PopConSourceHandler< CastorPedestals >::initialize(), and popcon::PopConSourceHandler< CastorPedestals >::lastPayload().
|
private |
Definition at line 92 of file PopConSourceHandler.h.
Referenced by popcon::PopConSourceHandler< CastorPedestals >::initialize(), and popcon::PopConSourceHandler< CastorPedestals >::tagInfo().
|
protected |
Definition at line 99 of file PopConSourceHandler.h.
Referenced by popcon::PopConSourceHandler< CastorPedestals >::returnData(), popcon::SiStripPopConConfigDbObjHandler< T >::setForTransfer(), popcon::SiStripPopConHandlerUnitTestGain< T >::setForTransfer(), popcon::SiStripPopConHandlerUnitTest< T >::setForTransfer(), and popcon::SiStripPopConHandlerUnitTestNoise< T >::setForTransfer().
|
protected |
Definition at line 103 of file PopConSourceHandler.h.
Referenced by popcon::PopConBTransitionSourceHandler< T >::getObjectsForBTransition(), popcon::PopConESTransitionSourceHandler< T >::getObjectsForESTransition(), popcon::SiStripPopConConfigDbObjHandler< T >::isTransferNeeded(), popcon::SiStripPopConHandlerUnitTest< T >::isTransferNeeded(), popcon::SiStripPopConHandlerUnitTestGain< T >::isTransferNeeded(), popcon::SiStripPopConHandlerUnitTestNoise< T >::isTransferNeeded(), and popcon::PopConSourceHandler< CastorPedestals >::userTextLog().