DD4hep  1.28.0
Detector Description Toolkit for High Energy Physics
Public Member Functions | Public Attributes | List of all members
dd4hep::align::AlignmentsCalculator::Scanner Class Reference

Scanner to find all alignment deltas in the detector hierarchy. More...

#include <AlignmentsCalculator.h>

Public Member Functions

 Scanner ()=delete
 Default constructor. More...
 
 Scanner (cond::ConditionUpdateContext &m, OrderedDeltas &d)
 Initializing constructor. More...
 
 Scanner (cond::ConditionUpdateContext &m, OrderedDeltas &d, IOV *i)
 Initializing constructor with IOV specification. More...
 
 Scanner (cond::ConditionUpdateContext &m, OrderedDeltas &&p)=delete
 Default move constructor is disabled. More...
 
 Scanner (Scanner &&copy)=delete
 R-value copy from a temporary. More...
 
 Scanner (const Scanner &copy)=delete
 Copy constructor. More...
 
 ~Scanner ()=default
 Default destructor. More...
 
Scanneroperator= (Scanner &&copy)=delete
 Assignment operator. More...
 
Scanneroperator= (const Scanner &copy)=delete
 Assignment operator. More...
 
int operator() (DetElement de, int) const
 Callback to output alignments information. More...
 

Public Attributes

cond::ConditionUpdateContextcontext
 Reference to the user pool taking into account IOV intersections. More...
 
OrderedDeltasdeltas
 Collection container. More...
 
IOViov = 0
 Resulting IOV. More...
 

Detailed Description

Scanner to find all alignment deltas in the detector hierarchy.

The deltas are collected in the appropriate container suited for the calculator object, so that no re-ordering is necessary.

Usage:

/// Interface to client Callback in order to update the condition Condition AlignmentCall::operator()(const ConditionKey& key, ConditionUpdateContext& ctxt) { .... DetectorScanner().scan(AlignmentsCalculator::Scanner(ctxt,deltas),top); .... }

Author
M.Frank
Version
1.0

Definition at line 97 of file AlignmentsCalculator.h.

Constructor & Destructor Documentation

◆ Scanner() [1/6]

dd4hep::align::AlignmentsCalculator::Scanner::Scanner ( )
delete

Default constructor.

◆ Scanner() [2/6]

dd4hep::align::AlignmentsCalculator::Scanner::Scanner ( cond::ConditionUpdateContext m,
OrderedDeltas d 
)
inline

Initializing constructor.

Definition at line 109 of file AlignmentsCalculator.h.

◆ Scanner() [3/6]

dd4hep::align::AlignmentsCalculator::Scanner::Scanner ( cond::ConditionUpdateContext m,
OrderedDeltas d,
IOV i 
)
inline

Initializing constructor with IOV specification.

Definition at line 111 of file AlignmentsCalculator.h.

◆ Scanner() [4/6]

dd4hep::align::AlignmentsCalculator::Scanner::Scanner ( cond::ConditionUpdateContext m,
OrderedDeltas &&  p 
)
delete

Default move constructor is disabled.

◆ Scanner() [5/6]

dd4hep::align::AlignmentsCalculator::Scanner::Scanner ( Scanner &&  copy)
delete

R-value copy from a temporary.

◆ Scanner() [6/6]

dd4hep::align::AlignmentsCalculator::Scanner::Scanner ( const Scanner copy)
delete

Copy constructor.

◆ ~Scanner()

dd4hep::align::AlignmentsCalculator::Scanner::~Scanner ( )
default

Default destructor.

Member Function Documentation

◆ operator()()

int AlignmentsCalculator::Scanner::operator() ( DetElement  de,
int   
) const

Callback to output alignments information.

Definition at line 109 of file AlignmentsCalculator.cpp.

◆ operator=() [1/2]

Scanner& dd4hep::align::AlignmentsCalculator::Scanner::operator= ( const Scanner copy)
delete

Assignment operator.

◆ operator=() [2/2]

Scanner& dd4hep::align::AlignmentsCalculator::Scanner::operator= ( Scanner &&  copy)
delete

Assignment operator.

Member Data Documentation

◆ context

cond::ConditionUpdateContext& dd4hep::align::AlignmentsCalculator::Scanner::context

Reference to the user pool taking into account IOV intersections.

Definition at line 100 of file AlignmentsCalculator.h.

◆ deltas

OrderedDeltas& dd4hep::align::AlignmentsCalculator::Scanner::deltas

Collection container.

Definition at line 102 of file AlignmentsCalculator.h.

◆ iov

IOV* dd4hep::align::AlignmentsCalculator::Scanner::iov = 0

Resulting IOV.

Definition at line 104 of file AlignmentsCalculator.h.


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