DD4hep
1.30.0
Detector Description Toolkit for High Energy Physics
|
Helper to run placement scan through volume hierarchies scans. More...
#include <VolumeProcessor.h>
Public Member Functions | |
PlacedVolumeScanner ()=default | |
Default constructor. More... | |
PlacedVolumeScanner (const PlacedVolumeScanner ©)=default | |
Copy constructor. More... | |
PlacedVolumeScanner & | operator= (const PlacedVolumeScanner ©)=default |
Assignment operator. More... | |
template<typename Q > | |
PlacedVolumeScanner (Q &proc, DetElement start, int level=0, bool recursive=true) | |
Constructor performing the scan internally. More... | |
template<typename Q > | |
PlacedVolumeScanner (const Q &proc, DetElement start, int level=0, bool recursive=true) | |
Constructor performing the scan internally. More... | |
template<typename Q > | |
PlacedVolumeScanner (Q &proc, PlacedVolume start, int level=0, bool recursive=true) | |
Constructor performing the scan internally. More... | |
template<typename Q > | |
PlacedVolumeScanner (const Q &proc, PlacedVolume start, int level=0, bool recursive=true) | |
Constructor performing the scan internally. More... | |
int | scanPlacements (PlacedVolumeProcessor &proc, PlacedVolume start, int level=0, bool recursive=true) const |
PlacedVolume element tree scanner using wrapped PlacedVolumeProcessor objects. More... | |
template<typename Q > | |
int | scan (Q &p, PlacedVolume start, int level=0, bool recursive=true) const |
PlacedVolume element tree scanner using wrapped PlacedVolumeProcessor objects. More... | |
template<typename Q > | |
int | scan (const Q &p, PlacedVolume start, int level=0, bool recursive=true) const |
PlacedVolume element tree scanner using wrapped PlacedVolumeProcessor objects. More... | |
Helper to run placement scan through volume hierarchies scans.
This wrapper converts any object, which has the signature int operator()(DetElement de, int level) const The object is automatically wrapped to a PlacedVolumeProcessor and the PlacedVolume tree is scanned depending on the scanning arguments.
Definition at line 135 of file VolumeProcessor.h.
|
default |
Default constructor.
|
default |
Copy constructor.
|
inline |
Constructor performing the scan internally.
Definition at line 146 of file VolumeProcessor.h.
|
inline |
Constructor performing the scan internally.
Definition at line 151 of file VolumeProcessor.h.
|
inline |
Constructor performing the scan internally.
Definition at line 156 of file VolumeProcessor.h.
|
inline |
Constructor performing the scan internally.
Definition at line 161 of file VolumeProcessor.h.
|
default |
Assignment operator.
|
inline |
PlacedVolume element tree scanner using wrapped PlacedVolumeProcessor objects.
Definition at line 176 of file VolumeProcessor.h.
|
inline |
PlacedVolume element tree scanner using wrapped PlacedVolumeProcessor objects.
Definition at line 170 of file VolumeProcessor.h.
|
inline |
PlacedVolume element tree scanner using wrapped PlacedVolumeProcessor objects.
Definition at line 165 of file VolumeProcessor.h.