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

Detector scanner using a Processor object. More...

#include <DetectorProcessor.h>

Inheritance diagram for dd4hep::DetElementProcessor< T >:
dd4hep::DetectorProcessor

Public Member Functions

 DetElementProcessor ()=delete
 Default constructor. More...
 
 DetElementProcessor (T &p)
 Default constructor. More...
 
 DetElementProcessor (T &&p)=delete
 Default move constructor is disabled. More...
 
 DetElementProcessor (DetElementProcessor &&copy)=default
 R-value copy from a temporary (Since processor is reference) More...
 
 DetElementProcessor (const DetElementProcessor &copy)=default
 Default copy constructor. More...
 
virtual ~DetElementProcessor ()=default
 Default destructor. More...
 
DetElementProcessoroperator= (const DetElementProcessor &copy)=default
 Default assignment. More...
 
virtual int operator() (DetElement de, int level) const final
 Callback to output detector information of an single DetElement. More...
 
- Public Member Functions inherited from dd4hep::DetectorProcessor
 DetectorProcessor ()=default
 Initializing constructor. More...
 
 DetectorProcessor (DetectorProcessor &&copy)=default
 R-value copy from a temporary (Since processor is reference) More...
 
 DetectorProcessor (const DetectorProcessor &copy)=default
 Default copy constructor. More...
 
virtual ~DetectorProcessor ()
 Default destructor. More...
 
DetectorProcessoroperator= (const DetectorProcessor &copy)=default
 Default assignment. More...
 
virtual int process (DetElement de, int level, bool recursive) const
 Callback to output detector information of an entire DetElement. More...
 

Public Attributes

T & processor
 Reference to execution object implementing operator()(DetElement de, int level) More...
 

Detailed Description

template<typename T>
class dd4hep::DetElementProcessor< T >

Detector scanner using a Processor object.

Please see the documentation of the DetectorProcessor base class for further information.

Author
M.Frank
Version
1.0
Date
31/05/2017

Definition at line 64 of file DetectorProcessor.h.

Constructor & Destructor Documentation

◆ DetElementProcessor() [1/5]

template<typename T >
dd4hep::DetElementProcessor< T >::DetElementProcessor ( )
delete

Default constructor.

◆ DetElementProcessor() [2/5]

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

Default constructor.

Definition at line 72 of file DetectorProcessor.h.

◆ DetElementProcessor() [3/5]

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

Default move constructor is disabled.

◆ DetElementProcessor() [4/5]

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

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

◆ DetElementProcessor() [5/5]

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

Default copy constructor.

◆ ~DetElementProcessor()

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

Default destructor.

Member Function Documentation

◆ operator()()

template<typename T >
virtual int dd4hep::DetElementProcessor< T >::operator() ( DetElement  de,
int  level 
) const
inlinefinalvirtual

Callback to output detector information of an single DetElement.

Implements dd4hep::DetectorProcessor.

Definition at line 84 of file DetectorProcessor.h.

◆ operator=()

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

Default assignment.

Member Data Documentation

◆ processor

template<typename T >
T& dd4hep::DetElementProcessor< T >::processor

Reference to execution object implementing operator()(DetElement de, int level)

Definition at line 67 of file DetectorProcessor.h.


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