Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:05:33

0001 #ifndef DDL_PosPart_H
0002 #define DDL_PosPart_H
0003 
0004 #include <string>
0005 
0006 #include "DDXMLElement.h"
0007 
0008 class DDCompactView;
0009 class DDLElementRegistry;
0010 
0011 /// DDLPosPart handles PosPart elements.
0012 /** @class DDLPosPart
0013  * @author Michael Case
0014  *
0015  *  DDLPosPart.h  -  description
0016  *  -------------------
0017  *  begin: Tue Oct 30 2001
0018  *  email: case@ucdhep.ucdavis.edu
0019  *
0020  *  A PosPart (or Positioning Part or Part Positioner :-)) is used to
0021  *  position a LogicalPart somewhere inside it's parent.  So, A PosPart
0022  *  needs two rLogicalParts (self and parent) on which to operate, a
0023  *  Translation and a Rotation. 
0024  *
0025  */
0026 
0027 class DDLPosPart final : public DDXMLElement {
0028 public:
0029   DDLPosPart(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 
0035 #endif