DD4hep  1.30.0
Detector Description Toolkit for High Energy Physics
Public Member Functions | Public Attributes | List of all members
dd4hep::align::DeltaCollector< T > Class Template Reference

Generic Alignment-Delta collector keyed by detector elements. More...

#include <AlignmentsProcessor.h>

Public Member Functions

 DeltaCollector (ConditionsMap &m, T &d)
 Default constructor. More...
 
 DeltaCollector (ConditionsMap &m, T &&p)=delete
 Default move constructor is disabled. More...
 
 DeltaCollector (DeltaCollector &&copy)=default
 R-value copy from a temporary. More...
 
 DeltaCollector (const DeltaCollector &copy)=default
 Copy constructor. More...
 
 ~DeltaCollector ()=default
 Default destructor. More...
 
DeltaCollectoroperator= (const DeltaCollector &copy)=default
 Assignment operator. More...
 
virtual int operator() (DetElement de, int level=0) const final
 Callback to output alignments information. More...
 

Public Attributes

ConditionsMapmapping
 Reference to the user pool. More...
 
T & deltas
 Collection container. More...
 

Detailed Description

template<typename T>
class dd4hep::align::DeltaCollector< T >

Generic Alignment-Delta collector keyed by detector elements.

To be used with utilities like DetElementProcessor etc.

Author
M.Frank
Version
1.0
Date
01/04/2016

Definition at line 117 of file AlignmentsProcessor.h.

Constructor & Destructor Documentation

◆ DeltaCollector() [1/4]

template<typename T >
dd4hep::align::DeltaCollector< T >::DeltaCollector ( ConditionsMap m,
T &  d 
)
inline

Default constructor.

Definition at line 125 of file AlignmentsProcessor.h.

◆ DeltaCollector() [2/4]

template<typename T >
dd4hep::align::DeltaCollector< T >::DeltaCollector ( ConditionsMap m,
T &&  p 
)
delete

Default move constructor is disabled.

◆ DeltaCollector() [3/4]

template<typename T >
dd4hep::align::DeltaCollector< T >::DeltaCollector ( DeltaCollector< T > &&  copy)
default

R-value copy from a temporary.

◆ DeltaCollector() [4/4]

template<typename T >
dd4hep::align::DeltaCollector< T >::DeltaCollector ( const DeltaCollector< T > &  copy)
default

Copy constructor.

◆ ~DeltaCollector()

template<typename T >
dd4hep::align::DeltaCollector< T >::~DeltaCollector ( )
default

Default destructor.

Member Function Documentation

◆ operator()()

template<typename T >
int DeltaCollector::operator() ( DetElement  de,
int  level = 0 
) const
finalvirtual

Callback to output alignments information.

Note: Valid implementations exist for the container types: std::list<Delta> std::vector<Delta> std::map<DetElement,Delta> std::multimap<DetElement,Delta> std::map<std::string,Delta> key = DetElement.path() std::multimap<std::string,Delta> key = DetElement.path()

Definition at line 26 of file AlignmentsProcessor.cpp.

◆ operator=()

template<typename T >
DeltaCollector& dd4hep::align::DeltaCollector< T >::operator= ( const DeltaCollector< T > &  copy)
default

Assignment operator.

Member Data Documentation

◆ deltas

template<typename T >
T& dd4hep::align::DeltaCollector< T >::deltas

Collection container.

Definition at line 122 of file AlignmentsProcessor.h.

◆ mapping

template<typename T >
ConditionsMap& dd4hep::align::DeltaCollector< T >::mapping

Reference to the user pool.

Definition at line 120 of file AlignmentsProcessor.h.


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