Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 #ifndef DDL_ElementaryMaterial_H
0002 #define DDL_ElementaryMaterial_H
0003 
0004 #include <string>
0005 
0006 // -------------------------------------------------------------------------
0007 // Includes
0008 // -------------------------------------------------------------------------
0009 #include "DDLMaterial.h"
0010 
0011 class DDCompactView;
0012 class DDLElementRegistry;
0013 
0014 /// DDLElementaryMaterial processes ElementaryMaterial elements.
0015 /** @class DDLElementaryMaterial
0016  * @author Michael Case
0017  * 
0018  *  DDLElementaryMaterial.h  -  description
0019  *  -------------------
0020  *  begin                : Wed Oct 31 2001
0021  *  email                : case@ucdhep.ucdavis.edu
0022  *
0023  *  A simple or elementary material.  Some systems distinguish between ions
0024  *  and elements (in the chemical sense).  The DDL and this Parser
0025  *  deal with them all as ElementaryMaterial elements (in the XML sense).
0026  *
0027  */
0028 class DDLElementaryMaterial final : public DDLMaterial {
0029 public:
0030   DDLElementaryMaterial(DDLElementRegistry* myreg);
0031 
0032   void processElement(const std::string& name, const std::string& nmspace, DDCompactView& cpv) override;
0033 };
0034 
0035 #endif