DD4hep
1.30.0
Detector Description Toolkit for High Energy Physics
|
Helper to run DetElement scans. More...
#include <DetectorProcessor.h>
Public Member Functions | |
DetectorScanner ()=default | |
Default constructor. More... | |
DetectorScanner (const DetectorScanner ©)=default | |
Copy constructor. More... | |
DetectorScanner & | operator= (const DetectorScanner ©)=default |
Assignment operator. More... | |
template<typename Q > | |
DetectorScanner (Q &proc, DetElement start, int level=0, bool recursive=true) | |
Constructor performing the scan internally. More... | |
template<typename Q > | |
DetectorScanner (const Q &proc, DetElement start, int level=0, bool recursive=true) | |
Constructor performing the scan internally. More... | |
template<typename Q > | |
int | scan (Q &p, DetElement start, int level=0, bool recursive=true) const |
Detector element tree scanner using wrapped DetectorProcessor objects. More... | |
template<typename Q > | |
int | scan (const Q &p, DetElement start, int level=0, bool recursive=true) const |
Detector element tree scanner using wrapped DetectorProcessor objects. More... | |
Helper to run DetElement scans.
This wrapper converts any object, which has the signature int operator()(DetElement de, int level) const The object is automatically wrapped to a DetectorProcessor and the detector tree is scanned depending on the scanning arguments.
Definition at line 173 of file DetectorProcessor.h.
|
default |
Default constructor.
|
default |
Copy constructor.
|
inline |
Constructor performing the scan internally.
Definition at line 184 of file DetectorProcessor.h.
|
inline |
Constructor performing the scan internally.
Definition at line 189 of file DetectorProcessor.h.
|
default |
Assignment operator.
|
inline |
Detector element tree scanner using wrapped DetectorProcessor objects.
Definition at line 201 of file DetectorProcessor.h.
|
inline |
Detector element tree scanner using wrapped DetectorProcessor objects.
Definition at line 194 of file DetectorProcessor.h.