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

◆ 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(), RunInfoHandler::getNewObjects(), RunSummaryHandler::getNewObjects(), RPCDBHandler::getNewObjects(), FillInfoPopConSourceHandler::getNewObjects(), BeamSpotOnlinePopConSourceHandler::getNewObjects(), popcon::DQMSummarySourceHandler::getNewObjects(), popcon::DQMXMLFileSourceHandler::getNewObjects(), LHCInfoPopConSourceHandler::getNewObjects(), RPCDBPerformanceHandler::getNewObjects(), CastorSaturationCorrsHandler::getNewObjects(), HcalZDCLowGainFractionsHandler::getNewObjects(), HcalTPParametersHandler::getNewObjects(), RPCAMCLinkMapHandler::getNewObjects(), RPCDCCLinkMapHandler::getNewObjects(), HcalFrontEndMapHandler::getNewObjects(), HcalSiPMCharacteristicsHandler::getNewObjects(), HcalSiPMParametersHandler::getNewObjects(), HcalTPChannelParametersHandler::getNewObjects(), HcalValidationCorrsHandler::getNewObjects(), HcalZSThresholdsHandler::getNewObjects(), CastorRecoParamsHandler::getNewObjects(), HcalChannelQualityHandler::getNewObjects(), HcalDcsValuesHandler::getNewObjects(), HcalElectronicsMapHandler::getNewObjects(), HcalFlagHFDigiTimeParamsHandler::getNewObjects(), HcalDcsMapHandler::getNewObjects(), HcalGainsHandler::getNewObjects(), HcalGainWidthsHandler::getNewObjects(), HcalL1TriggerObjectsHandler::getNewObjects(), HcalLongRecoParamsHandler::getNewObjects(), HcalLUTCorrsHandler::getNewObjects(), HcalQIEDataHandler::getNewObjects(), HcalMCParamsHandler::getNewObjects(), HcalPedestalsHandler::getNewObjects(), HcalPedestalWidthsHandler::getNewObjects(), HcalPFCorrsHandler::getNewObjects(), HcalRecoParamsHandler::getNewObjects(), HcalQIETypesHandler::getNewObjects(), HcalRespCorrsHandler::getNewObjects(), HcalTimeCorrsHandler::getNewObjects(), HcalTimingParamsHandler::getNewObjects(), CastorGainWidthsHandler::getNewObjects(), CastorPedestalsHandler::getNewObjects(), CastorPedestalWidthsHandler::getNewObjects(), CastorQIEDataHandler::getNewObjects(), CastorGainsHandler::getNewObjects(), CastorElectronicsMapHandler::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::SiStripPopConHandlerUnitTestGain< T >::isTransferNeeded(), popcon::SiStripPopConHandlerUnitTestNoise< T >::isTransferNeeded(), popcon::SiStripPopConHandlerUnitTest< T >::isTransferNeeded(), isValid(), isValidFor(), cond::persistency::IOVArray::Iterator::operator*(), popcon::SiStripPopConConfigDbObjHandler< T >::setForTransfer(), popcon::SiStripPopConHandlerUnitTestNoise< T >::setForTransfer(), popcon::SiStripPopConHandlerUnitTestGain< T >::setForTransfer(), popcon::SiStripPopConHandlerUnitTest< T >::setForTransfer(), cond::service::OnlineDBOutputService::writeIOVForNextLumisection(), cond::service::PoolDBOutputService::writeMany(), and cond::service::PoolDBOutputService::writeOneIOV().

◆ till

Time_t cond::Iov_t::till