CMS 3D CMS Logo

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
31 
32 // forward declarations
33 class AlignableObjectId;
34 
36 
37  public:
39  virtual ~MuonAlignmentOutputXML();
40 
41  // ---------- const member functions ---------------------
42 
43  // ---------- static member functions --------------------
44 
45  // ---------- member functions ---------------------------
46 
47  void write(AlignableMuon *alignableMuon, const edm::EventSetup &iSetup) const;
48 
49  private:
50  MuonAlignmentOutputXML(const MuonAlignmentOutputXML&); // stop default
51 
52  const MuonAlignmentOutputXML& operator=(const MuonAlignmentOutputXML&); // stop default
53 
54  void writeComponents(align::Alignables &alignables,
55  align::Alignables &ideals,
56  std::map<align::ID, CLHEP::HepSymMatrix>& errors,
57  std::ofstream &outputFile,
58  bool DT,
59  const AlignableObjectId&) const;
60 
61  // ---------- member data --------------------------------
68 };
69 
70 #endif
void write(AlignableMuon *alignableMuon, const edm::EventSetup &iSetup) const
Allows conversion between type and name, and vice-versa.
MuonAlignmentOutputXML(const edm::ParameterSet &iConfig)
const MuonAlignmentOutputXML & operator=(const MuonAlignmentOutputXML &)
void writeComponents(align::Alignables &alignables, align::Alignables &ideals, std::map< align::ID, CLHEP::HepSymMatrix > &errors, std::ofstream &outputFile, bool DT, const AlignableObjectId &) const
std::vector< Alignable * > Alignables
Definition: Utilities.h:31
Definition: errors.py:1
Constructor of the full muon geometry.
Definition: AlignableMuon.h:37