Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 #ifndef DDLMaterial_H
0002 #define DDLMaterial_H
0003 
0004 #include <string>
0005 
0006 // -------------------------------------------------------------------------
0007 // Includes
0008 // -------------------------------------------------------------------------
0009 #include "DDXMLElement.h"
0010 
0011 class DDCompactView;
0012 class DDLElementRegistry;
0013 
0014 /// DDLMaterial processes Box elements.
0015 /** @class DDLMaterial
0016  * @author Michael Case
0017  *                                                                       
0018  *  DDLMaterial.h  -  description
0019  *  -------------------
0020  *  begin: Fri Oct 04 2002
0021  *  email: case@ucdhep.ucdavis.edu
0022  *
0023  *  This class currently serves one purpose only.  That is to create a
0024  *  reference to the most recently created Material, no matter whether
0025  *  it is an ElementaryMaterial or CompositeMaterial.
0026  *                                                                         
0027  */
0028 
0029 class DDLMaterial : public DDXMLElement {
0030 public:
0031   DDLMaterial(DDLElementRegistry* myreg);
0032 
0033   virtual void setReference(const std::string& nmspace, DDCompactView& cpv);
0034 };
0035 
0036 #endif