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 edm::EventSetup& iSetup);
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, const edm::EventSetup& iSetup);
49 
50  void saveDTSurveyToDB();
51  void saveCSCSurveyToDB();
52  void saveSurveyToDB();
53 
54  void saveDTtoDB();
55  void saveCSCtoDB();
56  void saveGEMtoDB();
57  void saveToDB();
58 
59 private:
60  void init();
62 
68 
72 
74 
76 
78 
80 };
81 
82 #endif //MuonAlignment_H
MuonAlignment::theGEMErrorRecordName
std::string theGEMErrorRecordName
Definition: MuonAlignment.h:65
MuonAlignmentInputMethod.h
MuonAlignment::esTokenGEM_
edm::ESGetToken< GEMGeometry, MuonGeometryRecord > esTokenGEM_
Definition: MuonAlignment.h:71
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:311
MuonAlignment::saveDTtoDB
void saveDTtoDB()
Definition: MuonAlignment.cc:316
MuonAlignment::copyAlignmentToSurvey
void copyAlignmentToSurvey(double shiftErr, double angleErr)
Definition: MuonAlignment.cc:132
Alignable
Definition: Alignable.h:27
MuonAlignment::theDTSurveyErrorRecordName
std::string theDTSurveyErrorRecordName
Definition: MuonAlignment.h:66
MuonAlignment::esTokenDT_
edm::ESGetToken< DTGeometry, MuonGeometryRecord > esTokenDT_
Definition: MuonAlignment.h:69
MuonAlignment::saveToDB
void saveToDB()
Definition: MuonAlignment.cc:364
MuonAlignment::esTokenCSC_
edm::ESGetToken< CSCGeometry, MuonGeometryRecord > esTokenCSC_
Definition: MuonAlignment.h:70
DetId
Definition: DetId.h:17
MuonAlignment
Definition: MuonAlignment.h:21
MuonAlignment::saveGEMtoDB
void saveGEMtoDB()
Definition: MuonAlignment.cc:348
MuonAlignment::recursiveCopySurveyToAlignment
void recursiveCopySurveyToAlignment(Alignable *alignable)
Definition: MuonAlignment.cc:203
MuonAlignment::init
void init()
Definition: MuonAlignment.cc:28
MuonAlignment::fillGapsInSurvey
void fillGapsInSurvey(double shiftErr, double angleErr)
Definition: MuonAlignment.cc:178
MuonAlignment::theCSCAlignRecordName
std::string theCSCAlignRecordName
Definition: MuonAlignment.h:64
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:121
MuonAlignment::writeXML
void writeXML(const edm::ParameterSet &iConfig, const edm::EventSetup &iSetup)
Definition: MuonAlignment.cc:241
convertSQLitetoXML_cfg.angleErr
angleErr
Definition: convertSQLitetoXML_cfg.py:70
MuonAlignment::displacements
align::Scalars displacements
Definition: MuonAlignment.h:73
MuonAlignment::theDTSurveyRecordName
std::string theDTSurveyRecordName
Definition: MuonAlignment.h:66
AlignableNavigator.h
MuonAlignment::theAlignableNavigator
AlignableNavigator * theAlignableNavigator
Definition: MuonAlignment.h:79
AlignableNavigator
Definition: AlignableNavigator.h:25
MuonAlignment::recursiveList
void recursiveList(const align::Alignables &alignables, align::Alignables &theList)
Definition: MuonAlignment.cc:100
MuonAlignment::theDTAlignRecordName
std::string theDTAlignRecordName
Definition: MuonAlignment.h:63
MuonAlignment::MuonAlignment
MuonAlignment(const edm::EventSetup &iSetup)
Definition: MuonAlignment.cc:43
edm::ParameterSet
Definition: ParameterSet.h:47
MuonAlignment::~MuonAlignment
~MuonAlignment()
Definition: MuonAlignment.h:27
MuonAlignment::moveAlignableGlobalCoord
void moveAlignableGlobalCoord(DetId &, align::Scalars &, align::Scalars &)
Definition: MuonAlignment.cc:82
AlignableMuon.h
AlignableMuon
Constructor of the full muon geometry.
Definition: AlignableMuon.h:38
MuonAlignment::copySurveyToAlignment
void copySurveyToAlignment()
Definition: MuonAlignment.cc:236
MuonAlignment::theCSCSurveyErrorRecordName
std::string theCSCSurveyErrorRecordName
Definition: MuonAlignment.h:67
MuonAlignment::getAlignableNavigator
AlignableNavigator * getAlignableNavigator()
Definition: MuonAlignment.h:34
edm::EventSetup
Definition: EventSetup.h:58
edm::ESGetToken< DTGeometry, MuonGeometryRecord >
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
MuonAlignment::moveAlignableLocalCoord
void moveAlignableLocalCoord(DetId &, align::Scalars &, align::Scalars &)
Definition: MuonAlignment.cc:63
align::Alignables
std::vector< Alignable * > Alignables
Definition: Utilities.h:31
Frameworkfwd.h
MuonAlignment::rotations
align::Scalars rotations
Definition: MuonAlignment.h:75
MuonAlignment::theAlignableMuon
AlignableMuon * theAlignableMuon
Definition: MuonAlignment.h:77
MuonAlignment::saveDTSurveyToDB
void saveDTSurveyToDB()
Definition: MuonAlignment.cc:245
MuonAlignment::saveCSCSurveyToDB
void saveCSCSurveyToDB()
Definition: MuonAlignment.cc:278
MuonAlignment::recursiveMap
void recursiveMap(const align::Alignables &alignables, std::map< align::ID, Alignable * > &theMap)
Definition: MuonAlignment.cc:109
MuonAlignment::theCSCSurveyRecordName
std::string theCSCSurveyRecordName
Definition: MuonAlignment.h:67
MuonAlignment::getAlignableMuon
AlignableMuon * getAlignableMuon()
Definition: MuonAlignment.h:32
genParticles_cff.map
map
Definition: genParticles_cff.py:11
ParameterSet.h
MuonAlignment::theCSCErrorRecordName
std::string theCSCErrorRecordName
Definition: MuonAlignment.h:64
MuonGeometryRecord.h
MuonAlignment::theDTErrorRecordName
std::string theDTErrorRecordName
Definition: MuonAlignment.h:63
MuonAlignment::saveCSCtoDB
void saveCSCtoDB()
Definition: MuonAlignment.cc:332
MuonAlignment::theGEMAlignRecordName
std::string theGEMAlignRecordName
Definition: MuonAlignment.h:65
MuonAlignmentInputMethod
Definition: MuonAlignmentInputMethod.h:34
cmsLHEtoEOSManager.theList
theList
Definition: cmsLHEtoEOSManager.py:194