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

Generic alignment collector keyed by detector elements. More...

#include <AlignmentsProcessor.h>

Public Member Functions

 AlignmentsCollector (ConditionsMap &m, T &d)
 Default constructor. More...
 
 AlignmentsCollector (ConditionsMap &m, T &&p)=delete
 Default move constructor is disabled. More...
 
 AlignmentsCollector (const AlignmentsCollector &copy)=default
 Copy constructor. More...
 
 ~AlignmentsCollector ()=default
 Default destructor. More...
 
AlignmentsCollectoroperator= (const AlignmentsCollector &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 & alignments
 Collection container. More...
 

Detailed Description

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

Generic alignment 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 162 of file AlignmentsProcessor.h.

Constructor & Destructor Documentation

◆ AlignmentsCollector() [1/3]

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

Default constructor.

Definition at line 170 of file AlignmentsProcessor.h.

◆ AlignmentsCollector() [2/3]

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

Default move constructor is disabled.

◆ AlignmentsCollector() [3/3]

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

Copy constructor.

◆ ~AlignmentsCollector()

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

Default destructor.

Member Function Documentation

◆ operator()()

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

Callback to output alignments information.

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

Definition at line 45 of file AlignmentsProcessor.cpp.

◆ operator=()

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

Assignment operator.

Member Data Documentation

◆ alignments

template<typename T >
T& dd4hep::align::AlignmentsCollector< T >::alignments

Collection container.

Definition at line 167 of file AlignmentsProcessor.h.

◆ mapping

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

Reference to the user pool.

Definition at line 165 of file AlignmentsProcessor.h.


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