PageRenderTime 21ms CodeModel.GetById 18ms app.highlight 1ms RepoModel.GetById 0ms app.codeStats 0ms

/DetectorDescription/Parser/src/DDLPolyGenerator.h

https://github.com/aivanov-cern/cmssw
C Header | 40 lines | 13 code | 9 blank | 18 comment | 0 complexity | 057423adbfaacbde63b90974e465c9ad MD5 | raw file
 1#ifndef DDL_PolyGenerator_H
 2#define DDL_PolyGenerator_H
 3
 4#include "DDLSolid.h"
 5
 6#include <string>
 7
 8/// DDLPolyGenerator processes DDL XML Polycone and DDL XML Polyhedra elements.
 9/** @class DDLPolyGenerator
10 * @author Michael Case
11 *
12 *  DDLPolyGenerator.h  -  description
13 *  -------------------
14 *  begin: Mon Aug 5 2002
15 *  email: case@ucdhep.ucdavis.edu
16 *
17 *  The PolyGenerator element uses RZPoint elements.  The DDLRZPoint
18 *  can return the r and z std::vectors with the points needed to form the
19 *  polycone.  The RZPoint "accumulator" is also used by the Polyhedra
20 *  and Polycone elements, and could be used anywhere a pair of std::vectors
21 *  of r and z values are needed.
22 *
23 */
24
25class DDLPolyGenerator : public DDLSolid
26{
27public:
28
29  /// Constructor
30  DDLPolyGenerator( DDLElementRegistry* myreg );
31
32  /// Destructor
33  ~DDLPolyGenerator( void );
34
35  void processElement( const std::string& name, const std::string& nmspace, DDCompactView& cpv ); 
36
37  void preProcessElement( const std::string& name, const std::string& nmspace, DDCompactView& cpv ); 
38};
39
40#endif