CMS 3D CMS Logo

MuonAlignmentOutputXML.cc
Go to the documentation of this file.
1 // -*- C++ -*-
2 //
3 // Package: MuonAlignment
4 // Class : MuonAlignmentOutputXML
5 //
6 // Implementation:
7 // <Notes on implementation>
8 //
9 // Original Author:
10 // Created: Fri Mar 14 18:02:33 CDT 2008
11 // $Id: MuonAlignmentOutputXML.cc,v 1.9 2011/06/07 19:38:24 khotilov Exp $
12 //
13 
14 // system include files
17 
18 // user include files
30 
31 //
32 // constants, enums and typedefs
33 //
34 
35 //
36 // static data member definitions
37 //
38 
39 //
40 // constructors and destructor
41 //
43  : m_fileName(iConfig.getParameter<std::string>("fileName")),
44  m_survey(iConfig.getParameter<bool>("survey")),
45  m_rawIds(iConfig.getParameter<bool>("rawIds")),
46  m_eulerAngles(iConfig.getParameter<bool>("eulerAngles")),
47  m_precision(iConfig.getParameter<int>("precision")),
48  m_suppressDTBarrel(iConfig.getUntrackedParameter<bool>("suppressDTBarrel", false)),
49  m_suppressDTWheels(iConfig.getUntrackedParameter<bool>("suppressDTWheels", false)),
50  m_suppressDTStations(iConfig.getUntrackedParameter<bool>("suppressDTStations", false)),
51  m_suppressDTChambers(iConfig.getUntrackedParameter<bool>("suppressDTChambers", false)),
52  m_suppressDTSuperLayers(iConfig.getUntrackedParameter<bool>("suppressDTSuperLayers", false)),
53  m_suppressDTLayers(iConfig.getUntrackedParameter<bool>("suppressDTLayers", false)),
54  m_suppressCSCEndcaps(iConfig.getUntrackedParameter<bool>("suppressCSCEndcaps", false)),
55  m_suppressCSCStations(iConfig.getUntrackedParameter<bool>("suppressCSCStations", false)),
56  m_suppressCSCRings(iConfig.getUntrackedParameter<bool>("suppressCSCRings", false)),
57  m_suppressCSCChambers(iConfig.getUntrackedParameter<bool>("suppressCSCChambers", false)),
58  m_suppressCSCLayers(iConfig.getUntrackedParameter<bool>("suppressCSCLayers", false)),
59  idealGeometryLabel("idealForOutputXML") {
60  std::string str_relativeto = iConfig.getParameter<std::string>("relativeto");
61 
62  if (str_relativeto == std::string("none")) {
63  m_relativeto = 0;
64  } else if (str_relativeto == std::string("ideal")) {
65  m_relativeto = 1;
66  } else if (str_relativeto == std::string("container")) {
67  m_relativeto = 2;
68  } else {
69  throw cms::Exception("BadConfig") << "relativeto must be \"none\", \"ideal\", or \"container\"" << std::endl;
70  }
71 }
72 
73 // MuonAlignmentOutputXML::MuonAlignmentOutputXML(const MuonAlignmentOutputXML& rhs)
74 // {
75 // // do actual copying here;
76 // }
77 
79 
80 //
81 // assignment operators
82 //
83 // const MuonAlignmentOutputXML& MuonAlignmentOutputXML::operator=(const MuonAlignmentOutputXML& rhs)
84 // {
85 // //An exception safe implementation is
86 // MuonAlignmentOutputXML temp(rhs);
87 // swap(rhs);
88 //
89 // return *this;
90 // }
91 
92 //
93 // member functions
94 //
95 
96 void MuonAlignmentOutputXML::write(AlignableMuon *alignableMuon, const edm::EventSetup &iSetup) const {
97  std::ofstream outputFile(m_fileName.c_str());
98  outputFile << std::setprecision(m_precision) << std::fixed;
99 
100  outputFile << "<?xml version=\"1.0\" encoding=\"UTF-8\"?>" << std::endl;
101  outputFile << "<?xml-stylesheet type=\"text/xml\" href=\"MuonAlignment.xsl\"?>" << std::endl;
102  outputFile << "<MuonAlignment>" << std::endl << std::endl;
103 
104  std::map<align::ID, CLHEP::HepSymMatrix> errors;
105  AlignmentErrorsExtended *dtErrors = alignableMuon->dtAlignmentErrorsExtended();
106  AlignmentErrorsExtended *cscErrors = alignableMuon->cscAlignmentErrorsExtended();
107  for (std::vector<AlignTransformErrorExtended>::const_iterator dtError = dtErrors->m_alignError.begin();
108  dtError != dtErrors->m_alignError.end();
109  ++dtError) {
110  errors[dtError->rawId()] = dtError->matrix();
111  }
112  for (std::vector<AlignTransformErrorExtended>::const_iterator cscError = cscErrors->m_alignError.begin();
113  cscError != cscErrors->m_alignError.end();
114  ++cscError) {
115  errors[cscError->rawId()] = cscError->matrix();
116  }
117 
118  align::Alignables barrels = alignableMuon->DTBarrel();
119  align::Alignables endcaps = alignableMuon->CSCEndcaps();
120 
121  if (m_relativeto == 1) {
122  edm::ESHandle<DTGeometry> dtGeometry;
123  edm::ESHandle<CSCGeometry> cscGeometry;
124  iSetup.get<MuonGeometryRecord>().get(idealGeometryLabel, dtGeometry);
125  iSetup.get<MuonGeometryRecord>().get(idealGeometryLabel, cscGeometry);
126 
127  AlignableMuon ideal_alignableMuon(&(*dtGeometry), &(*cscGeometry));
128 
129  align::Alignables ideal_barrels = ideal_alignableMuon.DTBarrel();
130  align::Alignables ideal_endcaps = ideal_alignableMuon.CSCEndcaps();
131 
132  writeComponents(barrels, ideal_barrels, errors, outputFile, true, alignableMuon->objectIdProvider());
133  writeComponents(endcaps, ideal_endcaps, errors, outputFile, false, alignableMuon->objectIdProvider());
134  } else {
135  align::Alignables empty1, empty2;
136 
137  writeComponents(barrels, empty1, errors, outputFile, true, alignableMuon->objectIdProvider());
138  writeComponents(endcaps, empty2, errors, outputFile, false, alignableMuon->objectIdProvider());
139  }
140 
141  outputFile << "</MuonAlignment>" << std::endl;
142 }
143 
145  align::Alignables &ideals,
146  std::map<align::ID, CLHEP::HepSymMatrix> &errors,
147  std::ofstream &outputFile,
148  bool DT,
149  const AlignableObjectId &objectIdProvider) const {
150  align::Alignables::const_iterator ideal = ideals.begin();
151  for (align::Alignables::const_iterator alignable = alignables.begin(); alignable != alignables.end(); ++alignable) {
152  if (m_survey && (*alignable)->survey() == nullptr) {
153  throw cms::Exception("Alignment") << "SurveyDets must all be defined when writing to XML" << std::endl;
154  } // now I can assume it's okay everywhere
155 
156  align::StructureType alignableObjectId = (*alignable)->alignableObjectId();
157 
158  if ((alignableObjectId == align::AlignableDTBarrel && !m_suppressDTBarrel) ||
159  (alignableObjectId == align::AlignableDTWheel && !m_suppressDTWheels) ||
160  (alignableObjectId == align::AlignableDTStation && !m_suppressDTStations) ||
161  (alignableObjectId == align::AlignableDTChamber && !m_suppressDTChambers) ||
162  (DT && alignableObjectId == align::AlignableDTSuperLayer && !m_suppressDTSuperLayers) ||
163  (DT && alignableObjectId == align::AlignableDetUnit && !m_suppressDTLayers) ||
164  (alignableObjectId == align::AlignableCSCEndcap && !m_suppressCSCEndcaps) ||
165  (alignableObjectId == align::AlignableCSCStation && !m_suppressCSCStations) ||
166  (alignableObjectId == align::AlignableCSCRing && !m_suppressCSCRings) ||
167  (alignableObjectId == align::AlignableCSCChamber && !m_suppressCSCChambers) ||
168  (!DT && alignableObjectId == align::AlignableDetUnit && !m_suppressCSCLayers)) {
169  unsigned int rawId = (*alignable)->geomDetId().rawId();
170  outputFile << "<operation>" << std::endl;
171 
172  if (DT) {
173  if (m_rawIds && rawId != 0) {
174  std::string typeName = objectIdProvider.idToString(alignableObjectId);
175  if (alignableObjectId == align::AlignableDTSuperLayer)
176  typeName = std::string("DTSuperLayer");
177  if (alignableObjectId == align::AlignableDetUnit)
178  typeName = std::string("DTLayer");
179  outputFile << " <" << typeName << " rawId=\"" << rawId << "\" />" << std::endl;
180  } else {
181  if (alignableObjectId == align::AlignableDetUnit) {
182  DTLayerId id(rawId);
183  outputFile << " <DTLayer wheel=\"" << id.wheel() << "\" station=\"" << id.station() << "\" sector=\""
184  << id.sector() << "\" superlayer=\"" << id.superlayer() << "\" layer=\"" << id.layer() << "\" />"
185  << std::endl;
186  } else if (alignableObjectId == align::AlignableDTSuperLayer) {
187  DTSuperLayerId id(rawId);
188  outputFile << " <DTSuperLayer wheel=\"" << id.wheel() << "\" station=\"" << id.station() << "\" sector=\""
189  << id.sector() << "\" superlayer=\"" << id.superlayer() << "\" />" << std::endl;
190  } else if (alignableObjectId == align::AlignableDTChamber) {
191  DTChamberId id(rawId);
192  outputFile << " <DTChamber wheel=\"" << id.wheel() << "\" station=\"" << id.station() << "\" sector=\""
193  << id.sector() << "\" />" << std::endl;
194  }
195 
196  else {
197  DTChamberId id((*alignable)->id());
198  if (alignableObjectId == align::AlignableDTStation) {
199  outputFile << " <DTStation wheel=\"" << id.wheel() << "\" station=\"" << id.station() << "\" />"
200  << std::endl;
201  } else if (alignableObjectId == align::AlignableDTWheel) {
202  outputFile << " <DTWheel wheel=\"" << id.wheel() << "\" />" << std::endl;
203  } else if (alignableObjectId == align::AlignableDTBarrel) {
204  outputFile << " <DTBarrel />" << std::endl;
205  } else
206  throw cms::Exception("Alignment") << "Unknown DT Alignable StructureType" << std::endl;
207  }
208 
209  } // end if not rawId
210  } // end if DT
211 
212  else { // CSC
213  if (m_rawIds && rawId != 0) {
214  std::string typeName = objectIdProvider.idToString(alignableObjectId);
215  if (alignableObjectId == align::AlignableDetUnit)
216  typeName = std::string("CSCLayer");
217  outputFile << " <" << typeName << " rawId=\"" << rawId << "\" />" << std::endl;
218  } else {
219  if (alignableObjectId == align::AlignableDetUnit) {
220  CSCDetId id(rawId);
221  outputFile << " <CSCLayer endcap=\"" << id.endcap() << "\" station=\"" << id.station() << "\" ring=\""
222  << id.ring() << "\" chamber=\"" << id.chamber() << "\" layer=\"" << id.layer() << "\" />"
223  << std::endl;
224  } else if (alignableObjectId == align::AlignableCSCChamber) {
225  CSCDetId id(rawId);
226  outputFile << " <CSCChamber endcap=\"" << id.endcap() << "\" station=\"" << id.station() << "\" ring=\""
227  << id.ring() << "\" chamber=\"" << id.chamber() << "\" />" << std::endl;
228  } else {
229  CSCDetId id((*alignable)->id());
230  if (alignableObjectId == align::AlignableCSCRing) {
231  outputFile << " <CSCRing endcap=\"" << id.endcap() << "\" station=\"" << id.station() << "\" ring=\""
232  << id.ring() << "\" />" << std::endl;
233  } else if (alignableObjectId == align::AlignableCSCStation) {
234  outputFile << " <CSCStation endcap=\"" << id.endcap() << "\" station=\"" << id.station() << "\" />"
235  << std::endl;
236  } else if (alignableObjectId == align::AlignableCSCEndcap) {
237  outputFile << " <CSCEndcap endcap=\"" << id.endcap() << "\" />" << std::endl;
238  } else
239  throw cms::Exception("Alignment") << "Unknown CSC Alignable StructureType" << std::endl;
240  }
241 
242  } // end if not rawId
243  } // end if CSC
244 
245  align::PositionType pos = (*alignable)->globalPosition();
246  align::RotationType rot = (*alignable)->globalRotation();
247 
248  if (m_survey) {
249  pos = (*alignable)->survey()->position();
250  rot = (*alignable)->survey()->rotation();
251  }
252 
253  std::string str_relativeto;
254  if (m_relativeto == 0) {
255  str_relativeto = std::string("none");
256  }
257 
258  else if (m_relativeto == 1) {
259  if (ideal == ideals.end() || (*ideal)->alignableObjectId() != alignableObjectId ||
260  (*ideal)->id() != (*alignable)->id()) {
261  throw cms::Exception("Alignment") << "AlignableMuon and ideal_AlignableMuon are out of sync!" << std::endl;
262  }
263 
264  align::PositionType idealPosition = (*ideal)->globalPosition();
265  align::RotationType idealRotation = (*ideal)->globalRotation();
266 
267  pos = align::PositionType(idealRotation * (pos.basicVector() - idealPosition.basicVector()));
268  rot = rot * idealRotation.transposed();
269 
270  str_relativeto = std::string("ideal");
271 
272  bool csc_debug = false;
273  if (csc_debug && !DT) {
274  CSCDetId id(rawId);
275  if (id.endcap() == 1 && id.station() == 1 && id.ring() == 1 && id.chamber() == 33) {
276  std::cout << " investigating " << id << std::endl
277  << (*alignable)->globalRotation() << std::endl
278  << std::endl
279  << idealRotation.transposed() << std::endl
280  << std::endl
281  << rot << std::endl
282  << std::endl;
283  double phix = atan2(rot.yz(), rot.zz());
284  double phiy = asin(-rot.xz());
285  double phiz = atan2(rot.xy(), rot.xx());
286 
287  std::cout << "phix=\"" << phix << "\" phiy=\"" << phiy << "\" phiz=\"" << phiz << std::endl;
288 
289  align::EulerAngles eulerAngles = align::toAngles((*alignable)->globalRotation());
290  std::cout << "alpha=\"" << eulerAngles(1) << "\" beta=\"" << eulerAngles(2) << "\" gamma=\""
291  << eulerAngles(3) << std::endl;
292  eulerAngles = align::toAngles(idealRotation);
293  std::cout << "alpha=\"" << eulerAngles(1) << "\" beta=\"" << eulerAngles(2) << "\" gamma=\""
294  << eulerAngles(3) << std::endl;
295  eulerAngles = align::toAngles(rot);
296  std::cout << "alpha=\"" << eulerAngles(1) << "\" beta=\"" << eulerAngles(2) << "\" gamma=\""
297  << eulerAngles(3) << std::endl;
298  }
299  }
300  }
301 
302  else if (m_relativeto == 2 && (*alignable)->mother() != nullptr) {
303  align::PositionType globalPosition = (*alignable)->mother()->globalPosition();
304  align::RotationType globalRotation = (*alignable)->mother()->globalRotation();
305 
306  pos = align::PositionType(globalRotation * (pos.basicVector() - globalPosition.basicVector()));
307  rot = rot * globalRotation.transposed();
308 
309  str_relativeto = std::string("container");
310  }
311 
312  else
313  assert(false); // can't happen: see constructor
314 
315  outputFile << " <setposition relativeto=\"" << str_relativeto << "\" "
316  << "x=\"" << pos.x() << "\" y=\"" << pos.y() << "\" z=\"" << pos.z() << "\" ";
317 
318  if (m_eulerAngles) {
319  align::EulerAngles eulerAngles = align::toAngles(rot);
320  outputFile << "alpha=\"" << eulerAngles(1) << "\" beta=\"" << eulerAngles(2) << "\" gamma=\"" << eulerAngles(3)
321  << "\" />" << std::endl;
322  }
323 
324  else {
325  // the angle convention originally used in alignment, also known as "non-standard Euler angles with a Z-Y-X convention"
326  // this also gets the sign convention right
327  double phix = atan2(rot.yz(), rot.zz());
328  double phiy = asin(-rot.xz());
329  double phiz = atan2(rot.xy(), rot.xx());
330 
331  outputFile << "phix=\"" << phix << "\" phiy=\"" << phiy << "\" phiz=\"" << phiz << "\" />" << std::endl;
332  }
333 
334  if (m_survey) {
335  align::ErrorMatrix err = (*alignable)->survey()->errors();
336 
337  outputFile << " <setsurveyerr"
338  << " xx=\"" << err(0, 0) << "\" xy=\"" << err(0, 1) << "\" xz=\"" << err(0, 2) << "\" xa=\""
339  << err(0, 3) << "\" xb=\"" << err(0, 4) << "\" xc=\"" << err(0, 5) << "\" yy=\"" << err(1, 1)
340  << "\" yz=\"" << err(1, 2) << "\" ya=\"" << err(1, 3) << "\" yb=\"" << err(1, 4) << "\" yc=\""
341  << err(1, 5) << "\" zz=\"" << err(2, 2) << "\" za=\"" << err(2, 3) << "\" zb=\"" << err(2, 4)
342  << "\" zc=\"" << err(2, 5) << "\" aa=\"" << err(3, 3) << "\" ab=\"" << err(3, 4) << "\" ac=\""
343  << err(3, 5) << "\" bb=\"" << err(4, 4) << "\" bc=\"" << err(4, 5) << "\" cc=\"" << err(5, 5)
344  << "\" />" << std::endl;
345  }
346 
347  else if (rawId != 0) {
348  CLHEP::HepSymMatrix err = errors[(*alignable)->id()];
349 
350  outputFile << " <setape xx=\"" << err(1, 1) << "\" xy=\"" << err(1, 2) << "\" xz=\"" << err(1, 3) << "\" xa=\""
351  << err(1, 4) << "\" xb=\"" << err(1, 5) << "\" xc=\"" << err(1, 6) << "\" yy=\"" << err(2, 2)
352  << "\" yz=\"" << err(2, 3) << "\" ya=\"" << err(2, 4) << "\" yb=\"" << err(2, 5) << "\" yc=\""
353  << err(2, 6) << "\" zz=\"" << err(3, 3) << "\" za=\"" << err(3, 4) << "\" zb=\"" << err(3, 5)
354  << "\" zc=\"" << err(3, 6) << "\" aa=\"" << err(4, 4) << "\" ab=\"" << err(4, 5) << "\" ac=\""
355  << err(4, 6) << "\" bb=\"" << err(5, 5) << "\" bc=\"" << err(5, 6) << "\" cc=\"" << err(6, 6)
356  << "\" />" << std::endl;
357  }
358 
359  outputFile << "</operation>" << std::endl << std::endl;
360 
361  } // end if not suppressed
362 
363  // write superstructures before substructures: this is important because <setape> overwrites all substructures' APEs
364  if (ideal != ideals.end()) {
365  align::Alignables components = (*alignable)->components();
366  align::Alignables ideal_components = (*ideal)->components();
367  writeComponents(components, ideal_components, errors, outputFile, DT, objectIdProvider);
368  ++ideal; // important for synchronization in the "for" loop!
369  } else {
370  align::Alignables components = (*alignable)->components();
372  writeComponents(components, dummy, errors, outputFile, DT, objectIdProvider);
373  }
374 
375  } // end loop over alignables
376 }
377 
378 //
379 // const member functions
380 //
381 
382 //
383 // static member functions
384 //
AlignmentErrorsExtended.h
align::toAngles
EulerAngles toAngles(const RotationType &)
Convert rotation matrix to angles about x-, y-, z-axes (frame rotation).
Definition: Utilities.cc:8
TkRotation< Scalar >
AlignableObjectId
Allows conversion between type and name, and vice-versa.
Definition: AlignableObjectId.h:12
DTSuperLayerId
Definition: DTSuperLayerId.h:12
AlignableMuon::dtAlignmentErrorsExtended
AlignmentErrorsExtended * dtAlignmentErrorsExtended()
Get DT alignment errors sorted by DetId.
Definition: AlignableMuon.cc:426
alignBH_cfg.fixed
fixed
Definition: alignBH_cfg.py:54
electrons_cff.bool
bool
Definition: electrons_cff.py:393
ESTransientHandle.h
funct::false
false
Definition: Factorize.h:29
MuonAlignmentOutputXML::m_suppressCSCLayers
bool m_suppressCSCLayers
Definition: MuonAlignmentOutputXML.h:67
ESHandle.h
MuonAlignmentOutputXML::m_suppressDTChambers
bool m_suppressDTChambers
Definition: MuonAlignmentOutputXML.h:65
DTLayerId.h
MuonAlignmentOutputXML::idealGeometryLabel
std::string idealGeometryLabel
Definition: MuonAlignmentOutputXML.h:68
relativeConstraints.station
station
Definition: relativeConstraints.py:67
gather_cfg.cout
cout
Definition: gather_cfg.py:144
pos
Definition: PixelAliasList.h:18
MuonAlignmentOutputXML::MuonAlignmentOutputXML
MuonAlignmentOutputXML(const edm::ParameterSet &iConfig)
Definition: MuonAlignmentOutputXML.cc:42
align::PositionType
Point3DBase< Scalar, GlobalTag > PositionType
Definition: Definitions.h:28
MuonAlignmentOutputXML::m_eulerAngles
bool m_eulerAngles
Definition: MuonAlignmentOutputXML.h:63
cms::cuda::assert
assert(be >=bs)
align::ErrorMatrix
math::Error< 6 >::type ErrorMatrix
Definition: Definitions.h:37
MuonAlignmentOutputXML.h
align::AlignableCSCStation
Definition: StructureType.h:80
makeMuonMisalignmentScenario.endcap
endcap
Definition: makeMuonMisalignmentScenario.py:320
align::AlignableDTChamber
Definition: StructureType.h:76
MuonAlignmentOutputXML::m_rawIds
bool m_rawIds
Definition: MuonAlignmentOutputXML.h:63
CSCDetId.h
MuonAlignmentOutputXML::m_relativeto
int m_relativeto
Definition: MuonAlignmentOutputXML.h:62
MuonAlignmentOutputXML::m_suppressCSCEndcaps
bool m_suppressCSCEndcaps
Definition: MuonAlignmentOutputXML.h:67
download_sqlite_cfg.outputFile
outputFile
Definition: download_sqlite_cfg.py:5
edm::EventSetup::get
T get() const
Definition: EventSetup.h:80
align::AlignableDTSuperLayer
Definition: StructureType.h:77
align::AlignableCSCEndcap
Definition: StructureType.h:79
errors
Definition: errors.py:1
edm::ESHandle< DTGeometry >
MuonAlignmentOutputXML::~MuonAlignmentOutputXML
virtual ~MuonAlignmentOutputXML()
Definition: MuonAlignmentOutputXML.cc:78
MuonAlignmentOutputXML::m_survey
bool m_survey
Definition: MuonAlignmentOutputXML.h:63
Point3DBase< Scalar, GlobalTag >
AlignableMuon::DTBarrel
align::Alignables DTBarrel()
Definition: AlignableMuon.cc:326
DTChamberId.h
DTLayerId
Definition: DTLayerId.h:12
AlignableMuon::objectIdProvider
const AlignableObjectId & objectIdProvider() const
Return muon alignable object ID provider derived from the muon system geometry.
Definition: AlignableMuon.h:77
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
align::StructureType
StructureType
Definition: StructureType.h:16
DTGeometry.h
dqmiodumpindices.typeName
typeName
Definition: dqmiodumpindices.py:33
GeomDetEnumerators::DT
Definition: GeomDetEnumerators.h:18
align::AlignableDetUnit
Definition: StructureType.h:19
align::AlignableDTStation
Definition: StructureType.h:75
edm::ParameterSet
Definition: ParameterSet.h:47
MuonAlignmentOutputXML::m_suppressCSCChambers
bool m_suppressCSCChambers
Definition: MuonAlignmentOutputXML.h:67
CSCDetId
Definition: CSCDetId.h:26
AlignableMuon
Constructor of the full muon geometry.
Definition: AlignableMuon.h:33
MuonAlignmentOutputXML::writeComponents
void writeComponents(align::Alignables &alignables, align::Alignables &ideals, std::map< align::ID, CLHEP::HepSymMatrix > &errors, std::ofstream &outputFile, bool DT, const AlignableObjectId &) const
Definition: MuonAlignmentOutputXML.cc:144
createfilelist.int
int
Definition: createfilelist.py:10
align::AlignableCSCChamber
Definition: StructureType.h:82
edm::EventSetup
Definition: EventSetup.h:57
submitPVResolutionJobs.err
err
Definition: submitPVResolutionJobs.py:85
get
#define get
align::EulerAngles
AlgebraicVector EulerAngles
Definition: Definitions.h:34
AlignmentErrorsExtended
Definition: AlignmentErrorsExtended.h:10
MuonAlignmentOutputXML::m_suppressDTStations
bool m_suppressDTStations
Definition: MuonAlignmentOutputXML.h:65
PV3DBase::basicVector
const BasicVectorType & basicVector() const
Definition: PV3DBase.h:53
MuonAlignmentOutputXML::m_suppressDTBarrel
bool m_suppressDTBarrel
Definition: MuonAlignmentOutputXML.h:65
MuonAlignmentOutputXML::m_precision
int m_precision
Definition: MuonAlignmentOutputXML.h:64
align::AlignableDTBarrel
Definition: StructureType.h:73
AlignableObjectId.h
align::AlignableDTWheel
Definition: StructureType.h:74
align::Alignables
std::vector< Alignable * > Alignables
Definition: Utilities.h:31
AlignableMuon::CSCEndcaps
align::Alignables CSCEndcaps()
Definition: AlignableMuon.cc:369
std
Definition: JetResolutionObject.h:76
triggerObjects_cff.id
id
Definition: triggerObjects_cff.py:31
makeMuonMisalignmentScenario.components
string components
Definition: makeMuonMisalignmentScenario.py:58
MuonAlignmentOutputXML::m_suppressCSCStations
bool m_suppressCSCStations
Definition: MuonAlignmentOutputXML.h:67
Exception
Definition: hltDiff.cc:246
relativeConstraints.ring
ring
Definition: relativeConstraints.py:68
makeMuonMisalignmentScenario.rot
rot
Definition: makeMuonMisalignmentScenario.py:322
MuonAlignmentOutputXML::m_suppressDTWheels
bool m_suppressDTWheels
Definition: MuonAlignmentOutputXML.h:65
relativeConstraints.chamber
chamber
Definition: relativeConstraints.py:53
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
TkRotation::transposed
TkRotation transposed() const
Definition: extTkRotation.h:161
AlignableObjectId::idToString
const char * idToString(align::StructureType type) const
Definition: AlignableObjectId.cc:259
AlignmentErrorsExtended::m_alignError
std::vector< AlignTransformErrorExtended > m_alignError
Definition: AlignmentErrorsExtended.h:19
MuonAlignmentOutputXML::m_suppressDTSuperLayers
bool m_suppressDTSuperLayers
Definition: MuonAlignmentOutputXML.h:65
DTChamberId
Definition: DTChamberId.h:14
dummy
Definition: DummySelector.h:38
SurveyDet.h
DTSuperLayerId.h
AlignableMuon::cscAlignmentErrorsExtended
AlignmentErrorsExtended * cscAlignmentErrorsExtended()
Get CSC alignment errors sorted by DetId.
Definition: AlignableMuon.cc:445
MuonGeometryRecord.h
align::AlignableCSCRing
Definition: StructureType.h:81
MuonAlignmentOutputXML::m_suppressCSCRings
bool m_suppressCSCRings
Definition: MuonAlignmentOutputXML.h:67
MuonGeometryRecord
Definition: MuonGeometryRecord.h:34
MuonAlignmentOutputXML::write
void write(AlignableMuon *alignableMuon, const edm::EventSetup &iSetup) const
Definition: MuonAlignmentOutputXML.cc:96
MuonAlignmentOutputXML::m_fileName
std::string m_fileName
Definition: MuonAlignmentOutputXML.h:61
CSCGeometry.h
MuonAlignmentOutputXML::m_suppressDTLayers
bool m_suppressDTLayers
Definition: MuonAlignmentOutputXML.h:65
debug_messages_cfi.errors
errors
Definition: debug_messages_cfi.py:54