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

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

#include <AlignmentsProcessor.h>

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

Public Member Functions

 AlignmentsProcessorWrapper ()=default
 Default constructor. More...
 
 AlignmentsProcessorWrapper (T *p)
 Initializing constructor. More...
 
 AlignmentsProcessorWrapper (const AlignmentsProcessorWrapper &copy)=default
 Copy constructor. More...
 
virtual ~AlignmentsProcessorWrapper ()=default
 Default destructor. More...
 
AlignmentsProcessorWrapperoperator= (const AlignmentsProcessorWrapper &copy)=default
 Assignment operator. More...
 
virtual int operator() (Alignment c) 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

std::unique_ptr< T > processor
 

Detailed Description

template<typename T>
class dd4hep::align::AlignmentsProcessorWrapper< 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 81 of file AlignmentsProcessor.h.

Constructor & Destructor Documentation

◆ AlignmentsProcessorWrapper() [1/3]

Default constructor.

◆ AlignmentsProcessorWrapper() [2/3]

template<typename T >
dd4hep::align::AlignmentsProcessorWrapper< T >::AlignmentsProcessorWrapper ( T *  p)
inline

Initializing constructor.

Definition at line 87 of file AlignmentsProcessor.h.

◆ AlignmentsProcessorWrapper() [3/3]

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

Copy constructor.

◆ ~AlignmentsProcessorWrapper()

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

Default destructor.

Member Function Documentation

◆ operator()()

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

Processing callback.

Implements dd4hep::Alignment::Processor.

Definition at line 95 of file AlignmentsProcessor.h.

◆ operator=()

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

Assignment operator.

Member Data Documentation

◆ processor

template<typename T >
std::unique_ptr<T> dd4hep::align::AlignmentsProcessorWrapper< T >::processor
private

Definition at line 82 of file AlignmentsProcessor.h.


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