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

Generic alignment processor facade for the Conditons::Processor object. More...

#include <AlignmentsProcessor.h>

Inheritance diagram for dd4hep::align::AlignmentsProcessor< T >:
dd4hep::Alignment::Processor

Public Member Functions

 AlignmentsProcessor ()=default
 Default constructor. More...
 
 AlignmentsProcessor (T &p)
 Initializing constructor. More...
 
 AlignmentsProcessor (T &&p)=delete
 Default move constructor is disabled. More...
 
 AlignmentsProcessor (AlignmentsProcessor &&copy)=default
 R-value copy from a temporary (Since processor is reference) More...
 
 AlignmentsProcessor (const AlignmentsProcessor &copy)=default
 Copy constructor. More...
 
virtual ~AlignmentsProcessor ()=default
 Default destructor. More...
 
AlignmentsProcessoroperator= (const AlignmentsProcessor &copy)=default
 Assignment operator. More...
 
virtual int operator() (Alignment alignment) const override
 Processing callback. More...
 
- Public Member Functions inherited from dd4hep::Alignment::Processor
 Processor ()
 Default constructor. More...
 
virtual ~Processor ()=default
 Default destructor. More...
 

Private Attributes

T & processor
 

Detailed Description

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

Generic alignment processor facade for the Conditons::Processor object.

This wrapper converts any object, which has the signature int operator()(Alignment cond) const The object is automatically wrapped to a Alignment::Processor object and allows to scan trees using e.g. DetElementProcessors etc.

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

Definition at line 42 of file AlignmentsProcessor.h.

Constructor & Destructor Documentation

◆ AlignmentsProcessor() [1/5]

template<typename T >
dd4hep::align::AlignmentsProcessor< T >::AlignmentsProcessor ( )
default

Default constructor.

◆ AlignmentsProcessor() [2/5]

template<typename T >
dd4hep::align::AlignmentsProcessor< T >::AlignmentsProcessor ( T &  p)
inline

Initializing constructor.

Definition at line 48 of file AlignmentsProcessor.h.

◆ AlignmentsProcessor() [3/5]

template<typename T >
dd4hep::align::AlignmentsProcessor< T >::AlignmentsProcessor ( T &&  p)
delete

Default move constructor is disabled.

◆ AlignmentsProcessor() [4/5]

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

R-value copy from a temporary (Since processor is reference)

◆ AlignmentsProcessor() [5/5]

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

Copy constructor.

◆ ~AlignmentsProcessor()

template<typename T >
virtual dd4hep::align::AlignmentsProcessor< T >::~AlignmentsProcessor ( )
virtualdefault

Default destructor.

Member Function Documentation

◆ operator()()

template<typename T >
virtual int dd4hep::align::AlignmentsProcessor< T >::operator() ( Alignment  alignment) const
inlineoverridevirtual

Processing callback.

Implements dd4hep::Alignment::Processor.

Definition at line 60 of file AlignmentsProcessor.h.

◆ operator=()

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

Assignment operator.

Member Data Documentation

◆ processor

template<typename T >
T& dd4hep::align::AlignmentsProcessor< T >::processor
private

Definition at line 43 of file AlignmentsProcessor.h.


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