CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
MuonAlignmentOutputXML.h
Go to the documentation of this file.
1 #ifndef Alignment_MuonAlignment_MuonAlignmentOutputXML_h
2 #define Alignment_MuonAlignment_MuonAlignmentOutputXML_h
3 // -*- C++ -*-
4 //
5 // Package: MuonAlignment
6 // Class : MuonAlignmentOutputXML
7 //
16 //
17 // Original Author: Jim Pivarski
18 // Created: Fri Mar 14 18:02:28 CDT 2008
19 // $Id: MuonAlignmentOutputXML.h,v 1.3 2008/05/17 18:10:19 pivarski Exp $
20 //
21 
22 // system include files
23 #include <fstream>
24 
27 
28 // user include files
34 // forward declarations
35 class AlignableObjectId;
36 
38 public:
40  const DTGeometry *dtGeometry,
41  const CSCGeometry *cscGeometry,
42  const GEMGeometry *gemGeometry);
43  virtual ~MuonAlignmentOutputXML();
44 
45  // ---------- const member functions ---------------------
46 
47  // ---------- static member functions --------------------
48 
49  // ---------- member functions ---------------------------
50 
51  void write(AlignableMuon *alignableMuon) const;
52 
53  MuonAlignmentOutputXML(const MuonAlignmentOutputXML &) = delete; // stop default
54 
55  const MuonAlignmentOutputXML &operator=(const MuonAlignmentOutputXML &) = delete; // stop default
56 
57 private:
58  enum { doDT, doCSC, doGEM };
59  void writeComponents(align::Alignables &alignables,
60  align::Alignables &ideals,
61  std::map<align::ID, CLHEP::HepSymMatrix> &errors,
62  std::ofstream &outputFile,
63  const int doDet,
64  const AlignableObjectId &) const;
65 
66  // ---------- member data --------------------------------
76 
80 };
81 
82 #endif
const GEMGeometry * gemGeometry_
const CSCGeometry * cscGeometry_
const DTGeometry * dtGeometry_
Allows conversion between type and name, and vice-versa.
MuonAlignmentOutputXML(const edm::ParameterSet &iConfig, const DTGeometry *dtGeometry, const CSCGeometry *cscGeometry, const GEMGeometry *gemGeometry)
void writeComponents(align::Alignables &alignables, align::Alignables &ideals, std::map< align::ID, CLHEP::HepSymMatrix > &errors, std::ofstream &outputFile, const int doDet, const AlignableObjectId &) const
std::vector< Alignable * > Alignables
Definition: Utilities.h:31
const MuonAlignmentOutputXML & operator=(const MuonAlignmentOutputXML &)=delete
void write(AlignableMuon *alignableMuon) const
Constructor of the full muon geometry.
Definition: AlignableMuon.h:38