DD4hep  1.30.0
Detector Description Toolkit for High Energy Physics
Public Member Functions | List of all members
dd4hep::DetectorProcessor Class Referenceabstract

Generic Detector processor. More...

#include <DetectorProcessor.h>

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

Public Member Functions

 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 operator() (DetElement de, int level) const =0
 Callback to output detector information of an single DetElement. More...
 
virtual int process (DetElement de, int level, bool recursive) const
 Callback to output detector information of an entire DetElement. More...
 

Detailed Description

Generic Detector processor.

Please note that the principle of locality applies: The object is designed for stack allocation and configuration. It may NOT be shared across threads!

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

Definition at line 36 of file DetectorProcessor.h.

Constructor & Destructor Documentation

◆ DetectorProcessor() [1/3]

dd4hep::DetectorProcessor::DetectorProcessor ( )
default

Initializing constructor.

◆ DetectorProcessor() [2/3]

dd4hep::DetectorProcessor::DetectorProcessor ( DetectorProcessor &&  copy)
default

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

◆ DetectorProcessor() [3/3]

dd4hep::DetectorProcessor::DetectorProcessor ( const DetectorProcessor copy)
default

Default copy constructor.

◆ ~DetectorProcessor()

DetectorProcessor::~DetectorProcessor ( )
virtual

Default destructor.

Definition at line 22 of file DetectorProcessor.cpp.

Member Function Documentation

◆ operator()()

virtual int dd4hep::DetectorProcessor::operator() ( DetElement  de,
int  level 
) const
pure virtual

Callback to output detector information of an single DetElement.

Implemented in dd4hep::DetectorProcessorShared< T >, and dd4hep::DetElementProcessor< T >.

◆ operator=()

DetectorProcessor& dd4hep::DetectorProcessor::operator= ( const DetectorProcessor copy)
default

Default assignment.

◆ process()

int DetectorProcessor::process ( DetElement  de,
int  level,
bool  recursive 
) const
virtual

Callback to output detector information of an entire DetElement.

Definition at line 26 of file DetectorProcessor.cpp.


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