DD4hep  1.30.0
Detector Description Toolkit for High Energy Physics
Public Member Functions | Public Attributes | List of all members
dd4hep::cond::ConditionsDependencyHandler::Work Struct Reference

Helper structure to define the current update item. More...

#include <ConditionsDependencyHandler.h>

Public Member Functions

 Work ()=delete
 Inhibit default constructor. More...
 
 Work (ConditionResolver *r, const ConditionDependency *d, ConditionUpdateUserContext *u, const IOV &i)
 Initializing constructor. More...
 
 Work (const Work &)=default
 Copy constructor. More...
 
Workoperator= (const Work &)=default
 Assignment operator. More...
 
void do_intersection (const IOV *iov)
 Helper to determine the IOV intersection taking into account dependencies. More...
 
Condition resolve (Work *&current)
 Helper function for the second level dependency resolution. More...
 

Public Attributes

IOV _iov
 
ConditionUpdateContext context
 Auxiliary information to resolve condition callbacks. More...
 
IOViov = 0
 Condition IOV. More...
 
Condition::Objectcondition = 0
 The final result: the condition object. More...
 
int callstack = 0
 Flag to detect non resolvable circular dependencies. More...
 
State state = INVALID
 Current conversion state of the item. More...
 

Detailed Description

Helper structure to define the current update item.

Definition at line 55 of file ConditionsDependencyHandler.h.

Constructor & Destructor Documentation

◆ Work() [1/3]

dd4hep::cond::ConditionsDependencyHandler::Work::Work ( )
delete

Inhibit default constructor.

◆ Work() [2/3]

dd4hep::cond::ConditionsDependencyHandler::Work::Work ( ConditionResolver r,
const ConditionDependency d,
ConditionUpdateUserContext u,
const IOV i 
)
inline

Initializing constructor.

Definition at line 72 of file ConditionsDependencyHandler.h.

◆ Work() [3/3]

dd4hep::cond::ConditionsDependencyHandler::Work::Work ( const Work )
default

Copy constructor.

Member Function Documentation

◆ do_intersection()

void ConditionsDependencyHandler::Work::do_intersection ( const IOV iov)

Helper to determine the IOV intersection taking into account dependencies.

Definition at line 36 of file ConditionsDependencyHandler.cpp.

◆ operator=()

Work& dd4hep::cond::ConditionsDependencyHandler::Work::operator= ( const Work )
default

Assignment operator.

◆ resolve()

dd4hep::Condition ConditionsDependencyHandler::Work::resolve ( Work *&  current)

Helper function for the second level dependency resolution.

Definition at line 49 of file ConditionsDependencyHandler.cpp.

Member Data Documentation

◆ _iov

IOV dd4hep::cond::ConditionsDependencyHandler::Work::_iov

Definition at line 57 of file ConditionsDependencyHandler.h.

◆ callstack

int dd4hep::cond::ConditionsDependencyHandler::Work::callstack = 0

Flag to detect non resolvable circular dependencies.

Definition at line 65 of file ConditionsDependencyHandler.h.

◆ condition

Condition::Object* dd4hep::cond::ConditionsDependencyHandler::Work::condition = 0

The final result: the condition object.

Definition at line 63 of file ConditionsDependencyHandler.h.

◆ context

ConditionUpdateContext dd4hep::cond::ConditionsDependencyHandler::Work::context

Auxiliary information to resolve condition callbacks.

Definition at line 59 of file ConditionsDependencyHandler.h.

◆ iov

IOV* dd4hep::cond::ConditionsDependencyHandler::Work::iov = 0

Condition IOV.

Definition at line 61 of file ConditionsDependencyHandler.h.

◆ state

State dd4hep::cond::ConditionsDependencyHandler::Work::state = INVALID

Current conversion state of the item.

Definition at line 67 of file ConditionsDependencyHandler.h.


The documentation for this struct was generated from the following files: