Skip to content

Commit

Permalink
Removed hardcoded IOV.
Browse files Browse the repository at this point in the history
  • Loading branch information
jan-kaspar committed Apr 9, 2019
1 parent 65d5af1 commit c5c4e47
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions CalibPPS/ESProducers/plugins/CTPPSLHCInfoESSource.cc
Expand Up @@ -53,14 +53,6 @@ CTPPSLHCInfoESSource::CTPPSLHCInfoESSource(const edm::ParameterSet& conf) :
void CTPPSLHCInfoESSource::setIntervalFor(const edm::eventsetup::EventSetupRecordKey &key,
const edm::IOVSyncValue& iosv, edm::ValidityInterval& oValidity)
{
// TODO: the IOV specified in config is temporarily replaced with a hardcoded one
m_insideValidityRange = true;

edm::IOVSyncValue beg(edm::EventID(270293, 0, 0), edm::Timestamp(1461016800ULL << 32));
edm::IOVSyncValue end(edm::EventID(290872, 0, 0), edm::Timestamp(1483138800ULL << 32));
oValidity = edm::ValidityInterval(beg, end);

/*
if (edm::contains(m_validityRange, iosv.eventID()))
{
m_insideValidityRange = true;
Expand All @@ -83,7 +75,6 @@ void CTPPSLHCInfoESSource::setIntervalFor(const edm::eventsetup::EventSetupRecor
oValidity = edm::ValidityInterval(edm::IOVSyncValue(beginEvent), edm::IOVSyncValue::endOfTime());
}
}
*/
}

//----------------------------------------------------------------------------------------------------
Expand Down

0 comments on commit c5c4e47

Please sign in to comment.