DetectorDescription
Parser
src
DDLLogicalPart.h
Go to the documentation of this file.
1
#ifndef DDL_LogicalPart_H
2
#define DDL_LogicalPart_H
3
4
#include <map>
5
#include <string>
6
7
#include "
DDXMLElement.h
"
8
#include "
DetectorDescription/Core/interface/DDEnums.h
"
9
#include "
DetectorDescription/Core/interface/DDLogicalPart.h
"
10
11
class
DDCompactView
;
12
class
DDLElementRegistry
;
13
15
34
class
DDLLogicalPart
final :
public
DDXMLElement
{
35
public
:
36
DDLLogicalPart
(
DDLElementRegistry
* myreg);
37
38
void
preProcessElement
(
const
std::string
&
name
,
const
std::string
& nmspace,
DDCompactView
& cpv)
override
;
39
void
processElement
(
const
std::string
&
name
,
const
std::string
& nmspace,
DDCompactView
& cpv)
override
;
40
41
private
:
42
std::map<std::string, DDEnums::Category>
catMap_
;
43
};
44
45
#endif
DDLLogicalPart::preProcessElement
void preProcessElement(const std::string &name, const std::string &nmspace, DDCompactView &cpv) override
Called by loadAttributes AFTER attributes are loaded.
Definition:
DDLLogicalPart.cc:23
DDLElementRegistry
The main class for processing parsed elements.
Definition:
DDLElementRegistry.h:23
DDLLogicalPart
DDLLogicalPart processes LogicalPart elements.
Definition:
DDLLogicalPart.h:34
DDEnums.h
DDCompactView
Compact representation of the geometrical detector hierarchy.
Definition:
DDCompactView.h:80
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
DDXMLElement
This is a base class for processing XML elements in the DDD.
Definition:
DDXMLElement.h:48
DDLLogicalPart::DDLLogicalPart
DDLLogicalPart(DDLElementRegistry *myreg)
Definition:
DDLLogicalPart.cc:12
DDLLogicalPart::processElement
void processElement(const std::string &name, const std::string &nmspace, DDCompactView &cpv) override
Processing the element.
Definition:
DDLLogicalPart.cc:40
DDLogicalPart.h
DDXMLElement.h
Skims_PA_cff.name
name
Definition:
Skims_PA_cff.py:17
DDLLogicalPart::catMap_
std::map< std::string, DDEnums::Category > catMap_
Definition:
DDLLogicalPart.h:42
Generated for CMSSW Reference Manual by
1.8.16