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 
19 
21 public:
22  MuonAlignment(const edm::EventSetup& iSetup);
23 
25 
27  delete theAlignableMuon;
28  delete theAlignableNavigator;
29  }
30 
32 
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,
41  std::map<std::pair<align::StructureType, align::ID>, Alignable*>& theMap);
42 
43  void copyAlignmentToSurvey(double shiftErr, double angleErr);
44  void fillGapsInSurvey(double shiftErr, double angleErr);
45  void copySurveyToAlignment();
46 
47  void writeXML(const edm::ParameterSet& iConfig, const edm::EventSetup& iSetup);
48 
49  void saveDTSurveyToDB();
50  void saveCSCSurveyToDB();
51  void saveSurveyToDB();
52 
53  void saveDTtoDB();
54  void saveCSCtoDB();
55  void saveToDB();
56 
57 private:
58  void init();
60 
65 
67 
69 
71 
73 };
74 
75 #endif //MuonAlignment_H
MuonAlignmentInputMethod.h
input
static const std::string input
Definition: EdmProvDump.cc:48
align::Scalars
std::vector< Scalar > Scalars
Definition: Utilities.h:26
MuonAlignment::saveSurveyToDB
void saveSurveyToDB()
Definition: MuonAlignment.cc:308
MuonAlignment::saveDTtoDB
void saveDTtoDB()
Definition: MuonAlignment.cc:313
MuonAlignment::copyAlignmentToSurvey
void copyAlignmentToSurvey(double shiftErr, double angleErr)
Definition: MuonAlignment.cc:134
Alignable
Definition: Alignable.h:27
MuonAlignment::theDTSurveyErrorRecordName
std::string theDTSurveyErrorRecordName
Definition: MuonAlignment.h:63
MuonAlignment::saveToDB
void saveToDB()
Definition: MuonAlignment.cc:345
DetId
Definition: DetId.h:17
MuonAlignment
Definition: MuonAlignment.h:20
MuonAlignment::recursiveCopySurveyToAlignment
void recursiveCopySurveyToAlignment(Alignable *alignable)
Definition: MuonAlignment.cc:200
MuonAlignment::init
void init()
Definition: MuonAlignment.cc:31
MuonAlignment::fillGapsInSurvey
void fillGapsInSurvey(double shiftErr, double angleErr)
Definition: MuonAlignment.cc:175
MuonAlignment::theCSCAlignRecordName
std::string theCSCAlignRecordName
Definition: MuonAlignment.h:62
convertSQLitetoXML_cfg.shiftErr
shiftErr
Definition: convertSQLitetoXML_cfg.py:69
MuonAlignment::recursiveStructureMap
void recursiveStructureMap(const align::Alignables &alignables, std::map< std::pair< align::StructureType, align::ID >, Alignable * > &theMap)
Definition: MuonAlignment.cc:123
MuonAlignment::writeXML
void writeXML(const edm::ParameterSet &iConfig, const edm::EventSetup &iSetup)
Definition: MuonAlignment.cc:238
convertSQLitetoXML_cfg.angleErr
angleErr
Definition: convertSQLitetoXML_cfg.py:70
MuonAlignment::displacements
align::Scalars displacements
Definition: MuonAlignment.h:66
MuonAlignment::theDTSurveyRecordName
std::string theDTSurveyRecordName
Definition: MuonAlignment.h:63
AlignableNavigator.h
MuonAlignment::theAlignableNavigator
AlignableNavigator * theAlignableNavigator
Definition: MuonAlignment.h:72
AlignableNavigator
Definition: AlignableNavigator.h:25
MuonAlignment::recursiveList
void recursiveList(const align::Alignables &alignables, align::Alignables &theList)
Definition: MuonAlignment.cc:102
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
MuonAlignment::theDTAlignRecordName
std::string theDTAlignRecordName
Definition: MuonAlignment.h:61
MuonAlignment::MuonAlignment
MuonAlignment(const edm::EventSetup &iSetup)
Definition: MuonAlignment.cc:44
edm::ParameterSet
Definition: ParameterSet.h:47
MuonAlignment::~MuonAlignment
~MuonAlignment()
Definition: MuonAlignment.h:26
MuonAlignment::moveAlignableGlobalCoord
void moveAlignableGlobalCoord(DetId &, align::Scalars &, align::Scalars &)
Definition: MuonAlignment.cc:84
AlignableMuon.h
AlignableMuon
Constructor of the full muon geometry.
Definition: AlignableMuon.h:33
MuonAlignment::copySurveyToAlignment
void copySurveyToAlignment()
Definition: MuonAlignment.cc:233
MuonAlignment::theCSCSurveyErrorRecordName
std::string theCSCSurveyErrorRecordName
Definition: MuonAlignment.h:64
MuonAlignment::getAlignableNavigator
AlignableNavigator * getAlignableNavigator()
Definition: MuonAlignment.h:33
edm::EventSetup
Definition: EventSetup.h:57
MuonAlignment::moveAlignableLocalCoord
void moveAlignableLocalCoord(DetId &, align::Scalars &, align::Scalars &)
Definition: MuonAlignment.cc:65
align::Alignables
std::vector< Alignable * > Alignables
Definition: Utilities.h:31
Frameworkfwd.h
MuonAlignment::rotations
align::Scalars rotations
Definition: MuonAlignment.h:68
MuonAlignment::theAlignableMuon
AlignableMuon * theAlignableMuon
Definition: MuonAlignment.h:70
MuonAlignment::saveDTSurveyToDB
void saveDTSurveyToDB()
Definition: MuonAlignment.cc:242
MuonAlignment::saveCSCSurveyToDB
void saveCSCSurveyToDB()
Definition: MuonAlignment.cc:275
MuonAlignment::recursiveMap
void recursiveMap(const align::Alignables &alignables, std::map< align::ID, Alignable * > &theMap)
Definition: MuonAlignment.cc:111
MuonAlignment::theCSCSurveyRecordName
std::string theCSCSurveyRecordName
Definition: MuonAlignment.h:64
MuonAlignment::getAlignableMuon
AlignableMuon * getAlignableMuon()
Definition: MuonAlignment.h:31
genParticles_cff.map
map
Definition: genParticles_cff.py:11
ParameterSet.h
MuonAlignment::theCSCErrorRecordName
std::string theCSCErrorRecordName
Definition: MuonAlignment.h:62
MuonAlignment::theDTErrorRecordName
std::string theDTErrorRecordName
Definition: MuonAlignment.h:61
MuonAlignment::saveCSCtoDB
void saveCSCtoDB()
Definition: MuonAlignment.cc:329
MuonAlignmentInputMethod
Definition: MuonAlignmentInputMethod.h:34
cmsLHEtoEOSManager.theList
theList
Definition: cmsLHEtoEOSManager.py:194