#include <TrackerGeometryCompare.h>
Public Types | |
typedef std::vector< Alignable * > | Alignables |
typedef AlignTransform | SurveyValue |
typedef Alignments | SurveyValues |
Public Types inherited from edm::EDAnalyzer | |
typedef EDAnalyzer | ModuleType |
typedef WorkerT< EDAnalyzer > | WorkerType |
Public Member Functions | |
virtual void | analyze (const edm::Event &, const edm::EventSetup &) |
virtual void | beginJob () |
Read from DB and print survey info. More... | |
TrackerGeometryCompare (const edm::ParameterSet &) | |
Do nothing. Required by framework. More... | |
Public Member Functions inherited from edm::EDAnalyzer | |
EDAnalyzer () | |
std::string | workerType () const |
virtual | ~EDAnalyzer () |
Private Member Functions | |
void | addSurveyInfo (Alignable *ali) |
void | compareGeometries (Alignable *refAli, Alignable *curAli) |
void | createROOTGeometry (const edm::EventSetup &iSetup) |
void | diffCommonTrackerSystem (Alignable *refAli, Alignable *curAli) |
void | fillIdentifiers (int subdetlevel, int rawid) |
void | fillTree (Alignable *refAli, AlgebraicVector diff) |
bool | passIdCut (uint32_t) |
void | setCommonTrackerSystem () |
void | surveyToTracker (AlignableTracker *ali, Alignments *alignVals, AlignmentErrors *alignErrors) |
Additional Inherited Members | |
Static Public Member Functions inherited from edm::EDAnalyzer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
Protected Member Functions inherited from edm::EDAnalyzer | |
CurrentProcessingContext const * | currentContext () const |
Module that reads survey info from DB and prints them out.
Usage: module comparator = TrackerGeometryCompare {
lots of stuff
} path p = { comparator }
Definition at line 35 of file TrackerGeometryCompare.h.
typedef std::vector<Alignable*> TrackerGeometryCompare::Alignables |
Definition at line 41 of file TrackerGeometryCompare.h.
Definition at line 39 of file TrackerGeometryCompare.h.
Definition at line 40 of file TrackerGeometryCompare.h.
TrackerGeometryCompare::TrackerGeometryCompare | ( | const edm::ParameterSet & | cfg | ) |
Do nothing. Required by framework.
Definition at line 52 of file TrackerGeometryCompare.cc.
References _alignTree, _alphaVal, _betaVal, _dalphaVal, _daVal, _dbetaVal, _dbVal, _detDim, _detIdFlag, _detIdFlagFile, _detIdFlagVector, _dgammaVal, _dgVal, _dphiVal, _drVal, _duVal, _dvVal, _dwVal, _dxVal, _dyVal, _dzVal, _etaVal, _filename, _gammaVal, _id, _identifiers, _inputFilename1, _inputFilename2, _inputTreename, _level, _mid, _mlevel, _phiVal, _rVal, _setCommonTrackerSystem, _sublevel, _surLength, _surRot, _surWidth, _theFile, _useDetId, _weightBy, _weightById, _weightByIdFile, _weightByIdVector, _writeToDB, _xVal, _yVal, _zVal, edm::ParameterSet::getUntrackedParameter(), ExpressReco_HICollisions_FallBack::id, prof2calltree::l, and theLevels.
|
private |
Definition at line 617 of file TrackerGeometryCompare.cc.
References Alignable::alignableObjectId(), Alignable::components(), error, edm::hlt::Exception, Alignable::geomDetId(), i, AlignableSurface::length(), Alignments::m_align, SurveyErrors::m_surveyErrors, SurveyError::matrix(), pos, SurveyError::rawId(), DetId::rawId(), AlignableSurface::setLength(), Alignable::setSurvey(), AlignableSurface::setWidth(), SurveyError::structureType(), Alignable::surface(), theSurveyErrors, theSurveyIndex, theSurveyValues, and AlignableSurface::width().
|
virtual |
Implements edm::EDAnalyzer.
Definition at line 159 of file TrackerGeometryCompare.cc.
References _alignTree, _setCommonTrackerSystem, _theFile, _writeToDB, AlignableTracker::alignmentErrors(), AlignableTracker::alignments(), cond::service::PoolDBOutputService::beginOfTime(), compareGeometries(), createROOTGeometry(), currentTracker, firstEvent_, edm::Service< T >::isAvailable(), referenceTracker, setCommonTrackerSystem(), and cond::service::PoolDBOutputService::writeOne().
|
virtual |
Read from DB and print survey info.
Reimplemented from edm::EDAnalyzer.
Definition at line 155 of file TrackerGeometryCompare.cc.
References firstEvent_.
Definition at line 310 of file TrackerGeometryCompare.cc.
References _weightBy, _weightById, _weightByIdVector, Alignable::alignableObjectId(), CastorDataFrameFilter_impl::check(), Alignable::components(), cond::rpcobgas::detid, diffTreeTool::diff, align::diffAlignables(), ExpressReco_HICollisions_FallBack::e, edm::hlt::Exception, fillTree(), Alignable::geomDetId(), i, Alignable::id(), PV3DBase< T, PVType, FrameType >::mag(), align::moveAlignable(), DetId::rawId(), and theLevels.
Referenced by analyze().
|
private |
Definition at line 202 of file TrackerGeometryCompare.cc.
References _inputFilename1, _inputFilename2, _inputRootFile1, _inputRootFile2, _inputTree1, _inputTree2, _inputTreename, GeometryAligner::applyAlignments(), TrackerGeomBuilderFromGeometricDet::build(), currentTracker, align::DetectorGlobalPosition(), edm::EventSetup::get(), edm::eventsetup::EventSetupRecord::get(), i, Alignments::m_align, AlignmentErrors::m_alignError, referenceTracker, python.multivaluedict::sort(), and DetId::Tracker.
Referenced by analyze().
|
private |
Definition at line 418 of file TrackerGeometryCompare.cc.
References _commonTrackerLevel, _TrackerCommonCM, _TrackerCommonR, _TrackerCommonT, _weightBy, _weightById, _weightByIdVector, Alignable::alignableObjectId(), Alignable::components(), diffTreeTool::diff, align::diffAlignables(), Alignable::globalPosition(), and i.
Referenced by setCommonTrackerSystem().
|
private |
Definition at line 664 of file TrackerGeometryCompare.cc.
References _identifiers, PXFDetId::blade(), gather_cfg::cout, PXFDetId::disk(), PXBDetId::ladder(), PXBDetId::layer(), TOBDetId::layer(), TIBDetId::layer(), PXBDetId::module(), PXFDetId::module(), TOBDetId::module(), TIBDetId::module(), TIDDetId::module(), TECDetId::module(), PXFDetId::panel(), TECDetId::petal(), TIDDetId::ring(), TECDetId::ring(), TOBDetId::rod(), PXFDetId::side(), TIDDetId::side(), TECDetId::side(), TIBDetId::string(), TIDDetId::wheel(), and TECDetId::wheel().
Referenced by fillTree().
|
private |
Definition at line 477 of file TrackerGeometryCompare.cc.
References _alignTree, _alphaVal, _betaVal, _dalphaVal, _daVal, _dbetaVal, _dbVal, _detDim, _detIdFlag, _dgammaVal, _dgVal, _dphiVal, _drVal, _duVal, _dvVal, _dwVal, _dxVal, _dyVal, _dzVal, _etaVal, _gammaVal, _id, _level, _mid, _mlevel, _phiVal, _rVal, _sublevel, _surLength, _surRot, _surWidth, _useDetId, _xVal, _yVal, _zVal, align::AlignableDet, align::AlignableDetUnit, Alignable::alignableObjectId(), cond::rpcobgas::detid, PV3DBase< T, PVType, FrameType >::eta(), fillIdentifiers(), g, Alignable::geomDetId(), Alignable::globalPosition(), Alignable::globalRotation(), Alignable::id(), prof2calltree::l, AlignableSurface::length(), Alignable::mother(), passIdCut(), PV3DBase< T, PVType, FrameType >::perp(), PV3DBase< T, PVType, FrameType >::phi(), DetId::rawId(), DetId::subdetId(), Alignable::surface(), align::toAngles(), AlignableSurface::toLocal(), AlignableSurface::width(), PV3DBase< T, PVType, FrameType >::x(), TkRotation< T >::xx(), TkRotation< T >::xy(), TkRotation< T >::xz(), PV3DBase< T, PVType, FrameType >::y(), TkRotation< T >::yx(), TkRotation< T >::yy(), TkRotation< T >::yz(), PV3DBase< T, PVType, FrameType >::z(), TkRotation< T >::zx(), TkRotation< T >::zy(), and TkRotation< T >::zz().
Referenced by compareGeometries().
|
private |
Definition at line 651 of file TrackerGeometryCompare.cc.
References _detIdFlagVector, and i.
Referenced by fillTree().
|
private |
Definition at line 381 of file TrackerGeometryCompare.cc.
References _commonTrackerLevel, _setCommonTrackerSystem, _TrackerCommonCM, _TrackerCommonR, _TrackerCommonT, gather_cfg::cout, currentTracker, diffCommonTrackerSystem(), Alignable::globalPosition(), align::moveAlignable(), TkRotation< T >::multiplyInverse(), AlignableObjectId::nameToType(), referenceTracker, align::toMatrix(), PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by analyze().
|
private |
Definition at line 565 of file TrackerGeometryCompare.cc.
References filterCSVwithJSON::copy, AlignableTracker::endcapGeomDets(), i, AlignableTracker::innerBarrelGeomDets(), j, gen::k, Alignments::m_align, AlignmentErrors::m_alignError, AlignableTracker::outerBarrelGeomDets(), AlignableTracker::pixelEndcapGeomDets(), AlignableTracker::pixelHalfBarrelGeomDets(), pos, SurveyDet::position(), SurveyDet::rotation(), python.multivaluedict::sort(), and AlignableTracker::TIDGeomDets().
|
private |
Definition at line 112 of file TrackerGeometryCompare.h.
Referenced by analyze(), fillTree(), and TrackerGeometryCompare().
|
private |
Definition at line 119 of file TrackerGeometryCompare.h.
Referenced by fillTree(), and TrackerGeometryCompare().
|
private |
Definition at line 119 of file TrackerGeometryCompare.h.
Referenced by fillTree(), and TrackerGeometryCompare().
|
private |
Definition at line 104 of file TrackerGeometryCompare.h.
Referenced by diffCommonTrackerSystem(), and setCommonTrackerSystem().
|
private |
Definition at line 121 of file TrackerGeometryCompare.h.
Referenced by fillTree(), and TrackerGeometryCompare().
|
private |
Definition at line 123 of file TrackerGeometryCompare.h.
Referenced by fillTree(), and TrackerGeometryCompare().
|
private |
Definition at line 121 of file TrackerGeometryCompare.h.
Referenced by fillTree(), and TrackerGeometryCompare().
|
private |
Definition at line 123 of file TrackerGeometryCompare.h.
Referenced by fillTree(), and TrackerGeometryCompare().
|
private |
Definition at line 118 of file TrackerGeometryCompare.h.
Referenced by fillTree(), and TrackerGeometryCompare().
|
private |
Definition at line 97 of file TrackerGeometryCompare.h.
Referenced by fillTree(), and TrackerGeometryCompare().
|
private |
Definition at line 98 of file TrackerGeometryCompare.h.
Referenced by TrackerGeometryCompare().
|
private |
Definition at line 103 of file TrackerGeometryCompare.h.
Referenced by passIdCut(), and TrackerGeometryCompare().
|
private |
Definition at line 121 of file TrackerGeometryCompare.h.
Referenced by fillTree(), and TrackerGeometryCompare().
|
private |
Definition at line 123 of file TrackerGeometryCompare.h.
Referenced by fillTree(), and TrackerGeometryCompare().
|
private |
Definition at line 121 of file TrackerGeometryCompare.h.
Referenced by fillTree(), and TrackerGeometryCompare().
|
private |
Definition at line 121 of file TrackerGeometryCompare.h.
Referenced by fillTree(), and TrackerGeometryCompare().
|
private |
Definition at line 123 of file TrackerGeometryCompare.h.
Referenced by fillTree(), and TrackerGeometryCompare().
|
private |
Definition at line 123 of file TrackerGeometryCompare.h.
Referenced by fillTree(), and TrackerGeometryCompare().
|
private |
Definition at line 123 of file TrackerGeometryCompare.h.
Referenced by fillTree(), and TrackerGeometryCompare().
|
private |
Definition at line 121 of file TrackerGeometryCompare.h.
Referenced by fillTree(), and TrackerGeometryCompare().
|
private |
Definition at line 121 of file TrackerGeometryCompare.h.
Referenced by fillTree(), and TrackerGeometryCompare().
|
private |
Definition at line 121 of file TrackerGeometryCompare.h.
Referenced by fillTree(), and TrackerGeometryCompare().
|
private |
Definition at line 119 of file TrackerGeometryCompare.h.
Referenced by fillTree(), and TrackerGeometryCompare().
|
private |
Definition at line 110 of file TrackerGeometryCompare.h.
Referenced by python.Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::_readHeaderInfo(), python.Vispa.Main.TabController.TabController::checkModificationTimestamp(), python.Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::configFile(), python.Vispa.Plugins.ConfigEditor.ConfigEditorTabController.ConfigEditorTabController::dumpPython(), python.Vispa.Plugins.EdmBrowser.EdmBrowserTabController.EdmBrowserTabController::eventContent(), python.Vispa.Plugins.ConfigEditor.ConfigEditorTabController.ConfigEditorTabController::exportDot(), python.Vispa.Main.TabController.TabController::filename(), python.Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::fullFilename(), python.Vispa.Main.TabController.TabController::getFileBasename(), python.Vispa.Plugins.ConfigEditor.ConfigEditorTabController.ConfigEditorTabController::importConfig(), python.Vispa.Plugins.EventBrowser.EventBrowserTabController.EventBrowserTabController::navigate(), python.Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::open(), python.Vispa.Main.TabController.TabController::open(), python.Vispa.Plugins.EdmBrowser.EdmDataAccessor.EdmDataAccessor::open(), python.Vispa.Main.TabController.TabController::refresh(), python.Vispa.Main.TabController.TabController::save(), python.Vispa.Main.TabController.TabController::setFilename(), python.Vispa.Plugins.ConfigEditor.ConfigEditorTabController.ConfigEditorTabController::startEditMode(), TrackerGeometryCompare(), and python.Vispa.Main.TabController.TabController::updateLabel().
|
private |
Definition at line 119 of file TrackerGeometryCompare.h.
Referenced by fillTree(), and TrackerGeometryCompare().
|
private |
Definition at line 118 of file TrackerGeometryCompare.h.
Referenced by fillTree(), and TrackerGeometryCompare().
|
private |
Definition at line 125 of file TrackerGeometryCompare.h.
Referenced by fillIdentifiers(), and TrackerGeometryCompare().
|
private |
Definition at line 91 of file TrackerGeometryCompare.h.
Referenced by createROOTGeometry(), and TrackerGeometryCompare().
|
private |
Definition at line 92 of file TrackerGeometryCompare.h.
Referenced by createROOTGeometry(), and TrackerGeometryCompare().
|
private |
Definition at line 113 of file TrackerGeometryCompare.h.
Referenced by createROOTGeometry().
|
private |
Definition at line 114 of file TrackerGeometryCompare.h.
Referenced by createROOTGeometry().
|
private |
Definition at line 115 of file TrackerGeometryCompare.h.
Referenced by createROOTGeometry().
|
private |
Definition at line 116 of file TrackerGeometryCompare.h.
Referenced by createROOTGeometry().
|
private |
Definition at line 93 of file TrackerGeometryCompare.h.
Referenced by createROOTGeometry(), and TrackerGeometryCompare().
|
private |
Definition at line 118 of file TrackerGeometryCompare.h.
Referenced by argparse.HelpFormatter::__init__(), argparse.HelpFormatter::_dedent(), argparse.HelpFormatter::_indent(), fillTree(), and TrackerGeometryCompare().
|
private |
Definition at line 118 of file TrackerGeometryCompare.h.
Referenced by fillTree(), and TrackerGeometryCompare().
|
private |
Definition at line 118 of file TrackerGeometryCompare.h.
Referenced by fillTree(), and TrackerGeometryCompare().
|
private |
Definition at line 119 of file TrackerGeometryCompare.h.
Referenced by fillTree(), and TrackerGeometryCompare().
|
private |
Definition at line 119 of file TrackerGeometryCompare.h.
Referenced by fillTree(), and TrackerGeometryCompare().
|
private |
Definition at line 96 of file TrackerGeometryCompare.h.
Referenced by analyze(), setCommonTrackerSystem(), and TrackerGeometryCompare().
|
private |
Definition at line 118 of file TrackerGeometryCompare.h.
Referenced by fillTree(), and TrackerGeometryCompare().
|
private |
Definition at line 124 of file TrackerGeometryCompare.h.
Referenced by fillTree(), and TrackerGeometryCompare().
|
private |
Definition at line 126 of file TrackerGeometryCompare.h.
Referenced by fillTree(), and TrackerGeometryCompare().
|
private |
Definition at line 124 of file TrackerGeometryCompare.h.
Referenced by fillTree(), and TrackerGeometryCompare().
|
private |
Definition at line 111 of file TrackerGeometryCompare.h.
Referenced by analyze(), and TrackerGeometryCompare().
|
private |
Definition at line 107 of file TrackerGeometryCompare.h.
Referenced by diffCommonTrackerSystem(), and setCommonTrackerSystem().
|
private |
Definition at line 106 of file TrackerGeometryCompare.h.
Referenced by diffCommonTrackerSystem(), and setCommonTrackerSystem().
|
private |
Definition at line 105 of file TrackerGeometryCompare.h.
Referenced by diffCommonTrackerSystem(), and setCommonTrackerSystem().
|
private |
Definition at line 118 of file TrackerGeometryCompare.h.
Referenced by fillTree(), and TrackerGeometryCompare().
|
private |
Definition at line 95 of file TrackerGeometryCompare.h.
Referenced by compareGeometries(), diffCommonTrackerSystem(), and TrackerGeometryCompare().
|
private |
Definition at line 99 of file TrackerGeometryCompare.h.
Referenced by compareGeometries(), diffCommonTrackerSystem(), and TrackerGeometryCompare().
|
private |
Definition at line 100 of file TrackerGeometryCompare.h.
Referenced by TrackerGeometryCompare().
|
private |
Definition at line 101 of file TrackerGeometryCompare.h.
Referenced by compareGeometries(), diffCommonTrackerSystem(), and TrackerGeometryCompare().
|
private |
Definition at line 94 of file TrackerGeometryCompare.h.
Referenced by analyze(), and TrackerGeometryCompare().
|
private |
Definition at line 119 of file TrackerGeometryCompare.h.
Referenced by fillTree(), and TrackerGeometryCompare().
|
private |
Definition at line 119 of file TrackerGeometryCompare.h.
Referenced by fillTree(), and TrackerGeometryCompare().
|
private |
Definition at line 119 of file TrackerGeometryCompare.h.
Referenced by fillTree(), and TrackerGeometryCompare().
|
private |
Definition at line 84 of file TrackerGeometryCompare.h.
Referenced by analyze(), createROOTGeometry(), and setCommonTrackerSystem().
|
private |
Definition at line 83 of file TrackerGeometryCompare.h.
|
private |
Definition at line 128 of file TrackerGeometryCompare.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 60 of file TrackerGeometryCompare.h.
|
private |
Definition at line 82 of file TrackerGeometryCompare.h.
Referenced by analyze(), createROOTGeometry(), and setCommonTrackerSystem().
|
private |
Definition at line 61 of file TrackerGeometryCompare.h.
Referenced by compareGeometries(), and TrackerGeometryCompare().
|
private |
Definition at line 88 of file TrackerGeometryCompare.h.
Referenced by addSurveyInfo().
|
private |
Definition at line 86 of file TrackerGeometryCompare.h.
Referenced by addSurveyInfo().
|
private |
Definition at line 87 of file TrackerGeometryCompare.h.
Referenced by addSurveyInfo().