Classes | |
struct | Count |
struct | Data |
Public Member Functions | |
DDCMSDetElementCreator (dd4hep::Detector &) | |
int | operator() (dd4hep::PlacedVolume volume, int level) override |
Callback to output PlacedVolume information of an single Placement. More... | |
int | process (dd4hep::PlacedVolume volume, int level, bool recursive) override |
Callback to output PlacedVolume information of an entire Placement. More... | |
~DDCMSDetElementCreator () override | |
Private Types | |
using | Counters = std::map< dd4hep::DetElement, Count > |
using | Detectors = std::map< std::string, dd4hep::DetElement > |
using | LeafCount = std::map< std::pair< dd4hep::DetElement, int >, std::pair< int, int > > |
using | VolumeStack = std::vector< Data > |
Private Member Functions | |
dd4hep::DetElement | addSubdetector (const std::string &nam, dd4hep::PlacedVolume volume, bool valid) |
dd4hep::DetElement | createElement (const char *debugTag, dd4hep::PlacedVolume volume, int id) |
void | createTopLevelDetectors (dd4hep::PlacedVolume volume) |
Private Attributes | |
std::map< dd4hep::PlacedVolume, std::pair< int, int > > | m_allPlacements |
Counters | m_counters |
dd4hep::DetElement | m_currentDetector |
dd4hep::SensitiveDetector | m_currentSensitive |
dd4hep::Detector & | m_description |
LeafCount | m_leafCount |
dd4hep::Atom | m_silicon |
VolumeStack | m_stack |
Detectors | m_subdetectors |
dd4hep::DetElement | m_tracker |
Definition at line 19 of file DDCMSDetElementCreator.cc.
|
private |
Definition at line 65 of file DDCMSDetElementCreator.cc.
|
private |
Definition at line 64 of file DDCMSDetElementCreator.cc.
|
private |
Definition at line 66 of file DDCMSDetElementCreator.cc.
|
private |
Definition at line 67 of file DDCMSDetElementCreator.cc.
DDCMSDetElementCreator::DDCMSDetElementCreator | ( | dd4hep::Detector & | desc | ) |
Definition at line 95 of file DDCMSDetElementCreator.cc.
References m_description, m_silicon, and m_stack.
Referenced by createObject().
|
override |
Create ID Descriptors and readout configurations
Definition at line 107 of file DDCMSDetElementCreator.cc.
References bits, EnergyCorrector::c, DEBUG, cms::DDCMSDetElementCreator::Count::elements, f, callgraph::fields, MessageLogger_cfi::INFO, checklumidiff::l, m_allPlacements, m_counters, m_description, m_leafCount, AlCaHLTBitMon_ParallelJobs::p, lumiQueryAPI::q, sd, cms::DDCMSDetElementCreator::Count::sensitives, str, AlCaHLTBitMon_QueryRunRegistry::string, pileupDistInMC::total, simpleEdmComparison::totalCount, and cms::DDCMSDetElementCreator::Count::volumes.
|
private |
Definition at line 224 of file DDCMSDetElementCreator.cc.
References m_description, and m_subdetectors.
Referenced by createTopLevelDetectors().
|
private |
Definition at line 203 of file DDCMSDetElementCreator.cc.
References cms::detElementName(), and dataset::name.
Referenced by process().
|
private |
Definition at line 211 of file DDCMSDetElementCreator.cc.
References addSubdetector(), data, cms::detElementName(), m_currentDetector, m_stack, and m_tracker.
Referenced by process().
|
override |
Callback to output PlacedVolume information of an single Placement.
Definition at line 240 of file DDCMSDetElementCreator.cc.
References data, MillePedeFileConverter_cfg::e, cms::DDCMSDetElementCreator::Data::hasSensitive, training_settings::idx, m_allPlacements, m_currentDetector, m_leafCount, m_silicon, m_stack, SiStripPI::max, cms::DDCMSDetElementCreator::Data::sensitive, and cms::DDCMSDetElementCreator::Data::volumeCount.
|
override |
Callback to output PlacedVolume information of an entire Placement.
Complete structures if the m_stack size is > 3!
If this volume is sensitve, we must attach a sensitive detector handle
Now the cleanup kicks in....
Definition at line 259 of file DDCMSDetElementCreator.cc.
References createElement(), createTopLevelDetectors(), data, DEBUG, training_settings::idx, hcalDigis_cfi::level, m_allPlacements, m_counters, m_currentDetector, m_currentSensitive, m_description, m_leafCount, m_stack, SiStripPI::max, class-composition::parent, LaserDQM_cfg::process, sd, and dqm::qstatus::WARNING.
Referenced by Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::dumpPython(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::open(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::outputEventContent(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::setProcess(), and Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::setProperty().
|
private |
Definition at line 69 of file DDCMSDetElementCreator.cc.
Referenced by operator()(), process(), and ~DDCMSDetElementCreator().
|
private |
Definition at line 71 of file DDCMSDetElementCreator.cc.
Referenced by process(), and ~DDCMSDetElementCreator().
|
private |
Definition at line 75 of file DDCMSDetElementCreator.cc.
Referenced by createTopLevelDetectors(), operator()(), and process().
|
private |
Definition at line 76 of file DDCMSDetElementCreator.cc.
Referenced by process().
|
private |
Definition at line 77 of file DDCMSDetElementCreator.cc.
Referenced by addSubdetector(), DDCMSDetElementCreator(), process(), and ~DDCMSDetElementCreator().
|
private |
Definition at line 72 of file DDCMSDetElementCreator.cc.
Referenced by operator()(), process(), and ~DDCMSDetElementCreator().
|
private |
Definition at line 78 of file DDCMSDetElementCreator.cc.
Referenced by DDCMSDetElementCreator(), and operator()().
|
private |
Definition at line 73 of file DDCMSDetElementCreator.cc.
Referenced by createTopLevelDetectors(), DDCMSDetElementCreator(), operator()(), and process().
|
private |
Definition at line 74 of file DDCMSDetElementCreator.cc.
Referenced by addSubdetector().
|
private |
Definition at line 75 of file DDCMSDetElementCreator.cc.
Referenced by createTopLevelDetectors().