CMS 3D CMS Logo

DDLDivision.h
Go to the documentation of this file.
1 #ifndef DDL_Division_H
2 #define DDL_Division_H
3 
4 #include <map>
5 #include <string>
6 
8 #include "DDXMLElement.h"
10 
11 class DDCompactView;
13 class DDLElementRegistry;
14 
16 
27 class DDLDivision final : public DDXMLElement {
28 public:
30 
31  void preProcessElement(const std::string& name, const std::string& nmspace, DDCompactView& cpv) override;
32  void processElement(const std::string& name, const std::string& nmspace, DDCompactView& cpv) override;
33 
34 private:
36 };
37 
38 #endif
DDLDivision processes Division elements.
Definition: DDLDivision.h:27
Compact representation of the geometrical detector hierarchy.
Definition: DDCompactView.h:80
DDDividedGeometryObject * makeDivider(const DDDivision &div, DDCompactView *cpv)
Definition: DDLDivision.cc:83
This is a base class for processing XML elements in the DDD.
Definition: DDXMLElement.h:48
The main class for processing parsed elements.
DDLDivision(DDLElementRegistry *myreg)
Definition: DDLDivision.cc:26
void processElement(const std::string &name, const std::string &nmspace, DDCompactView &cpv) override
Processing the element.
Definition: DDLDivision.cc:30
void preProcessElement(const std::string &name, const std::string &nmspace, DDCompactView &cpv) override
Called by loadAttributes AFTER attributes are loaded.
Definition: DDLDivision.cc:28