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

DD4hep DetElement creator for the CMS geometry. More...

Inheritance diagram for dd4hep::VisDensityProcessor:
dd4hep::PlacedVolumeProcessor

Public Member Functions

void _show ()
 Print properties. More...
 
 VisDensityProcessor (Detector &desc)
 Initializing constructor. More...
 
virtual ~VisDensityProcessor ()
 Default destructor. More...
 
virtual int operator() (PlacedVolume pv, int level)
 Callback to output PlacedVolume information of an single Placement. More...
 
- Public Member Functions inherited from dd4hep::PlacedVolumeProcessor
 PlacedVolumeProcessor ()=default
 Initializing constructor. More...
 
 PlacedVolumeProcessor (PlacedVolumeProcessor &&copy)=default
 R-value copy from a temporary (Since processor is reference) More...
 
 PlacedVolumeProcessor (const PlacedVolumeProcessor &copy)=default
 Default copy constructor. More...
 
virtual ~PlacedVolumeProcessor () noexcept(false)
 Default destructor. More...
 
PlacedVolumeProcessoroperator= (const PlacedVolumeProcessor &copy)=default
 Default assignment. More...
 
virtual int process (PlacedVolume pv, int level, bool recursive)
 Callback to output PlacedVolume information of an entire Placement. More...
 

Public Attributes

Detectordescription
 
std::string name
 
VisAttr minVis
 
double minDensity = 5e0
 
size_t numInactive = 0
 
bool show = false
 

Detailed Description

DD4hep DetElement creator for the CMS geometry.

Definition at line 29 of file VisDensityProcessor.cpp.

Constructor & Destructor Documentation

◆ VisDensityProcessor()

VisDensityProcessor::VisDensityProcessor ( Detector desc)

Initializing constructor.

Definition at line 73 of file VisDensityProcessor.cpp.

◆ ~VisDensityProcessor()

VisDensityProcessor::~VisDensityProcessor ( )
virtual

Default destructor.

Definition at line 78 of file VisDensityProcessor.cpp.

Member Function Documentation

◆ _show()

void VisDensityProcessor::_show ( )

Print properties.

Definition at line 85 of file VisDensityProcessor.cpp.

◆ operator()()

int VisDensityProcessor::operator() ( PlacedVolume  pv,
int  level 
)
virtual

Callback to output PlacedVolume information of an single Placement.

Implements dd4hep::PlacedVolumeProcessor.

Definition at line 94 of file VisDensityProcessor.cpp.

Member Data Documentation

◆ description

Detector& dd4hep::VisDensityProcessor::description

Definition at line 31 of file VisDensityProcessor.cpp.

◆ minDensity

double dd4hep::VisDensityProcessor::minDensity = 5e0

Definition at line 34 of file VisDensityProcessor.cpp.

◆ minVis

VisAttr dd4hep::VisDensityProcessor::minVis

Definition at line 33 of file VisDensityProcessor.cpp.

◆ name

std::string dd4hep::VisDensityProcessor::name

Definition at line 32 of file VisDensityProcessor.cpp.

◆ numInactive

size_t dd4hep::VisDensityProcessor::numInactive = 0

Definition at line 35 of file VisDensityProcessor.cpp.

◆ show

bool dd4hep::VisDensityProcessor::show = false

Definition at line 36 of file VisDensityProcessor.cpp.


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