#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) |
cond::persistency::Session & | dbSession () const |
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 30 of file PopConSourceHandler.h.
typedef std::vector<Triplet> popcon::PopConSourceHandler< T >::Container |
Definition at line 43 of file PopConSourceHandler.h.
typedef std::vector<std::pair<T*, cond::Time_t> > popcon::PopConSourceHandler< T >::OldContainer |
Definition at line 45 of file PopConSourceHandler.h.
typedef PopConSourceHandler<T> popcon::PopConSourceHandler< T >::self |
Definition at line 33 of file PopConSourceHandler.h.
typedef cond::Summary popcon::PopConSourceHandler< T >::Summary |
Definition at line 35 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 74 of file PopConSourceHandler.h.
|
inlinevirtual |
Definition at line 76 of file PopConSourceHandler.h.
|
inlineprotected |
Definition at line 146 of file PopConSourceHandler.h.
Referenced by popcon::PopConSourceHandler< CastorPedestals >::convertFromOld(), counter.Counter::register(), SequenceTypes.Task::remove(), and SequenceTypes.Task::replace().
|
inline |
Definition at line 133 of file PopConSourceHandler.h.
Referenced by popcon::PopConSourceHandler< CastorPedestals >::returnData().
|
inlineprotected |
Definition at line 144 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().
|
inline |
Definition at line 129 of file PopConSourceHandler.h.
Referenced by popcon::PopConSourceHandler< CastorPedestals >::convertFromOld().
|
pure virtual |
Implemented in 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::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, RPCDBHandler, 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, EcalCondHandler< Payload, XMLTranslator >, popcon::DQMSummarySourceHandler, popcon::DQMXMLFileSourceHandler, BeamSpotOnlinePopConSourceHandler, popcon::DQMReferenceHistogramRootFileSourceHandler, FillInfoPopConSourceHandler, LHCInfoPopConSourceHandler, RunInfoHandler, RunSummaryHandler, L1TriggerScalerHandler, popcon::PopConESTransitionSourceHandler< T >, popcon::PopConBTransitionSourceHandler< T >, and popcon::SiStripPopConHandlerUnitTest< T >.
Referenced by popcon::PopConSourceHandler< CastorPedestals >::returnData().
|
pure virtual |
Implemented in 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 >, EcalMappingElectronicsHandler, popcon::L1RPCHwConfigSourceHandler, 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, RPCDBHandler, 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, popcon::DQMSummarySourceHandler, popcon::DQMXMLFileSourceHandler, BeamSpotOnlinePopConSourceHandler, popcon::DQMReferenceHistogramRootFileSourceHandler, FillInfoPopConSourceHandler, LHCInfoPopConSourceHandler, RunInfoHandler, RunSummaryHandler, L1TriggerScalerHandler, popcon::PopConESTransitionSourceHandler< T >, popcon::PopConBTransitionSourceHandler< T >, and popcon::SiStripPopConHandlerUnitTest< T >.
|
inline |
Definition at line 87 of file PopConSourceHandler.h.
|
inline |
Definition at line 81 of file PopConSourceHandler.h.
|
inline |
Definition at line 84 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 96 of file PopConSourceHandler.h.
|
inline |
Definition at line 103 of file PopConSourceHandler.h.
Referenced by popcon::PopConSourceHandler< CastorPedestals >::operator()().
|
inline |
Definition at line 120 of file PopConSourceHandler.h.
Referenced by popcon::PopConSourceHandler< CastorPedestals >::returnData().
|
inline |
Definition at line 78 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 111 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()().
|
private |
Definition at line 157 of file PopConSourceHandler.h.
Referenced by popcon::PopConSourceHandler< CastorPedestals >::initialize(), and popcon::PopConSourceHandler< CastorPedestals >::logDBEntry().
|
mutableprivate |
Definition at line 153 of file PopConSourceHandler.h.
Referenced by popcon::PopConSourceHandler< CastorPedestals >::dbSession(), popcon::PopConSourceHandler< CastorPedestals >::initialize(), and popcon::PopConSourceHandler< CastorPedestals >::lastPayload().
|
private |
Definition at line 155 of file PopConSourceHandler.h.
Referenced by popcon::PopConSourceHandler< CastorPedestals >::initialize(), and popcon::PopConSourceHandler< CastorPedestals >::tagInfo().
|
protected |
Definition at line 162 of file PopConSourceHandler.h.
Referenced by popcon::PopConSourceHandler< CastorPedestals >::convertFromOld(), popcon::PopConSourceHandler< CastorPedestals >::returnData(), popcon::SiStripPopConConfigDbObjHandler< T >::setForTransfer(), popcon::SiStripPopConHandlerUnitTest< T >::setForTransfer(), popcon::SiStripPopConHandlerUnitTestGain< T >::setForTransfer(), and popcon::SiStripPopConHandlerUnitTestNoise< T >::setForTransfer().
|
private |
Definition at line 165 of file PopConSourceHandler.h.
Referenced by popcon::PopConSourceHandler< CastorPedestals >::add(), popcon::PopConSourceHandler< CastorPedestals >::returnData(), and popcon::PopConSourceHandler< CastorPedestals >::sort().
|
protected |
Definition at line 168 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().