Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:55:07

0001 #ifndef DDL_Division_H
0002 #define DDL_Division_H
0003 
0004 #include <map>
0005 #include <string>
0006 
0007 #include "DDDividedGeometryObject.h"
0008 #include "DDXMLElement.h"
0009 #include "DetectorDescription/Core/interface/DDDivision.h"
0010 
0011 class DDCompactView;
0012 class DDDividedGeometryObject;
0013 class DDLElementRegistry;
0014 
0015 /// DDLDivision processes Division elements.
0016 /** @class DDLDivision
0017  * @author Michael Case
0018  *
0019  *  DDLDivision.h  -  description
0020  *  -------------------
0021  *  begin: Friday, April 23, 2004
0022  *  email: case@ucdhep.ucdavis.edu
0023  *
0024  *
0025  */
0026 
0027 class DDLDivision final : public DDXMLElement {
0028 public:
0029   DDLDivision(DDLElementRegistry* myreg);
0030 
0031   void preProcessElement(const std::string& name, const std::string& nmspace, DDCompactView& cpv) override;
0032   void processElement(const std::string& name, const std::string& nmspace, DDCompactView& cpv) override;
0033 
0034 private:
0035   DDDividedGeometryObject* makeDivider(const DDDivision& div, DDCompactView* cpv);
0036 };
0037 
0038 #endif