#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... | |
virtual void | endJob () |
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 | compareSurfaceDeformations (TTree *_inputTree11, TTree *_inputTree12) |
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) |
static void | prevalidate (ConfigurationDescriptions &) |
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 }
******** Including surface deformations in the geometry comparison ********
Definition at line 48 of file TrackerGeometryCompare.h.
typedef std::vector<Alignable*> TrackerGeometryCompare::Alignables |
Definition at line 52 of file TrackerGeometryCompare.h.
Definition at line 50 of file TrackerGeometryCompare.h.
Definition at line 51 of file TrackerGeometryCompare.h.
TrackerGeometryCompare::TrackerGeometryCompare | ( | const edm::ParameterSet & | cfg | ) |
Do nothing. Required by framework.
Definition at line 58 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, _inputTreenameAlign, _inputTreenameDeform, _level, _mid, _mlevel, _phiVal, _rVal, _setCommonTrackerSystem, _sublevel, _surfDeform, _surLength, _surRot, _surWidth, _theFile, _type, _useDetId, _weightBy, _weightById, _weightByIdFile, _weightByIdVector, _writeToDB, _xVal, _yVal, _zVal, groupFilesInBlocks::fin, edm::ParameterSet::getUntrackedParameter(), errorMatrix2Lands_multiChannel::id, prof2calltree::l, m_h1, m_nBins, m_rangeHigh, m_rangeLow, m_theLevels, m_vtkmap, TFileDirectory::make(), and TFileDirectory::mkdir().
|
private |
Definition at line 880 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(), makeMuonMisalignmentScenario::rot, AlignableSurface::setLength(), Alignable::setSurvey(), AlignableSurface::setWidth(), SurveyError::structureType(), Alignable::surface(), theSurveyErrors, theSurveyIndex, theSurveyValues, and AlignableSurface::width().
|
virtual |
Implements edm::EDAnalyzer.
Definition at line 229 of file TrackerGeometryCompare.cc.
References _inputTree11, _inputTree12, _setCommonTrackerSystem, _writeToDB, AlignableTracker::alignmentErrors(), AlignableTracker::alignments(), cond::service::PoolDBOutputService::beginOfTime(), compareGeometries(), compareSurfaceDeformations(), 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 205 of file TrackerGeometryCompare.cc.
References firstEvent_.
Definition at line 578 of file TrackerGeometryCompare.cc.
References _weightBy, _weightById, _weightByIdVector, Alignable::alignableObjectId(), CastorDataFrameFilter_impl::check(), Alignable::components(), cond::rpcobgas::detid, diffTreeTool::diff, align::diffAlignables(), PFRecoTauDiscriminationAgainstElectronDeadECAL_cfi::dR, alignCSCRings::e, edm::hlt::Exception, fillTree(), Alignable::geomDetId(), i, Alignable::id(), m_theLevels, PV3DBase< T, PVType, FrameType >::mag(), align::moveAlignable(), DetId::rawId(), and makeMuonMisalignmentScenario::rot.
Referenced by analyze().
|
private |
Definition at line 435 of file TrackerGeometryCompare.cc.
References _inputFilename1, _inputFilename2, _inputRootFile1, _inputRootFile2, _inputTreenameDeform, _surfDeform, m_h1, m_nBins, m_rangeHigh, m_rangeLow, m_vtkmap, and hitfit::return.
Referenced by analyze().
|
private |
Definition at line 268 of file TrackerGeometryCompare.cc.
References _inputFilename1, _inputFilename2, _inputRootFile1, _inputRootFile2, _inputTree01, _inputTree02, _inputTree11, _inputTree12, _inputTreenameAlign, _inputTreenameDeform, GeometryAligner::applyAlignments(), TrackerGeomBuilderFromGeometricDet::build(), SurfaceDeformationFactory::create(), currentTracker, Alignable::deepComponents(), 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 687 of file TrackerGeometryCompare.cc.
References _commonTrackerLevel, _TrackerCommonCM, _TrackerCommonR, _TrackerCommonT, _weightBy, _weightById, _weightByIdVector, Alignable::alignableObjectId(), Alignable::components(), diffTreeTool::diff, align::diffAlignables(), PFRecoTauDiscriminationAgainstElectronDeadECAL_cfi::dR, Alignable::globalPosition(), i, and makeMuonMisalignmentScenario::rot.
Referenced by setCommonTrackerSystem().
|
virtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 209 of file TrackerGeometryCompare.cc.
References _alignTree, _theFile, and m_vtkmap.
|
private |
Definition at line 927 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 746 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(), AlignableSurface::length(), Alignable::mother(), passIdCut(), PV3DBase< T, PVType, FrameType >::perp(), PV3DBase< T, PVType, FrameType >::phi(), DetId::rawId(), makeMuonMisalignmentScenario::rot, DetId::subdetId(), Alignable::surface(), align::toAngles(), 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 914 of file TrackerGeometryCompare.cc.
References _detIdFlagVector, and i.
Referenced by fillTree().
|
private |
Definition at line 650 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, makeMuonMisalignmentScenario::rot, 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 828 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(), makeMuonMisalignmentScenario::rot, SurveyDet::rotation(), python.multivaluedict::sort(), AlignableTracker::TIDGeomDets(), and create_public_pileup_plots::transform.
|
private |
Definition at line 128 of file TrackerGeometryCompare.h.
Referenced by endJob(), fillTree(), and TrackerGeometryCompare().
|
private |
Definition at line 138 of file TrackerGeometryCompare.h.
Referenced by fillTree(), and TrackerGeometryCompare().
|
private |
Definition at line 138 of file TrackerGeometryCompare.h.
Referenced by fillTree(), and TrackerGeometryCompare().
|
private |
Definition at line 120 of file TrackerGeometryCompare.h.
Referenced by diffCommonTrackerSystem(), and setCommonTrackerSystem().
|
private |
Definition at line 140 of file TrackerGeometryCompare.h.
Referenced by fillTree(), and TrackerGeometryCompare().
|
private |
Definition at line 142 of file TrackerGeometryCompare.h.
Referenced by fillTree(), and TrackerGeometryCompare().
|
private |
Definition at line 140 of file TrackerGeometryCompare.h.
Referenced by fillTree(), and TrackerGeometryCompare().
|
private |
Definition at line 142 of file TrackerGeometryCompare.h.
Referenced by fillTree(), and TrackerGeometryCompare().
|
private |
Definition at line 137 of file TrackerGeometryCompare.h.
Referenced by fillTree(), and TrackerGeometryCompare().
|
private |
Definition at line 113 of file TrackerGeometryCompare.h.
Referenced by fillTree(), and TrackerGeometryCompare().
|
private |
Definition at line 114 of file TrackerGeometryCompare.h.
Referenced by TrackerGeometryCompare().
|
private |
Definition at line 119 of file TrackerGeometryCompare.h.
Referenced by passIdCut(), and TrackerGeometryCompare().
|
private |
Definition at line 140 of file TrackerGeometryCompare.h.
Referenced by fillTree(), and TrackerGeometryCompare().
|
private |
Definition at line 142 of file TrackerGeometryCompare.h.
Referenced by fillTree(), and TrackerGeometryCompare().
|
private |
Definition at line 140 of file TrackerGeometryCompare.h.
Referenced by fillTree(), and TrackerGeometryCompare().
|
private |
Definition at line 140 of file TrackerGeometryCompare.h.
Referenced by fillTree(), and TrackerGeometryCompare().
|
private |
Definition at line 142 of file TrackerGeometryCompare.h.
Referenced by fillTree(), and TrackerGeometryCompare().
|
private |
Definition at line 142 of file TrackerGeometryCompare.h.
Referenced by fillTree(), and TrackerGeometryCompare().
|
private |
Definition at line 142 of file TrackerGeometryCompare.h.
Referenced by fillTree(), and TrackerGeometryCompare().
|
private |
Definition at line 140 of file TrackerGeometryCompare.h.
Referenced by fillTree(), and TrackerGeometryCompare().
|
private |
Definition at line 140 of file TrackerGeometryCompare.h.
Referenced by fillTree(), and TrackerGeometryCompare().
|
private |
Definition at line 140 of file TrackerGeometryCompare.h.
Referenced by fillTree(), and TrackerGeometryCompare().
|
private |
Definition at line 138 of file TrackerGeometryCompare.h.
Referenced by fillTree(), and TrackerGeometryCompare().
|
private |
Definition at line 126 of file TrackerGeometryCompare.h.
Referenced by Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::_readHeaderInfo(), Vispa.Main.TabController.TabController::checkModificationTimestamp(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::configFile(), Vispa.Plugins.ConfigEditor.ConfigEditorTabController.ConfigEditorTabController::dumpPython(), Vispa.Plugins.EdmBrowser.EdmBrowserTabController.EdmBrowserTabController::eventContent(), Vispa.Plugins.ConfigEditor.ConfigEditorTabController.ConfigEditorTabController::exportDot(), Vispa.Main.TabController.TabController::filename(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::fullFilename(), Vispa.Main.TabController.TabController::getFileBasename(), Vispa.Plugins.ConfigEditor.ConfigEditorTabController.ConfigEditorTabController::importConfig(), Vispa.Plugins.EventBrowser.EventBrowserTabController.EventBrowserTabController::navigate(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::open(), Vispa.Main.TabController.TabController::open(), Vispa.Plugins.EdmBrowser.EdmDataAccessor.EdmDataAccessor::open(), Vispa.Main.TabController.TabController::refresh(), Vispa.Main.TabController.TabController::save(), Vispa.Main.TabController.TabController::setFilename(), Vispa.Plugins.ConfigEditor.ConfigEditorTabController.ConfigEditorTabController::startEditMode(), TrackerGeometryCompare(), and Vispa.Main.TabController.TabController::updateLabel().
|
private |
Definition at line 138 of file TrackerGeometryCompare.h.
Referenced by fillTree(), and TrackerGeometryCompare().
|
private |
\ Tree variables
Definition at line 137 of file TrackerGeometryCompare.h.
Referenced by fillTree(), and TrackerGeometryCompare().
|
private |
Definition at line 144 of file TrackerGeometryCompare.h.
Referenced by fillIdentifiers(), and TrackerGeometryCompare().
|
private |
Definition at line 106 of file TrackerGeometryCompare.h.
Referenced by compareSurfaceDeformations(), createROOTGeometry(), and TrackerGeometryCompare().
|
private |
Definition at line 107 of file TrackerGeometryCompare.h.
Referenced by compareSurfaceDeformations(), createROOTGeometry(), and TrackerGeometryCompare().
|
private |
Definition at line 129 of file TrackerGeometryCompare.h.
Referenced by compareSurfaceDeformations(), and createROOTGeometry().
|
private |
Definition at line 130 of file TrackerGeometryCompare.h.
Referenced by compareSurfaceDeformations(), and createROOTGeometry().
|
private |
Definition at line 131 of file TrackerGeometryCompare.h.
Referenced by createROOTGeometry().
|
private |
Definition at line 132 of file TrackerGeometryCompare.h.
Referenced by createROOTGeometry().
|
private |
Definition at line 133 of file TrackerGeometryCompare.h.
Referenced by analyze(), and createROOTGeometry().
|
private |
Definition at line 134 of file TrackerGeometryCompare.h.
Referenced by analyze(), and createROOTGeometry().
|
private |
Definition at line 108 of file TrackerGeometryCompare.h.
Referenced by createROOTGeometry(), and TrackerGeometryCompare().
|
private |
Definition at line 109 of file TrackerGeometryCompare.h.
Referenced by compareSurfaceDeformations(), createROOTGeometry(), and TrackerGeometryCompare().
|
private |
Definition at line 137 of file TrackerGeometryCompare.h.
Referenced by argparse.HelpFormatter::__init__(), argparse.HelpFormatter::_dedent(), python.rootplot.argparse.HelpFormatter::_dedent(), argparse.HelpFormatter::_indent(), python.rootplot.argparse.HelpFormatter::_indent(), fillTree(), and TrackerGeometryCompare().
|
private |
Definition at line 137 of file TrackerGeometryCompare.h.
Referenced by fillTree(), and TrackerGeometryCompare().
|
private |
Definition at line 137 of file TrackerGeometryCompare.h.
Referenced by fillTree(), and TrackerGeometryCompare().
|
private |
Definition at line 138 of file TrackerGeometryCompare.h.
Referenced by fillTree(), and TrackerGeometryCompare().
|
private |
Definition at line 138 of file TrackerGeometryCompare.h.
Referenced by fillTree(), and TrackerGeometryCompare().
|
private |
Definition at line 112 of file TrackerGeometryCompare.h.
Referenced by analyze(), setCommonTrackerSystem(), and TrackerGeometryCompare().
|
private |
Definition at line 137 of file TrackerGeometryCompare.h.
Referenced by fillTree(), and TrackerGeometryCompare().
|
private |
Definition at line 147 of file TrackerGeometryCompare.h.
Referenced by compareSurfaceDeformations(), and TrackerGeometryCompare().
|
private |
Definition at line 143 of file TrackerGeometryCompare.h.
Referenced by fillTree(), and TrackerGeometryCompare().
|
private |
Definition at line 145 of file TrackerGeometryCompare.h.
Referenced by fillTree(), and TrackerGeometryCompare().
|
private |
Definition at line 143 of file TrackerGeometryCompare.h.
Referenced by fillTree(), and TrackerGeometryCompare().
|
private |
Definition at line 127 of file TrackerGeometryCompare.h.
Referenced by endJob(), and TrackerGeometryCompare().
|
private |
Definition at line 123 of file TrackerGeometryCompare.h.
Referenced by diffCommonTrackerSystem(), and setCommonTrackerSystem().
|
private |
Definition at line 122 of file TrackerGeometryCompare.h.
Referenced by diffCommonTrackerSystem(), and setCommonTrackerSystem().
|
private |
Definition at line 121 of file TrackerGeometryCompare.h.
Referenced by diffCommonTrackerSystem(), and setCommonTrackerSystem().
|
private |
Definition at line 146 of file TrackerGeometryCompare.h.
Referenced by python.Handle::__str__(), Vispa.Gui.PortConnection.PointToPointConnection::calculateRoute(), SequenceTypes.ExpandVisitor::result(), and TrackerGeometryCompare().
|
private |
Definition at line 137 of file TrackerGeometryCompare.h.
Referenced by fillTree(), and TrackerGeometryCompare().
|
private |
Definition at line 111 of file TrackerGeometryCompare.h.
Referenced by compareGeometries(), diffCommonTrackerSystem(), and TrackerGeometryCompare().
|
private |
Definition at line 115 of file TrackerGeometryCompare.h.
Referenced by compareGeometries(), diffCommonTrackerSystem(), and TrackerGeometryCompare().
|
private |
Definition at line 116 of file TrackerGeometryCompare.h.
Referenced by TrackerGeometryCompare().
|
private |
Definition at line 117 of file TrackerGeometryCompare.h.
Referenced by compareGeometries(), diffCommonTrackerSystem(), and TrackerGeometryCompare().
|
private |
Definition at line 110 of file TrackerGeometryCompare.h.
Referenced by analyze(), and TrackerGeometryCompare().
|
private |
Definition at line 138 of file TrackerGeometryCompare.h.
Referenced by fillTree(), and TrackerGeometryCompare().
|
private |
Definition at line 138 of file TrackerGeometryCompare.h.
Referenced by fillTree(), and TrackerGeometryCompare().
|
private |
Definition at line 138 of file TrackerGeometryCompare.h.
Referenced by fillTree(), and TrackerGeometryCompare().
|
private |
Definition at line 99 of file TrackerGeometryCompare.h.
Referenced by analyze(), createROOTGeometry(), and setCommonTrackerSystem().
|
private |
Definition at line 98 of file TrackerGeometryCompare.h.
|
private |
Definition at line 153 of file TrackerGeometryCompare.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 157 of file TrackerGeometryCompare.h.
Referenced by compareSurfaceDeformations(), and TrackerGeometryCompare().
|
private |
Definition at line 149 of file TrackerGeometryCompare.h.
Referenced by compareSurfaceDeformations(), and TrackerGeometryCompare().
|
private |
Definition at line 73 of file TrackerGeometryCompare.h.
|
private |
Definition at line 151 of file TrackerGeometryCompare.h.
Referenced by compareSurfaceDeformations(), and TrackerGeometryCompare().
|
private |
Definition at line 150 of file TrackerGeometryCompare.h.
Referenced by compareSurfaceDeformations(), and TrackerGeometryCompare().
|
private |
Definition at line 74 of file TrackerGeometryCompare.h.
Referenced by compareGeometries(), and TrackerGeometryCompare().
|
private |
Definition at line 155 of file TrackerGeometryCompare.h.
Referenced by compareSurfaceDeformations(), endJob(), and TrackerGeometryCompare().
|
private |
Definition at line 97 of file TrackerGeometryCompare.h.
Referenced by analyze(), createROOTGeometry(), and setCommonTrackerSystem().
|
private |
Definition at line 103 of file TrackerGeometryCompare.h.
Referenced by addSurveyInfo().
|
private |
Definition at line 101 of file TrackerGeometryCompare.h.
Referenced by addSurveyInfo().
|
private |
Definition at line 102 of file TrackerGeometryCompare.h.
Referenced by addSurveyInfo().