CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes
cond::Iov_t Struct Reference

#include <Types.h>

Public Member Functions

virtual void clear ()
 
 Iov_t ()
 
bool isValid () const
 
bool isValidFor (Time_t target) const
 
virtual ~Iov_t ()=default
 

Public Attributes

Hash payloadId
 
Time_t since
 
Time_t till
 

Detailed Description

Definition at line 47 of file Types.h.

Constructor & Destructor Documentation

◆ Iov_t()

cond::Iov_t::Iov_t ( )
inline

Definition at line 48 of file Types.h.

Time_t since
Definition: Types.h:53
const Time_t MIN_VAL(0)
Hash payloadId
Definition: Types.h:55
const Time_t MAX_VAL(std::numeric_limits< Time_t >::max())
Time_t till
Definition: Types.h:54

◆ ~Iov_t()

virtual cond::Iov_t::~Iov_t ( )
virtualdefault

Member Function Documentation

◆ clear()

void cond::Iov_t::clear ( void  )
virtual

Definition at line 10 of file Types.cc.

References cond::time::MAX_VAL(), cond::time::MIN_VAL(), payloadId, since, and till.

10  {
13  payloadId.clear();
14  }
Time_t since
Definition: Types.h:53
const Time_t MIN_VAL(0)
Hash payloadId
Definition: Types.h:55
const Time_t MAX_VAL(std::numeric_limits< Time_t >::max())
Time_t till
Definition: Types.h:54

◆ isValid()

bool cond::Iov_t::isValid ( void  ) const

Definition at line 16 of file Types.cc.

References cond::time::MAX_VAL(), cond::time::MIN_VAL(), payloadId, since, and till.

Referenced by ntupleDataFormat._Object::_checkIsValid(), cond::persistency::BasePayloadProxy::isValid(), and core.AutoHandle.AutoHandle::ReallyLoad().

16 { return since != time::MAX_VAL && till != time::MIN_VAL && !payloadId.empty(); }
Time_t since
Definition: Types.h:53
const Time_t MIN_VAL(0)
Hash payloadId
Definition: Types.h:55
const Time_t MAX_VAL(std::numeric_limits< Time_t >::max())
Time_t till
Definition: Types.h:54

◆ isValidFor()

bool cond::Iov_t::isValidFor ( Time_t  target) const

Definition at line 18 of file Types.cc.

References since, filterCSVwithJSON::target, and till.

18 { return target >= since && target <= till; }
Time_t since
Definition: Types.h:53
Time_t till
Definition: Types.h:54

Member Data Documentation

◆ payloadId

Hash cond::Iov_t::payloadId

Definition at line 55 of file Types.h.

Referenced by SiStripDetVOffHandler::analyze(), SiStripPayloadHandler< SiStripPayload >::analyze(), BOOST_PYTHON_MODULE(), popcon::PopConBTransitionSourceHandler< T >::checkBOn(), popcon::PopConESTransitionSourceHandler< T >::checkLowGain(), clear(), cond::persistency::IOVProxy::getInterval(), L1TriggerScalerHandler::getNewObjects(), LHCInfoPerFillPopConSourceHandler::getNewObjects(), RunInfoHandler::getNewObjects(), RunSummaryHandler::getNewObjects(), FillInfoPopConSourceHandler::getNewObjects(), popcon::DQMSummarySourceHandler::getNewObjects(), popcon::DQMXMLFileSourceHandler::getNewObjects(), LHCInfoPopConSourceHandler::getNewObjects(), popcon::SiStripPopConConfigDbObjHandler< T >::getNewObjects(), popcon::SiStripPopConHandlerUnitTest< T >::getNewObjects(), popcon::SiStripPopConHandlerUnitTestGain< T >::getNewObjects(), popcon::SiStripPopConHandlerUnitTestNoise< T >::getNewObjects(), popcon::PopConBTransitionSourceHandler< T >::getNewObjects(), popcon::PopConESTransitionSourceHandler< T >::getNewObjects(), popcon::PopConBTransitionSourceHandler< T >::getObjectsForBTransition(), popcon::PopConESTransitionSourceHandler< T >::getObjectsForESTransition(), isValid(), popcon::PopConSourceHandler< CastorPedestals >::lastPayload(), cond::persistency::PayloadProxy< std::vector< cond::Time_t > >::loadPayload(), cond::persistency::PayloadProxy< std::vector< cond::Time_t > >::make(), cond::persistency::IOVArray::Iterator::operator*(), LHCInfoPerLSPopConSourceHandler::populateIovs(), and AlCaRecoTriggerBitsRcdUpdate::writeBitsToDB().

◆ since

Time_t cond::Iov_t::since

Definition at line 53 of file Types.h.

Referenced by SiStripDetVOffHandler::analyze(), BOOST_PYTHON_MODULE(), popcon::PopConBTransitionSourceHandler< T >::checkBOn(), popcon::PopConESTransitionSourceHandler< T >::checkLowGain(), clear(), cond::persistency::IOVProxy::getInterval(), L1TriggerScalerHandler::getNewObjects(), LHCInfoPerFillPopConSourceHandler::getNewObjects(), RunInfoHandler::getNewObjects(), RunSummaryHandler::getNewObjects(), RPCDBHandler::getNewObjects(), FillInfoPopConSourceHandler::getNewObjects(), BeamSpotOnlinePopConSourceHandler::getNewObjects(), HcalPFCutsHandler::getNewObjects(), popcon::DQMXMLFileSourceHandler::getNewObjects(), popcon::DQMSummarySourceHandler::getNewObjects(), LHCInfoPopConSourceHandler::getNewObjects(), RPCDBPerformanceHandler::getNewObjects(), HcalTPParametersHandler::getNewObjects(), HcalTPChannelParametersHandler::getNewObjects(), HcalZDCLowGainFractionsHandler::getNewObjects(), RPCAMCLinkMapHandler::getNewObjects(), CastorSaturationCorrsHandler::getNewObjects(), RPCDCCLinkMapHandler::getNewObjects(), HcalFrontEndMapHandler::getNewObjects(), HcalSiPMCharacteristicsHandler::getNewObjects(), HcalSiPMParametersHandler::getNewObjects(), HcalTimingParamsHandler::getNewObjects(), HcalValidationCorrsHandler::getNewObjects(), HcalZSThresholdsHandler::getNewObjects(), CastorRecoParamsHandler::getNewObjects(), HcalDcsMapHandler::getNewObjects(), HcalDcsValuesHandler::getNewObjects(), HcalElectronicsMapHandler::getNewObjects(), HcalChannelQualityHandler::getNewObjects(), HcalFlagHFDigiTimeParamsHandler::getNewObjects(), HcalGainsHandler::getNewObjects(), HcalGainWidthsHandler::getNewObjects(), HcalL1TriggerObjectsHandler::getNewObjects(), HcalLongRecoParamsHandler::getNewObjects(), HcalLUTCorrsHandler::getNewObjects(), HcalMCParamsHandler::getNewObjects(), HcalPedestalsHandler::getNewObjects(), HcalPedestalWidthsHandler::getNewObjects(), HcalPFCorrsHandler::getNewObjects(), HcalQIEDataHandler::getNewObjects(), HcalQIETypesHandler::getNewObjects(), HcalRecoParamsHandler::getNewObjects(), HcalRespCorrsHandler::getNewObjects(), HcalTimeCorrsHandler::getNewObjects(), CastorElectronicsMapHandler::getNewObjects(), CastorGainsHandler::getNewObjects(), CastorGainWidthsHandler::getNewObjects(), CastorPedestalsHandler::getNewObjects(), CastorQIEDataHandler::getNewObjects(), CastorPedestalWidthsHandler::getNewObjects(), CastorChannelQualityHandler::getNewObjects(), RPCLBLinkMapHandler::getNewObjects(), HcalLutMetadataHandler::getNewObjects(), popcon::SiStripPopConConfigDbObjHandler< T >::getNewObjects(), DTDeadFlagHandler::getNewObjects(), DTPerformanceHandler::getNewObjects(), DTRangeT0Handler::getNewObjects(), DTReadOutMappingHandler::getNewObjects(), DTStatusFlagHandler::getNewObjects(), DTT0Handler::getNewObjects(), DTTPGParametersHandler::getNewObjects(), DTLVStatusHandler::getNewObjects(), popcon::SiStripPopConHandlerUnitTest< T >::getNewObjects(), popcon::SiStripPopConHandlerUnitTestGain< T >::getNewObjects(), popcon::SiStripPopConHandlerUnitTestNoise< T >::getNewObjects(), DTHVStatusHandler::getNewObjects(), DTKeyedConfigHandler::getNewObjects(), DTUserKeyedConfigHandler::getNewObjects(), popcon::PopConBTransitionSourceHandler< T >::getNewObjects(), popcon::PopConESTransitionSourceHandler< T >::getNewObjects(), popcon::PopConBTransitionSourceHandler< T >::getObjectsForBTransition(), popcon::PopConESTransitionSourceHandler< T >::getObjectsForESTransition(), popcon::PopCon::initialize(), cond::TagInfo_t::isEmpty(), popcon::SiStripPopConConfigDbObjHandler< T >::isTransferNeeded(), popcon::SiStripPopConHandlerUnitTestNoise< T >::isTransferNeeded(), popcon::SiStripPopConHandlerUnitTest< T >::isTransferNeeded(), popcon::SiStripPopConHandlerUnitTestGain< T >::isTransferNeeded(), isValid(), isValidFor(), cond::persistency::IOVArray::Iterator::operator*(), LHCInfoPerLSPopConSourceHandler::populateIovs(), popcon::OnlinePopCon::preparePopCon(), popcon::SiStripPopConConfigDbObjHandler< T >::setForTransfer(), popcon::SiStripPopConHandlerUnitTest< T >::setForTransfer(), popcon::SiStripPopConHandlerUnitTestNoise< T >::setForTransfer(), popcon::SiStripPopConHandlerUnitTestGain< T >::setForTransfer(), cond::service::OnlineDBOutputService::writeIOVForNextLumisection(), cond::service::PoolDBOutputService::writeMany(), and cond::service::PoolDBOutputService::writeOneIOV().

◆ till

Time_t cond::Iov_t::till