Go to the documentation of this file.00001 #ifndef Alignment_MuonAlignment_MuonAlignmentOutputXML_h
00002 #define Alignment_MuonAlignment_MuonAlignmentOutputXML_h
00003
00004
00005
00006
00007
00016
00017
00018
00019
00020
00021
00022
00023 #include <fstream>
00024
00025 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00026 #include "FWCore/Framework/interface/EventSetup.h"
00027
00028
00029 #include "Alignment/MuonAlignment/interface/AlignableMuon.h"
00030 #include "CondFormats/Alignment/interface/AlignTransformError.h"
00031
00032
00033
00034 class MuonAlignmentOutputXML {
00035
00036 public:
00037 MuonAlignmentOutputXML(const edm::ParameterSet &iConfig);
00038 virtual ~MuonAlignmentOutputXML();
00039
00040
00041
00042
00043
00044
00045
00046 void write(AlignableMuon *alignableMuon, const edm::EventSetup &iSetup) const;
00047
00048 private:
00049 MuonAlignmentOutputXML(const MuonAlignmentOutputXML&);
00050
00051 const MuonAlignmentOutputXML& operator=(const MuonAlignmentOutputXML&);
00052
00053 void writeComponents(std::vector<Alignable*> &alignables, std::vector<Alignable*> &ideals,
00054 std::map<align::ID, CLHEP::HepSymMatrix>& errors, std::ofstream &outputFile, bool DT) const;
00055
00056
00057 std::string m_fileName;
00058 int m_relativeto;
00059 bool m_survey, m_rawIds, m_eulerAngles;
00060 int m_precision;
00061 bool m_suppressDTBarrel, m_suppressDTWheels, m_suppressDTStations, m_suppressDTChambers, m_suppressDTSuperLayers, m_suppressDTLayers;
00062 bool m_suppressCSCEndcaps, m_suppressCSCStations, m_suppressCSCRings, m_suppressCSCChambers, m_suppressCSCLayers;
00063 };
00064
00065 #endif