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

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

Inheritance diagram for dd4hep::VisVolNameProcessor:
dd4hep::PlacedVolumeProcessor

Public Types

typedef std::map< std::string, std::regex > Matches
 

Public Member Functions

void _show ()
 Print properties. More...
 
 VisVolNameProcessor (Detector &desc)
 Initializing constructor. More...
 
virtual ~VisVolNameProcessor ()
 Default destructor. More...
 
void set_match (const std::vector< std::string > &matches)
 Set volume matches. 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
 
Matches matches
 
std::string name
 
size_t numApplied = 0
 
bool show = false
 
VisAttr visattr
 

Detailed Description

DD4hep DetElement creator for the CMS geometry.

Definition at line 33 of file VisVolNameProcessor.cpp.

Member Typedef Documentation

◆ Matches

typedef std::map<std::string,std::regex> dd4hep::VisVolNameProcessor::Matches

Definition at line 35 of file VisVolNameProcessor.cpp.

Constructor & Destructor Documentation

◆ VisVolNameProcessor()

VisVolNameProcessor::VisVolNameProcessor ( Detector desc)

Initializing constructor.

Definition at line 81 of file VisVolNameProcessor.cpp.

◆ ~VisVolNameProcessor()

VisVolNameProcessor::~VisVolNameProcessor ( )
virtual

Default destructor.

Definition at line 87 of file VisVolNameProcessor.cpp.

Member Function Documentation

◆ _show()

void dd4hep::VisVolNameProcessor::_show ( )

Print properties.

◆ operator()()

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

Callback to output PlacedVolume information of an single Placement.

Implements dd4hep::PlacedVolumeProcessor.

Definition at line 101 of file VisVolNameProcessor.cpp.

◆ set_match()

void VisVolNameProcessor::set_match ( const std::vector< std::string > &  matches)

Set volume matches.

Definition at line 95 of file VisVolNameProcessor.cpp.

Member Data Documentation

◆ description

Detector& dd4hep::VisVolNameProcessor::description

Definition at line 36 of file VisVolNameProcessor.cpp.

◆ matches

Matches dd4hep::VisVolNameProcessor::matches

Definition at line 37 of file VisVolNameProcessor.cpp.

◆ name

std::string dd4hep::VisVolNameProcessor::name

Definition at line 38 of file VisVolNameProcessor.cpp.

◆ numApplied

size_t dd4hep::VisVolNameProcessor::numApplied = 0

Definition at line 39 of file VisVolNameProcessor.cpp.

◆ show

bool dd4hep::VisVolNameProcessor::show = false

Definition at line 40 of file VisVolNameProcessor.cpp.

◆ visattr

VisAttr dd4hep::VisVolNameProcessor::visattr

Definition at line 41 of file VisVolNameProcessor.cpp.


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