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, const RecoIdealGeometry& rig, const CSCRecoDigiParameters& cscpars);
30 
31 private:
33  void buildChamber(CSCGeometry& theGeometry, // the geometry container
34  CSCDetId chamberId, // the DetId of this chamber
35  const std::vector<float>& fpar, // volume parameters
36  const std::vector<float>& fupar, // user parameters
37  const std::vector<float>& gtran, // translation vector
38  const std::vector<float>& grmat, // rotation matrix
39  const CSCWireGroupPackage& wg // wire group info
40  );
41 
43 };
44 #endif
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.