CMS 3D CMS Logo

CSCGeometryBuilder.h
Go to the documentation of this file.
1 #ifndef CSCGeometryBuilder_CSCGeometryBuilder_h
2 #define CSCGeometryBuilder_CSCGeometryBuilder_h
3 
15 
16 #include <string>
17 
18 class CSCGeometry;
19 
21 public:
24 
26  virtual ~CSCGeometryBuilder();
27 
29  void build( CSCGeometry& theGeometry
30  , const RecoIdealGeometry& rig
31  , const CSCRecoDigiParameters& cscpars ) ;
32 
33 private:
35  void buildChamber (
36  CSCGeometry& theGeometry // the geometry container
37  , CSCDetId chamberId // the DetId of this chamber
38  , const std::vector<float>& fpar // volume parameters
39  , const std::vector<float>& fupar // user parameters
40  , const std::vector<float>& gtran // translation vector
41  , const std::vector<float>& grmat // rotation matrix
42  , const CSCWireGroupPackage& wg // wire group info
43  );
44 
46 
47 };
48 #endif
49 
void build(CSCGeometry &theGeometry, const RecoIdealGeometry &rig, const CSCRecoDigiParameters &cscpars)
Build the geometry.
void buildChamber(CSCGeometry &theGeometry, CSCDetId chamberId, const std::vector< float > &fpar, const std::vector< float > &fupar, const std::vector< float > &gtran, const std::vector< float > &grmat, const CSCWireGroupPackage &wg)
Build one CSC chamber, and its component layers, and add them to the geometry.
const std::string myName
CSCGeometryBuilder()
Constructor.
virtual ~CSCGeometryBuilder()
Destructor.