CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 
19 
21 
22  public:
23 
24  MuonAlignment( const edm::EventSetup& iSetup );
25 
27 
29 
31 
33 
34 
37 
38  void recursiveList(const align::Alignables& alignables, align::Alignables &theList);
39  void recursiveMap(const align::Alignables& alignables, std::map<align::ID, Alignable*> &theMap);
40  void recursiveStructureMap(const align::Alignables& alignables, std::map<std::pair<align::StructureType, align::ID>, Alignable*> &theMap);
41 
42  void copyAlignmentToSurvey(double shiftErr, double angleErr);
43  void fillGapsInSurvey(double shiftErr, double angleErr);
44  void copySurveyToAlignment();
45 
46  void writeXML(const edm::ParameterSet &iConfig, const edm::EventSetup &iSetup);
47 
48  void saveDTSurveyToDB();
49  void saveCSCSurveyToDB();
50  void saveSurveyToDB();
51 
52  void saveDTtoDB();
53  void saveCSCtoDB();
54  void saveToDB();
55 
56 
57  private:
58  void init();
60 
65 
67 
69 
71 
73 };
74 
75 #endif //MuonAlignment_H
AlignableNavigator * theAlignableNavigator
Definition: MuonAlignment.h:72
std::string theCSCErrorRecordName
Definition: MuonAlignment.h:62
void copyAlignmentToSurvey(double shiftErr, double angleErr)
AlignableNavigator * getAlignableNavigator()
Definition: MuonAlignment.h:32
void copySurveyToAlignment()
MuonAlignment(const edm::EventSetup &iSetup)
static std::string const input
Definition: EdmProvDump.cc:43
std::string theDTAlignRecordName
Definition: MuonAlignment.h:61
void recursiveCopySurveyToAlignment(Alignable *alignable)
void saveSurveyToDB()
std::string theDTSurveyRecordName
Definition: MuonAlignment.h:63
AlignableMuon * getAlignableMuon()
Definition: MuonAlignment.h:30
std::vector< Scalar > Scalars
Definition: Utilities.h:22
void saveDTSurveyToDB()
std::string theCSCSurveyErrorRecordName
Definition: MuonAlignment.h:64
AlignableMuon * theAlignableMuon
Definition: MuonAlignment.h:70
std::string theCSCSurveyRecordName
Definition: MuonAlignment.h:64
std::string theDTSurveyErrorRecordName
Definition: MuonAlignment.h:63
Definition: DetId.h:18
void fillGapsInSurvey(double shiftErr, double angleErr)
void recursiveList(const align::Alignables &alignables, align::Alignables &theList)
void moveAlignableLocalCoord(DetId &, align::Scalars &, align::Scalars &)
std::vector< Alignable * > Alignables
Definition: Utilities.h:28
align::Scalars rotations
Definition: MuonAlignment.h:68
void moveAlignableGlobalCoord(DetId &, align::Scalars &, align::Scalars &)
std::string theCSCAlignRecordName
Definition: MuonAlignment.h:62
void recursiveMap(const align::Alignables &alignables, std::map< align::ID, Alignable * > &theMap)
std::string theDTErrorRecordName
Definition: MuonAlignment.h:61
void recursiveStructureMap(const align::Alignables &alignables, std::map< std::pair< align::StructureType, align::ID >, Alignable * > &theMap)
void writeXML(const edm::ParameterSet &iConfig, const edm::EventSetup &iSetup)
align::Scalars displacements
Definition: MuonAlignment.h:66
Constructor of the full muon geometry.
Definition: AlignableMuon.h:36
void saveCSCSurveyToDB()