CMS 3D CMS Logo

MuonAlignment.h
Go to the documentation of this file.
1 #ifndef Alignment_MuonAlignment_MuonAlignment_H
2 #define Alignment_MuonAlignment_MuonAlignment_H
3 
12 #include <map>
13 
20 
22 public:
23  MuonAlignment(const DTGeometry* dtGeometry, const CSCGeometry* cscGeometry, const GEMGeometry* gemGeometry);
24 
26 
28  delete theAlignableMuon;
29  delete theAlignableNavigator;
30  }
31 
33 
35 
38 
39  void recursiveList(const align::Alignables& alignables, align::Alignables& theList);
40  void recursiveMap(const align::Alignables& alignables, std::map<align::ID, Alignable*>& theMap);
41  void recursiveStructureMap(const align::Alignables& alignables,
42  std::map<std::pair<align::StructureType, align::ID>, Alignable*>& theMap);
43 
44  void copyAlignmentToSurvey(double shiftErr, double angleErr);
45  void fillGapsInSurvey(double shiftErr, double angleErr);
46  void copySurveyToAlignment();
47 
48  void writeXML(const edm::ParameterSet& iConfig,
49  const DTGeometry* dtGeometryXML,
50  const CSCGeometry* cscGeometryXML,
51  const GEMGeometry* gemGeometryXML);
52 
53  void saveDTSurveyToDB();
54  void saveCSCSurveyToDB();
55  void saveSurveyToDB();
56 
57  void saveDTtoDB();
58  void saveCSCtoDB();
59  void saveGEMtoDB();
60  void saveToDB();
61 
62 private:
63  void init();
65 
71 
75 
77 
79 
81 
83 };
84 
85 #endif //MuonAlignment_H
AlignableNavigator * theAlignableNavigator
Definition: MuonAlignment.h:82
std::string theCSCErrorRecordName
Definition: MuonAlignment.h:67
void copyAlignmentToSurvey(double shiftErr, double angleErr)
AlignableNavigator * getAlignableNavigator()
Definition: MuonAlignment.h:34
void copySurveyToAlignment()
std::string theGEMAlignRecordName
Definition: MuonAlignment.h:68
static std::string const input
Definition: EdmProvDump.cc:47
std::string theDTAlignRecordName
Definition: MuonAlignment.h:66
void recursiveCopySurveyToAlignment(Alignable *alignable)
void saveSurveyToDB()
std::string theGEMErrorRecordName
Definition: MuonAlignment.h:68
std::string theDTSurveyRecordName
Definition: MuonAlignment.h:69
void writeXML(const edm::ParameterSet &iConfig, const DTGeometry *dtGeometryXML, const CSCGeometry *cscGeometryXML, const GEMGeometry *gemGeometryXML)
AlignableMuon * getAlignableMuon()
Definition: MuonAlignment.h:32
std::vector< Scalar > Scalars
Definition: Utilities.h:26
void saveDTSurveyToDB()
const DTGeometry * dtGeometry_
Definition: MuonAlignment.h:72
std::string theCSCSurveyErrorRecordName
Definition: MuonAlignment.h:70
AlignableMuon * theAlignableMuon
Definition: MuonAlignment.h:80
std::string theCSCSurveyRecordName
Definition: MuonAlignment.h:70
std::string theDTSurveyErrorRecordName
Definition: MuonAlignment.h:69
Definition: DetId.h:17
void fillGapsInSurvey(double shiftErr, double angleErr)
void recursiveList(const align::Alignables &alignables, align::Alignables &theList)
void recursiveStructureMap(const align::Alignables &alignables, std::map< std::pair< align::StructureType, align::ID >, Alignable *> &theMap)
void moveAlignableLocalCoord(DetId &, align::Scalars &, align::Scalars &)
std::vector< Alignable * > Alignables
Definition: Utilities.h:31
align::Scalars rotations
Definition: MuonAlignment.h:78
void moveAlignableGlobalCoord(DetId &, align::Scalars &, align::Scalars &)
std::string theCSCAlignRecordName
Definition: MuonAlignment.h:67
const GEMGeometry * gemGeometry_
Definition: MuonAlignment.h:74
std::string theDTErrorRecordName
Definition: MuonAlignment.h:66
const CSCGeometry * cscGeometry_
Definition: MuonAlignment.h:73
align::Scalars displacements
Definition: MuonAlignment.h:76
Constructor of the full muon geometry.
Definition: AlignableMuon.h:38
void recursiveMap(const align::Alignables &alignables, std::map< align::ID, Alignable *> &theMap)
MuonAlignment(const DTGeometry *dtGeometry, const CSCGeometry *cscGeometry, const GEMGeometry *gemGeometry)
void saveCSCSurveyToDB()