CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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

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
virtual cond::Iov_t::~Iov_t ( )
virtualdefault

Member Function Documentation

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.

Referenced by BeautifulSoup.Tag::setString(), and cond::persistency::setTillToLastIov().

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
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
bool cond::Iov_t::isValidFor ( Time_t  target) const

Definition at line 18 of file Types.cc.

References since, 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

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(), cond::persistency::IOVProxy::getLast(), L1TriggerScalerHandler::getNewObjects(), RunSummaryHandler::getNewObjects(), RunInfoHandler::getNewObjects(), FillInfoPopConSourceHandler::getNewObjects(), popcon::DQMXMLFileSourceHandler::getNewObjects(), popcon::DQMSummarySourceHandler::getNewObjects(), LHCInfoPopConSourceHandler::getNewObjects(), SiStripDQMPopConSourceHandler< T >::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(), cond::persistency::IOVProxy::iovSequenceInfo(), isValid(), popcon::PopConSourceHandler< CastorPedestals >::lastPayload(), l1t::DataWriter::lastPayloadToken(), l1t::DataWriterExt::lastPayloadToken(), cond::persistency::PayloadProxy< std::vector< cond::Time_t > >::loadPayload(), cond::persistency::PayloadProxy< std::vector< cond::Time_t > >::make(), cond::makeIov(), cond::persistency::IOVArray::Iterator::operator*(), l1t::DataWriter::updateIOV(), and l1t::DataWriterExt::updateIOV().

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(), cond::persistency::IOVProxy::getLast(), L1TriggerScalerHandler::getNewObjects(), RunInfoHandler::getNewObjects(), RunSummaryHandler::getNewObjects(), RPCDBHandler::getNewObjects(), BeamSpotOnlinePopConSourceHandler::getNewObjects(), FillInfoPopConSourceHandler::getNewObjects(), popcon::DQMSummarySourceHandler::getNewObjects(), popcon::DQMXMLFileSourceHandler::getNewObjects(), LHCInfoPopConSourceHandler::getNewObjects(), RPCDBPerformanceHandler::getNewObjects(), HcalSiPMParametersHandler::getNewObjects(), HcalTPChannelParametersHandler::getNewObjects(), HcalTPParametersHandler::getNewObjects(), HcalZDCLowGainFractionsHandler::getNewObjects(), RPCAMCLinkMapHandler::getNewObjects(), RPCDCCLinkMapHandler::getNewObjects(), CastorSaturationCorrsHandler::getNewObjects(), HcalFrontEndMapHandler::getNewObjects(), HcalSiPMCharacteristicsHandler::getNewObjects(), HcalTimeCorrsHandler::getNewObjects(), HcalTimingParamsHandler::getNewObjects(), HcalValidationCorrsHandler::getNewObjects(), HcalZSThresholdsHandler::getNewObjects(), CastorRecoParamsHandler::getNewObjects(), HcalChannelQualityHandler::getNewObjects(), HcalDcsMapHandler::getNewObjects(), HcalDcsValuesHandler::getNewObjects(), HcalElectronicsMapHandler::getNewObjects(), HcalFlagHFDigiTimeParamsHandler::getNewObjects(), HcalGainsHandler::getNewObjects(), HcalGainWidthsHandler::getNewObjects(), HcalL1TriggerObjectsHandler::getNewObjects(), HcalRespCorrsHandler::getNewObjects(), HcalLongRecoParamsHandler::getNewObjects(), HcalLUTCorrsHandler::getNewObjects(), HcalMCParamsHandler::getNewObjects(), HcalPedestalWidthsHandler::getNewObjects(), HcalPFCorrsHandler::getNewObjects(), HcalQIEDataHandler::getNewObjects(), HcalPedestalsHandler::getNewObjects(), HcalRecoParamsHandler::getNewObjects(), HcalQIETypesHandler::getNewObjects(), CastorChannelQualityHandler::getNewObjects(), CastorElectronicsMapHandler::getNewObjects(), CastorGainsHandler::getNewObjects(), CastorGainWidthsHandler::getNewObjects(), CastorPedestalsHandler::getNewObjects(), CastorPedestalWidthsHandler::getNewObjects(), CastorQIEDataHandler::getNewObjects(), RPCLBLinkMapHandler::getNewObjects(), HcalLutMetadataHandler::getNewObjects(), SiStripDQMPopConSourceHandler< T >::getNewObjects(), popcon::SiStripPopConConfigDbObjHandler< T >::getNewObjects(), DTDeadFlagHandler::getNewObjects(), DTRangeT0Handler::getNewObjects(), DTT0Handler::getNewObjects(), DTReadOutMappingHandler::getNewObjects(), DTStatusFlagHandler::getNewObjects(), DTPerformanceHandler::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::persistency::IOVProxy::iovSequenceInfo(), cond::TagInfo_t::isEmpty(), SiStripDQMPopConSourceHandler< T >::isTransferNeeded(), popcon::SiStripPopConConfigDbObjHandler< T >::isTransferNeeded(), popcon::SiStripPopConHandlerUnitTestNoise< T >::isTransferNeeded(), popcon::SiStripPopConHandlerUnitTestGain< T >::isTransferNeeded(), popcon::SiStripPopConHandlerUnitTest< T >::isTransferNeeded(), isValid(), isValidFor(), cond::makeIov(), cond::persistency::IOVArray::Iterator::operator*(), SiStripDQMPopConSourceHandler< T >::setForTransfer(), popcon::SiStripPopConConfigDbObjHandler< T >::setForTransfer(), popcon::SiStripPopConHandlerUnitTest< T >::setForTransfer(), popcon::SiStripPopConHandlerUnitTestNoise< T >::setForTransfer(), popcon::SiStripPopConHandlerUnitTestGain< T >::setForTransfer(), cond::persistency::setTillToLastIov(), l1t::DataWriter::updateIOV(), l1t::DataWriterExt::updateIOV(), cond::service::OnlineDBOutputService::writeIOVForNextLumisection(), cond::service::PoolDBOutputService::writeMany(), and cond::service::PoolDBOutputService::writeOneIOV().

Time_t cond::Iov_t::till