CMS 3D CMS Logo

CocoaDBMgr.cc
Go to the documentation of this file.
6 #include <DD4hep/DD4hepUnits.h>
11 
19 
28 
32 
34 
36 
37 //----------------------------------------------------------------------
39  if (!instance) {
40  instance = new CocoaDBMgr;
41  }
42  return instance;
43 }
44 
45 //----------------------------------------------------------------------
47 
48 //-----------------------------------------------------------------------
51 
53  int nrcd;
54 
55  cond::Time_t appendTime = Fit::nEvent + 1;
56  if (gomgr->GlobalOptions()["writeDBOptAlign"] > 0) {
57  //----- Build OpticalAlignments
59 
60  //--- Dump OpticalAlignments
61  nrcd = optalign->opticalAlignments_.size();
62  if (!myDbService.isAvailable()) {
63  throw cms::Exception("CocoaDBMgr::DumpCocoaResults DB not available");
64  }
65  // try{
66  if (myDbService->isNewTagRequest("OpticalAlignmentsRcd")) {
67  std::cout << " new OA to DB "
68  << "begin " << myDbService->beginOfTime() << " current " << myDbService->currentTime() << " end "
69  << myDbService->endOfTime() << std::endl;
70  myDbService->createNewIOV<OpticalAlignments>(
71  optalign,
72  myDbService->beginOfTime(),
73  myDbService->endOfTime(),
74  // myDbService->endOfTime(),
75  "OpticalAlignmentsRcd");
76  } else {
77  std::cout << " old OA to DB "
78  << " current " << myDbService->currentTime() << " end " << myDbService->endOfTime() << std::endl;
79  myDbService->appendSinceTime<OpticalAlignments>(
80  optalign,
81  // myDbService->endOfTime(),
82  appendTime,
83  // myDbService->currentTime(),
84  "OpticalAlignmentsRcd");
85  }
86 
87  /* }catch(const cond::Exception& er) {
88  std::cout<<er.what()<<std::endl;
89  }catch(const std::exception& er){
90  std::cout<<"caught std::exception "<<er.what()<<std::endl;
91  }catch(...){
92  std::cout<<"Funny error"<<std::endl;
93  } */
94 
95  if (ALIUtils::debug >= 2)
96  std::cout << "OpticalAlignmentsRcd WRITTEN TO DB : " << nrcd << std::endl;
97  }
98 
99  if (gomgr->GlobalOptions()["writeDBAlign"] > 0) {
100  // Build DT alignments and errors
101  std::pair<Alignments*, AlignmentErrorsExtended*> dtali = BuildAlignments(true);
102  Alignments* dt_Alignments = dtali.first;
103  AlignmentErrorsExtended* dt_AlignmentErrors = dtali.second;
104 
105  // Dump DT alignments and errors
106  nrcd = dt_Alignments->m_align.size();
107  if (myDbService->isNewTagRequest("DTAlignmentRcd")) {
108  myDbService->createNewIOV<Alignments>(
109  &(*dt_Alignments), myDbService->beginOfTime(), myDbService->endOfTime(), "DTAlignmentRcd");
110  } else {
111  myDbService->appendSinceTime<Alignments>(&(*dt_Alignments),
112  appendTime,
113  // myDbService->currentTime(),
114  "DTAlignmentRcd");
115  }
116  if (ALIUtils::debug >= 2)
117  std::cout << "DTAlignmentRcd WRITTEN TO DB : " << nrcd << std::endl;
118 
119  nrcd = dt_AlignmentErrors->m_alignError.size();
120  if (myDbService->isNewTagRequest("DTAlignmentErrorExtendedRcd")) {
122  &(*dt_AlignmentErrors), myDbService->beginOfTime(), myDbService->endOfTime(), "DTAlignmentErrorExtendedRcd");
123  } else {
125  &(*dt_AlignmentErrors), appendTime, "DTAlignmentErrorExtendedRcd");
126  }
127  if (ALIUtils::debug >= 2)
128  std::cout << "DTAlignmentErrorExtendedRcd WRITTEN TO DB : " << nrcd << std::endl;
129 
130  // Build CSC alignments and errors
131  std::pair<Alignments*, AlignmentErrorsExtended*> cscali = BuildAlignments(false);
132  Alignments* csc_Alignments = cscali.first;
133  AlignmentErrorsExtended* csc_AlignmentErrors = cscali.second;
134 
135  // Dump CSC alignments and errors
136  nrcd = csc_Alignments->m_align.size();
137  if (myDbService->isNewTagRequest("CSCAlignmentRcd")) {
138  myDbService->createNewIOV<Alignments>(
139  &(*csc_Alignments), myDbService->beginOfTime(), myDbService->endOfTime(), "CSCAlignmentRcd");
140  } else {
141  myDbService->appendSinceTime<Alignments>(&(*csc_Alignments), appendTime, "CSCAlignmentRcd");
142  }
143  if (ALIUtils::debug >= 2)
144  std::cout << "CSCAlignmentRcd WRITTEN TO DB : " << nrcd << std::endl;
145 
146  nrcd = csc_AlignmentErrors->m_alignError.size();
147  if (myDbService->isNewTagRequest("CSCAlignmentErrorExtendedRcd")) {
148  myDbService->createNewIOV<AlignmentErrorsExtended>(&(*csc_AlignmentErrors),
149  myDbService->beginOfTime(),
150  myDbService->endOfTime(),
151  "CSCAlignmentErrorExtendedRcd");
152  } else {
154  &(*csc_AlignmentErrors), appendTime, "CSCAlignmentErrorExtendedRcd");
155  }
156  if (ALIUtils::debug >= 2)
157  std::cout << "CSCAlignmentErrorExtendedRcd WRITTEN TO DB : " << nrcd << std::endl;
158 
159  //? gives unreadable error??? std::cout << "@@@@ OPTICALALIGNMENTS WRITTEN TO DB " << *optalign << std::endl;
160 
161  return TRUE;
162  }
163 
164  return TRUE;
165 }
166 
167 //@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
169  LogDebug("Alignment") << " CocoaDBMgr::GetOptAlignInfoFromOptO " << opto->name();
171  data.ID_ = opto->getCmsswID();
172  data.type_ = opto->type();
173  data.name_ = opto->name();
174 
175  //----- Centre in local coordinates
176  CLHEP::Hep3Vector centreLocal = opto->centreGlob() - opto->parent()->centreGlob();
177  CLHEP::HepRotation parentRmGlobInv = inverseOf(opto->parent()->rmGlob());
178  centreLocal = parentRmGlobInv * centreLocal;
179 
180  const std::vector<Entry*>& theCoordinateEntryVector = opto->CoordinateEntryList();
181  LogDebug("Alignment") << " CocoaDBMgr::GetOptAlignInfoFromOptO starting coord ";
182  if (theCoordinateEntryVector.size() == 6) {
183  const Entry* const translationX = theCoordinateEntryVector.at(0);
184  OpticalAlignParam translationXDataForDB;
185  translationXDataForDB.name_ = translationX->name();
186  translationXDataForDB.dim_type_ = translationX->type();
187  translationXDataForDB.value_ = centreLocal.x() * dd4hep::m; // m in COCOA, dd4hep unit in DB
188  translationXDataForDB.error_ = GetEntryError(translationX) * dd4hep::m; // m in COCOA, dd4hep unit in DB
189  translationXDataForDB.quality_ = translationX->quality();
190  data.x_ = translationXDataForDB;
191 
192  const Entry* const translationY = theCoordinateEntryVector.at(1);
193  OpticalAlignParam translationYDataForDB;
194  translationYDataForDB.name_ = translationY->name();
195  translationYDataForDB.dim_type_ = translationY->type();
196  translationYDataForDB.value_ = centreLocal.y() * dd4hep::m; // m in COCOA, dd4hep unit in DB
197  translationYDataForDB.error_ = GetEntryError(translationY) * dd4hep::m; // m in COCOA, dd4hep unit in DB
198  translationYDataForDB.quality_ = translationY->quality();
199  data.y_ = translationYDataForDB;
200 
201  const Entry* const translationZ = theCoordinateEntryVector.at(2);
202  OpticalAlignParam translationZDataForDB;
203  translationZDataForDB.name_ = translationZ->name();
204  translationZDataForDB.dim_type_ = translationZ->type();
205  translationZDataForDB.value_ = centreLocal.z() * dd4hep::m; // m in COCOA, dd4hep unit in DB
206  translationZDataForDB.error_ = GetEntryError(translationZ) * dd4hep::m; // m in COCOA, dd4hep unit in DB
207  translationZDataForDB.quality_ = translationZ->quality();
208  data.z_ = translationZDataForDB;
209 
210  //----- angles in local coordinates
211  std::vector<double> anglocal = opto->getLocalRotationAngles(theCoordinateEntryVector);
212  if (anglocal.size() == 3) {
213  const Entry* const rotationX = theCoordinateEntryVector.at(3);
214  OpticalAlignParam rotationXDataForDB;
215  rotationXDataForDB.name_ = rotationX->name();
216  rotationXDataForDB.dim_type_ = rotationX->type();
217  rotationXDataForDB.value_ = anglocal.at(0);
218  rotationXDataForDB.error_ = GetEntryError(rotationX);
219  rotationXDataForDB.quality_ = rotationX->quality();
220  data.angx_ = rotationXDataForDB;
221 
222  const Entry* const rotationY = theCoordinateEntryVector.at(4);
223  OpticalAlignParam rotationYDataForDB;
224  rotationYDataForDB.name_ = rotationY->name();
225  rotationYDataForDB.dim_type_ = rotationY->type();
226  rotationYDataForDB.value_ = anglocal.at(1);
227  rotationYDataForDB.error_ = GetEntryError(rotationY);
228  rotationYDataForDB.quality_ = rotationY->quality();
229  data.angy_ = rotationYDataForDB;
230 
231  const Entry* const rotationZ = theCoordinateEntryVector.at(5);
232  OpticalAlignParam rotationZDataForDB;
233  rotationZDataForDB.name_ = rotationZ->name();
234  rotationZDataForDB.dim_type_ = rotationZ->type();
235  rotationZDataForDB.value_ = anglocal.at(2);
236  rotationZDataForDB.error_ = GetEntryError(rotationZ);
237  rotationZDataForDB.quality_ = rotationZ->quality();
238  data.angz_ = rotationZDataForDB;
239  }
240  }
241 
242  std::cout << " CocoaDBMgr::GetOptAlignInfoFromOptO starting entry " << std::endl;
243  for (const auto& myDBExtraEntry : opto->ExtraEntryList()) {
244  OpticalAlignParam extraEntry;
245  extraEntry.name_ = myDBExtraEntry->name();
246  extraEntry.dim_type_ = myDBExtraEntry->type();
247  extraEntry.value_ = myDBExtraEntry->value();
248  extraEntry.error_ = myDBExtraEntry->sigma();
249  if (extraEntry.dim_type_ == "centre" || extraEntry.dim_type_ == "length") {
250  extraEntry.value_ *= dd4hep::m; // m in COCOA, dd4hep unit in DB
251  extraEntry.error_ *= dd4hep::m; // m in COCOA, dd4hep unit in DB
252  }
253  extraEntry.quality_ = myDBExtraEntry->quality();
254  data.extraEntries_.emplace_back(extraEntry);
255  std::cout << " CocoaDBMgr::GetOptAlignInfoFromOptO done extra entry " << extraEntry.name_ << std::endl;
256  }
257 
258  return data;
259 }
260 
261 //-----------------------------------------------------------------------
263  if (entry->quality() > 0) {
264  return sqrt(Fit::GetAtWAMatrix()->Mat()->me[entry->fitPos()][entry->fitPos()]);
265  } else { //entry not fitted, return original error
266  return entry->sigma();
267  }
268 }
269 
270 //-----------------------------------------------------------------------
271 double CocoaDBMgr::GetEntryError(const Entry* entry1, const Entry* entry2) {
272  if (entry1 == entry2)
273  return GetEntryError(entry1);
274 
275  if (entry1->quality() > 0 && entry2->quality() > 0) {
276  return sqrt(Fit::GetAtWAMatrix()->Mat()->me[entry1->fitPos()][entry2->fitPos()]);
277  } else { //entries not fitted, correlation is 0
278  return 0.;
279  }
280 }
281 
282 //-----------------------------------------------------------------------
284  OpticalAlignments* optalign = new OpticalAlignments;
285 
286  static std::vector<OpticalObject*> optolist = Model::OptOList();
287  static std::vector<OpticalObject*>::const_iterator ite;
288  for (ite = optolist.begin(); ite != optolist.end(); ++ite) {
289  if ((*ite)->type() == "system")
290  continue;
292  optalign->opticalAlignments_.push_back(data);
293  if (ALIUtils::debug >= 5) {
294  std::cout << "@@@@ OPTALIGNINFO TO BE WRITTEN TO DB " << data << std::endl;
295  }
296  }
297  return optalign;
298 }
299 
300 //-----------------------------------------------------------------------
301 std::pair<Alignments*, AlignmentErrorsExtended*> CocoaDBMgr::BuildAlignments(bool bDT) {
302  Alignments* alignments = new Alignments;
303  AlignmentErrorsExtended* alignmentErrors = new AlignmentErrorsExtended;
304 
305  //read
306  static std::vector<OpticalObject*> optolist = Model::OptOList();
307  static std::vector<OpticalObject*>::const_iterator ite;
308  for (ite = optolist.begin(); ite != optolist.end(); ++ite) {
309  if ((*ite)->type() == "system")
310  continue;
311  std::cout << "CocoaDBMgr::BuildAlignments getCmsswID " << (*ite) << std::endl;
312  std::cout << "CocoaDBMgr::BuildAlignments getCmsswID " << (*ite)->getCmsswID() << std::endl;
313  //check CMSSW ID
314  if ((*ite)->getCmsswID() > 0) { //put the numbers of DT or CSC objects
315  std::cout << " cal fill alignments " << std::endl;
316  alignments->m_align.push_back(*(GetAlignInfoFromOptO(*ite)));
317  std::cout << " fill alignments " << std::endl;
318  // AlignTransformErrorExtended* err =
319  //GetAlignInfoErrorFromOptO( *ite );
320  alignmentErrors->m_alignError.push_back(*(GetAlignInfoErrorFromOptO(*ite)));
321  std::cout << "CocoaDBMgr::BuildAlignments add alignmentError " << alignmentErrors->m_alignError.size()
322  << std::endl;
323  }
324  }
325 
326  if (ALIUtils::debug >= 4)
327  std::cout << "CocoaDBMgr::BuildAlignments end with n alignment " << alignments->m_align.size()
328  << " n alignmentError " << alignmentErrors->m_alignError.size() << std::endl;
329  return std::pair<Alignments*, AlignmentErrorsExtended*>(alignments, alignmentErrors);
330 }
331 
332 //-----------------------------------------------------------------------
334  if (ALIUtils::debug >= 3)
335  std::cout << "@@@ CocoaDBMgr::GetAlignInfoFromOptO " << opto->name() << std::endl;
336 
337  const AlignTransform::Translation& trans = opto->centreGlob();
338  const AlignTransform::Rotation& rot = opto->rmGlob();
339  align::ID cmsswID = opto->getCmsswID();
340 
341  std::cout << "@@@ CocoaDBMgr::GetAlignInfoFromOptO buildalign" << opto->name() << std::endl;
342  AlignTransform* align = new AlignTransform(trans, rot, cmsswID);
343 
344  std::cout << "@@@ CocoaDBMgr::GetAlignInfoFromOptO alig built " << opto->name() << std::endl;
345 
346  return align;
347  // return dd;
348 }
349 
350 //-----------------------------------------------------------------------
352  if (ALIUtils::debug >= 3)
353  std::cout << "@@@ CocoaDBMgr::GetAlignInfoErrorFromOptO " << opto->name() << std::endl;
354 
355  align::ID cmsswID = opto->getCmsswID();
356 
357  GlobalError gerr(1., 0., 1., 0., 0., 1.);
358  //double(dx*dx), 0., double(dy*dy), 0., 0., double(dz*dz) ) ;
359  CLHEP::HepSymMatrix errms = asHepMatrix(gerr.matrix());
360  AlignTransformErrorExtended* alignError = new AlignTransformErrorExtended(errms, cmsswID);
361  return alignError;
362 
363  CLHEP::HepMatrix errm(3, 3);
364  const std::vector<Entry*>& theCoordinateEntryVector = opto->CoordinateEntryList();
365  std::cout << "@@@ CocoaDBMgr::GetAlignInfoFromOptOfill errm " << opto->name() << std::endl;
366  errm(0, 0) = GetEntryError(theCoordinateEntryVector[0]) * dd4hep::m; // m in COCOA, dd4hep unit in DB
367  errm(1, 1) = GetEntryError(theCoordinateEntryVector[1]) * dd4hep::m; // m in COCOA, dd4hep unit in DB
368  errm(2, 2) = GetEntryError(theCoordinateEntryVector[2]) * dd4hep::m; // m in COCOA, dd4hep unit in DB
369  errm(0, 1) = GetEntryError(theCoordinateEntryVector[0], theCoordinateEntryVector[1]) *
370  dd4hep::m; // m in COCOA, dd4hep unit in DB
371  errm(0, 2) = GetEntryError(theCoordinateEntryVector[0], theCoordinateEntryVector[2]) *
372  dd4hep::m; // m in COCOA, dd4hep unit in DB
373  errm(1, 2) = GetEntryError(theCoordinateEntryVector[1], theCoordinateEntryVector[2]) *
374  dd4hep::m; // m in COCOA, dd4hep unit in DB
375  // errm(1,0) = errm(0,1);
376  // errm(2,0) = errm(0,2);
377  // errm(2,1) = errm(1,2);
378 
379  std::cout << "@@@ CocoaDBMgr::GetAlignInfoFromOptO errm filled" << opto->name() << std::endl;
380  // CLHEP::HepSymMatrix errms(3);
381  // errms.assign(errm);
382 
383  std::cout << "@@@ CocoaDBMgr::GetAlignInfoFromOptO errms filled " << opto->name() << std::endl;
384  // AlignTransformErrorExtended* alignError = new AlignTransformErrorExtended( errms, cmsswID );
385  // AlignTransformErrorExtended* alignError = 0;
386 
387  std::cout << alignError << "@@@ CocoaDBMgr::GetAlignInfoFromOptO error built " << opto->name() << std::endl;
388  //t return alignError;
389  return (AlignTransformErrorExtended*)nullptr;
390 }
Fit.h
AlignmentErrorsExtended.h
CocoaDBMgr::instance
static CocoaDBMgr * instance
Definition: CocoaDBMgr.h:59
OpticalObject.h
OpticalAlignMeasurementInfo.h
align
Definition: AlignableIndexer.h:30
cond::service::PoolDBOutputService::beginOfTime
cond::Time_t beginOfTime() const
Definition: PoolDBOutputService.cc:215
Model.h
ESHandle.h
OpticalAlignParam::error_
double error_
Definition: OpticalAlignInfo.h:47
GlobalOptionMgr::GlobalOptions
std::map< ALIstring, ALIdouble, std::less< ALIstring > > & GlobalOptions()
Definition: GlobalOptionMgr.h:31
mps_splice.entry
entry
Definition: mps_splice.py:68
GlobalOptionMgr
Definition: GlobalOptionMgr.h:18
OpticalObject::name
const ALIstring & name() const
Definition: OpticalObject.h:58
GlobalOptionMgr::getInstance
static GlobalOptionMgr * getInstance()
Definition: GlobalOptionMgr.cc:18
AlignTransform::Rotation
CLHEP::HepRotation Rotation
Definition: AlignTransform.h:19
gather_cfg.cout
cout
Definition: gather_cfg.py:144
OpticalAlignments::opticalAlignments_
std::vector< OpticalAlignInfo > opticalAlignments_
Definition: OpticalAlignments.h:30
cond::service::PoolDBOutputService::appendSinceTime
void appendSinceTime(const T *payloadObj, cond::Time_t sinceTime, const std::string &recordName)
Definition: PoolDBOutputService.h:141
Alignments.h
GlobalOptionMgr.h
OpticalAlignInfo
Definition: OpticalAlignInfo.h:71
AlignTransform::Translation
CLHEP::Hep3Vector Translation
Definition: AlignTransform.h:18
Entry::name
const ALIstring & name() const
Definition: Entry.h:50
CocoaDBMgr::GetEntryError
double GetEntryError(const Entry *entry)
Definition: CocoaDBMgr.cc:262
OpticalAlignmentsRcd.h
AlignTransform.h
GlobalErrorBase::matrix
const AlgebraicSymMatrix33 matrix() const
Definition: GlobalErrorBase.h:121
OpticalObject
Definition: OpticalObject.h:35
CocoaDBMgr::DumpCocoaResults
bool DumpCocoaResults()
Definition: CocoaDBMgr.cc:49
edm::Service::isAvailable
bool isAvailable() const
Definition: Service.h:40
OpticalObject::centreGlob
const CLHEP::Hep3Vector & centreGlob() const
Definition: OpticalObject.h:75
TRUE
#define TRUE
Definition: scimark2.h:12
OpticalObject::type
const ALIstring & type() const
Definition: OpticalObject.h:59
Entry::fitPos
ALIint fitPos() const
Definition: Entry.h:58
OpticalObject::rmGlob
const CLHEP::HepRotation & rmGlob() const
Definition: OpticalObject.h:83
OpticalObject::getLocalRotationAngles
std::vector< double > getLocalRotationAngles(const std::vector< Entry * > &entries) const
Definition: OpticalObject.cc:1679
PoolDBOutputService.h
cond::service::PoolDBOutputService::createNewIOV
void createNewIOV(const T *firstPayloadObj, cond::Time_t firstSinceTime, cond::Time_t, const std::string &recordName)
Definition: PoolDBOutputService.h:116
Service.h
visualization-live-secondInstance_cfg.m
m
Definition: visualization-live-secondInstance_cfg.py:72
OpticalAlignParam::name_
std::string name_
Definition: OpticalAlignInfo.h:49
mathSSE::sqrt
T sqrt(T t)
Definition: SSEVec.h:19
ALIUtils::debug
static ALIint debug
Definition: ALIUtils.h:34
Model::OptOList
static std::vector< OpticalObject * > & OptOList()
Definition: Model.h:84
CocoaDBMgr::getInstance
static CocoaDBMgr * getInstance()
Definition: CocoaDBMgr.cc:38
OpticalAlignInfo.h
CocoaDaqReaderRoot.h
Entry.h
CocoaDBMgr::BuildOpticalAlignments
OpticalAlignments * BuildOpticalAlignments()
Definition: CocoaDBMgr.cc:283
AlignTransform
Definition: AlignTransform.h:15
CocoaDBMgr::CocoaDBMgr
CocoaDBMgr()
Definition: CocoaDBMgr.cc:46
OpticalAlignParam
Definition: OpticalAlignInfo.h:34
OpticalObject::ExtraEntryList
const std::vector< Entry * > & ExtraEntryList() const
Definition: OpticalObject.h:65
OpticalObject::getCmsswID
const ALIuint getCmsswID() const
Definition: OpticalObject.h:97
LogDebug
#define LogDebug(id)
Definition: MessageLogger.h:233
align::ID
uint32_t ID
Definition: Definitions.h:24
Serialization.h
Event.h
AlignTransformErrorExtended.h
ALIUtils.h
OpticalObject::parent
const OpticalObject * parent() const
Definition: OpticalObject.h:60
cond::Time_t
unsigned long long Time_t
Definition: Time.h:14
edm::Service< cond::service::PoolDBOutputService >
GlobalError.h
GlobalErrorBase< double, ErrorMatrixTag >
DTAlignmentRcd.h
IdealGeometryRecord.h
OpticalObject::CoordinateEntryList
const std::vector< Entry * > & CoordinateEntryList() const
Definition: OpticalObject.h:63
OpticalAlignMeasurements.h
Entry
Definition: Entry.h:18
Entry::type
const ALIstring & type() const
Definition: Entry.h:52
AlignmentErrorsExtended
Definition: AlignmentErrorsExtended.h:10
Fit::GetAtWAMatrix
static ALIMatrix * GetAtWAMatrix()
Definition: Fit.h:152
Entry::quality
ALIint quality() const
Definition: Entry.h:57
cond::service::PoolDBOutputService::endOfTime
cond::Time_t endOfTime() const
Definition: PoolDBOutputService.cc:213
CocoaDBMgr
Definition: CocoaDBMgr.h:35
Fit::nEvent
static ALIuint nEvent
Definition: Fit.h:208
CocoaDBMgr::GetOptAlignInfoFromOptO
OpticalAlignInfo GetOptAlignInfoFromOptO(OpticalObject *opto)
Definition: CocoaDBMgr.cc:168
OpticalAlignments.h
Exception
Definition: hltDiff.cc:245
makeMuonMisalignmentScenario.rot
rot
Definition: makeMuonMisalignmentScenario.py:322
AlignTransformErrorExtended
Definition: AlignTransformErrorExtended.h:13
EventSetup.h
cond::service::PoolDBOutputService::isNewTagRequest
bool isNewTagRequest(const std::string &recordName)
Definition: PoolDBOutputService.cc:128
CocoaDBMgr.h
data
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:79
OpticalAlignments
Definition: OpticalAlignments.h:22
Alignments::m_align
std::vector< AlignTransform > m_align
Definition: Alignments.h:19
AlignmentErrorsExtended::m_alignError
std::vector< AlignTransformErrorExtended > m_alignError
Definition: AlignmentErrorsExtended.h:19
CocoaDBMgr::GetAlignInfoErrorFromOptO
AlignTransformErrorExtended * GetAlignInfoErrorFromOptO(OpticalObject *opto)
Definition: CocoaDBMgr.cc:351
ParameterSet.h
hlt_dqm_clientPB-live_cfg.me
me
Definition: hlt_dqm_clientPB-live_cfg.py:61
CocoaDBMgr::BuildAlignments
std::pair< Alignments *, AlignmentErrorsExtended * > BuildAlignments(bool bDT)
Definition: CocoaDBMgr.cc:301
CocoaDBMgr::GetAlignInfoFromOptO
AlignTransform * GetAlignInfoFromOptO(OpticalObject *opto)
Definition: CocoaDBMgr.cc:333
asHepMatrix
CLHEP::HepMatrix asHepMatrix(const ROOT::Math::SMatrix< double, N1, N2, typename ROOT::Math::MatRepStd< double, N1, N2 > > &rm)
Definition: Migration.h:60
OpticalAlignParam::value_
double value_
Definition: OpticalAlignInfo.h:46
Alignments
Definition: Alignments.h:10
OpticalAlignParam::quality_
int quality_
Definition: OpticalAlignInfo.h:48
cond::service::PoolDBOutputService::currentTime
cond::Time_t currentTime() const
Definition: PoolDBOutputService.cc:217
OpticalAlignParam::dim_type_
std::string dim_type_
Definition: OpticalAlignInfo.h:50
ALIFileOut.h