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

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

Inheritance diagram for dd4hep::VisMaterialProcessor:
dd4hep::PlacedVolumeProcessor

Public Member Functions

void _show ()
 Print properties. More...
 
 VisMaterialProcessor (Detector &desc)
 Initializing constructor. More...
 
virtual ~VisMaterialProcessor ()
 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
 
std::vector< AtomactiveElements
 
std::vector< MaterialactiveMaterials
 
std::vector< MaterialinactiveMaterials
 
VisAttr activeVis
 
VisAttr inactiveVis
 
double fraction = 100e-2
 
size_t numActive = 0
 
size_t numInactive = 0
 
bool setAllInactive = false
 
bool show = false
 

Detailed Description

DD4hep DetElement creator for the CMS geometry.

Definition at line 30 of file VisProcessor.cpp.

Constructor & Destructor Documentation

◆ VisMaterialProcessor()

VisMaterialProcessor::VisMaterialProcessor ( Detector desc)

Initializing constructor.

Definition at line 92 of file VisProcessor.cpp.

◆ ~VisMaterialProcessor()

VisMaterialProcessor::~VisMaterialProcessor ( )
virtual

Default destructor.

Definition at line 97 of file VisProcessor.cpp.

Member Function Documentation

◆ _show()

void VisMaterialProcessor::_show ( )

Print properties.

Definition at line 107 of file VisProcessor.cpp.

◆ operator()()

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

Callback to output PlacedVolume information of an single Placement.

Implements dd4hep::PlacedVolumeProcessor.

Definition at line 129 of file VisProcessor.cpp.

Member Data Documentation

◆ activeElements

std::vector<Atom> dd4hep::VisMaterialProcessor::activeElements

Definition at line 34 of file VisProcessor.cpp.

◆ activeMaterials

std::vector<Material> dd4hep::VisMaterialProcessor::activeMaterials

Definition at line 35 of file VisProcessor.cpp.

◆ activeVis

VisAttr dd4hep::VisMaterialProcessor::activeVis

Definition at line 37 of file VisProcessor.cpp.

◆ description

Detector& dd4hep::VisMaterialProcessor::description

Definition at line 32 of file VisProcessor.cpp.

◆ fraction

double dd4hep::VisMaterialProcessor::fraction = 100e-2

Definition at line 39 of file VisProcessor.cpp.

◆ inactiveMaterials

std::vector<Material> dd4hep::VisMaterialProcessor::inactiveMaterials

Definition at line 36 of file VisProcessor.cpp.

◆ inactiveVis

VisAttr dd4hep::VisMaterialProcessor::inactiveVis

Definition at line 38 of file VisProcessor.cpp.

◆ name

std::string dd4hep::VisMaterialProcessor::name

Definition at line 33 of file VisProcessor.cpp.

◆ numActive

size_t dd4hep::VisMaterialProcessor::numActive = 0

Definition at line 40 of file VisProcessor.cpp.

◆ numInactive

size_t dd4hep::VisMaterialProcessor::numInactive = 0

Definition at line 41 of file VisProcessor.cpp.

◆ setAllInactive

bool dd4hep::VisMaterialProcessor::setAllInactive = false

Definition at line 42 of file VisProcessor.cpp.

◆ show

bool dd4hep::VisMaterialProcessor::show = false

Definition at line 43 of file VisProcessor.cpp.


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