#include <WriteCondHandle.h>
template<typename T>
class SG::WriteCondHandle< T >
Definition at line 26 of file WriteCondHandle.h.
◆ const_pointer_type
◆ const_reference_type
◆ pointer_type
◆ reference_type
◆ WriteCondHandle() [1/2]
◆ WriteCondHandle() [2/2]
Definition at line 111 of file WriteCondHandle.h.
120 <<
"WriteCondHandle : ptr to CondCont<T> is zero"
◆ ~WriteCondHandle()
◆ addDependency() [1/3]
Definition at line 275 of file WriteCondHandle.h.
283 if (
m_cc->keyType()==KeyType::RUNLBN && (
range.start().isTimeStamp() ||
range.stop().isTimeStamp())) {
285 msg << MSG::ERROR <<
"Adding a time-stamp dependency on a run-lumi indexed CondCont. Consider a mixed ConditionsContainer for type " <<
fullKey() <<
endmsg;
287 if (
m_cc->keyType()==KeyType::TIMESTAMP && (
range.start().isRunLumi() ||
range.stop().isRunLumi())) {
289 msg << MSG::ERROR <<
"Adding a run-lumi dependency on a timestamp-indexed CondCont. Consider a mixed ConditionsContainer for type " <<
fullKey() <<
endmsg;
◆ addDependency() [2/3]
template<typename T >
template<typename R , typename... Args>
◆ addDependency() [3/3]
template<typename T >
template<typename R >
◆ dbKey()
◆ extendLastRange()
Extend the range of the last IOV.
- Parameters
-
range | New validity range. |
ctx | Event context. |
Returns failure if the start time of range
does not match the start time of the last IOV in the container. Otherwise, the end time for the last IOV is changed to the end time for range
. (If the end time for range
is before the end of the last IOV, then nothing is changed.)
Definition at line 228 of file WriteCondHandle.h.
230 return m_cc->extendLastRange (
r, ctx);
◆ fullKey()
◆ getRange()
◆ isValid() [1/4]
◆ isValid() [2/4]
◆ isValid() [3/4]
◆ isValid() [4/4]
◆ key()
◆ record() [1/4]
Definition at line 136 of file WriteCondHandle.h.
142 <<
"WriteCondHandle::record(EventIDRange, T*): for key "
144 <<
" cannot use this method if range has already been set via dependencies"
146 return StatusCode::FAILURE;
◆ record() [2/4]
record handle, with explicit range DEPRECATED
- Parameters
-
range | IOVRange of handle |
t | unique_ptr to handle |
Definition at line 157 of file WriteCondHandle.h.
159 return record (
r, std::unique_ptr<T> (
t));
◆ record() [3/4]
record handle, range must have been set by addDependency(...)
- Parameters
-
Definition at line 170 of file WriteCondHandle.h.
174 <<
"WriteCondHandle::record() : no range defined for key "
177 return StatusCode::FAILURE;
184 <<
"WriteCondHandle::record() : obj at: " <<
t.get() <<
" range: "
191 if (
sc.isFailure()) {
194 <<
"WriteCondHandle::record() : unable to insert obj in CondCont<T>"
196 return StatusCode::FAILURE;
203 <<
"WriteCondHandle::record() : IOV ranges overlap."
205 return StatusCode::FAILURE;
207 sc = StatusCode::SUCCESS;
◆ record() [4/4]
◆ m_cc
◆ m_ctx
◆ m_hkey
◆ m_range
◆ m_rangeSet
The documentation for this class was generated from the following file:
std::optional< double > intersect(const AmgVector(N)&posA, const AmgVector(N)&dirA, const AmgVector(N)&posB, const AmgVector(N)&dirB)
Calculates the point B' along the line B that's closest to a second line A.