Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 #ifndef DDL_CompositeMaterial_H
0002 #define DDL_CompositeMaterial_H
0003 
0004 #include <string>
0005 
0006 // -------------------------------------------------------------------------
0007 // Includes
0008 // -------------------------------------------------------------------------
0009 #include "DDLMaterial.h"
0010 
0011 class DDCompactView;
0012 class DDLElementRegistry;
0013 
0014 /// DDLCompositeMaterial processes all CompositeMaterial elements.
0015 /** @class DDLCompositeMaterial.
0016  * @author Michael Case
0017  *                                                                         
0018  *   DDLCompositeMaterial.h  -  description
0019  *   -------------------
0020  *   begin: Wed Oct 31 2001
0021  *   email: case@ucdhep.ucdavis.edu
0022  * 
0023  * This is the processor for CompositeMaterial DDL elements.
0024  *                       
0025  * The CompositeMaterial is an element that contains other elements.  In 
0026  * particular, it contains rMaterial elements which are references either  
0027  * to other Composite or Elementary materials.                             
0028  *                                                                         
0029  */
0030 
0031 class DDLCompositeMaterial final : public DDLMaterial {
0032 public:
0033   DDLCompositeMaterial(DDLElementRegistry* myreg);
0034 
0035   void preProcessElement(const std::string& name, const std::string& nmspace, DDCompactView& cpv) override;
0036   void processElement(const std::string& name, const std::string& nmspace, DDCompactView& cpv) override;
0037 };
0038 
0039 #endif