#include <TrackerGeometryCompare.h>
Public Types | |
typedef AlignTransform | SurveyValue |
typedef Alignments | SurveyValues |
Public Types inherited from edm::EDAnalyzer | |
typedef EDAnalyzer | ModuleType |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Private Member Functions | |
void | addSurveyInfo (Alignable *ali) |
void | compareGeometries (Alignable *refAli, Alignable *curAli, const TrackerTopology *tTopo, const edm::EventSetup &iSetup) |
void | compareSurfaceDeformations (TTree *_inputTree11, TTree *_inputTree12) |
void | createROOTGeometry (const edm::EventSetup &iSetup) |
void | diffCommonTrackerSystem (Alignable *refAli, Alignable *curAli) |
void | fillIdentifiers (int subdetlevel, int rawid, const TrackerTopology *tTopo) |
void | fillTree (Alignable *refAli, const AlgebraicVector &diff, const TrackerTopology *tTopo, const edm::EventSetup &iSetup) |
bool | passIdCut (uint32_t) |
void | setCommonTrackerSystem () |
void | surveyToTracker (AlignableTracker *ali, Alignments *alignVals, AlignmentErrorsExtended *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 &) |
static bool | wantsGlobalLuminosityBlocks () |
static bool | wantsGlobalRuns () |
static bool | wantsStreamLuminosityBlocks () |
static bool | wantsStreamRuns () |
Protected Member Functions inherited from edm::EDConsumerBase | |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | consumes (TypeToGet const &id, edm::InputTag const &tag) |
ConsumesCollector | consumesCollector () |
Use a ConsumesCollector to gather consumes information from helper functions. More... | |
template<typename ProductType , BranchType B = InEvent> | |
void | consumesMany () |
void | consumesMany (const TypeToGet &id) |
template<BranchType B> | |
void | consumesMany (const TypeToGet &id) |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes () |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
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.
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 60 of file TrackerGeometryCompare.cc.
References _alignTree, _alphaVal, _badModuleQuality, _betaVal, _dalphaVal, _daVal, _dbetaVal, _dbVal, _detDim, _detIdFlag, _detIdFlagFile, _detIdFlagVector, _dgammaVal, _dgVal, _dphiVal, _drVal, _duVal, _dvVal, _dwVal, _dxVal, _dyVal, _dzVal, _etaVal, _filename, _gammaVal, _id, _identifiers, _inModuleList, _inputFilename1, _inputFilename2, _inputTreenameAlign, _inputTreenameDeform, _level, _mid, _mlevel, _moduleListName, _phiVal, _rVal, _setCommonTrackerSystem, _sublevel, _surfDeform, _surLength, _surRot, _surWidth, _theFile, _type, _useDetId, _weightBy, _weightById, _weightByIdFile, _weightByIdVector, _xVal, _yVal, _zVal, looper::cfg, dqmiodatasetharvest::ctr, groupFilesInBlocks::fin, triggerObjects_cff::id, cuy::ii, m_h1, m_nBins, m_rangeHigh, m_rangeLow, m_vtkmap, TFileDirectory::make(), TFileService::mkdir(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 977 of file TrackerGeometryCompare.cc.
References Alignable::alignableObjectId(), AlCaHLTBitMon_QueryRunRegistry::comp, Alignable::components(), relativeConstraints::error, Exception, Alignable::geomDetId(), mps_fire::i, AlignableSurface::length(), Alignments::m_align, SurveyErrors::m_surveyErrors, DetId::rawId(), makeMuonMisalignmentScenario::rot, AlignableSurface::setLength(), Alignable::setSurvey(), AlignableSurface::setWidth(), Alignable::surface(), theSurveyErrors, theSurveyIndex, theSurveyValues, and AlignableSurface::width().
|
overridevirtual |
Implements edm::EDAnalyzer.
Definition at line 220 of file TrackerGeometryCompare.cc.
References _inputTree11, _inputTree12, _levelStrings, _setCommonTrackerSystem, _writeToDB, AlignableTracker::alignmentErrors(), AlignableTracker::alignments(), cond::service::PoolDBOutputService::beginOfTime(), compareGeometries(), compareSurfaceDeformations(), createROOTGeometry(), currentTracker, firstEvent_, edm::EventSetup::get(), get, edm::Service< T >::isAvailable(), personalPlayback::level, m_theLevels, AlignableTracker::objectIdProvider(), edm::ESHandle< T >::product(), referenceTracker, setCommonTrackerSystem(), AlignableObjectId::stringToId(), and cond::service::PoolDBOutputService::writeOne().
|
overridevirtual |
Read from DB and print survey info.
Reimplemented from edm::EDAnalyzer.
Definition at line 200 of file TrackerGeometryCompare.cc.
References firstEvent_.
|
private |
Definition at line 600 of file TrackerGeometryCompare.cc.
References _weightBy, _weightById, _weightByIdVector, Alignable::alignableObjectId(), RPCNoise_example::check, Alignable::components(), change_name::diff, align::diffAlignables(), HGC3DClusterGenMatchSelector_cfi::dR, MillePedeFileConverter_cfg::e, Exception, fillTree(), Alignable::geomDetId(), mps_fire::i, Alignable::id(), m_theLevels, PV3DBase< T, PVType, FrameType >::mag(), align::moveAlignable(), DetId::rawId(), makeMuonMisalignmentScenario::rot, and tolerance.
Referenced by analyze().
|
private |
Definition at line 448 of file TrackerGeometryCompare.cc.
References _inputFilename1, _inputFilename2, _inputRootFile1, _inputRootFile2, _inputTreenameDeform, _surfDeform, Abs(), cuy::ii, createfilelist::int, m_h1, m_nBins, m_rangeHigh, m_rangeLow, and m_vtkmap.
Referenced by analyze().
|
private |
Definition at line 271 of file TrackerGeometryCompare.cc.
References _inputFilename1, _inputFilename2, _inputRootFile1, _inputRootFile2, _inputTree01, _inputTree02, _inputTree11, _inputTree12, _inputTreenameAlign, _inputTreenameDeform, _moduleList, _moduleListFile, _moduleListName, GeometryAligner::applyAlignments(), TrackerGeomBuilderFromGeometricDet::build(), SurfaceDeformationFactory::create(), currentTracker, Alignable::deepComponents(), edm::EventSetup::get(), get, mps_fire::i, mps_splice::line, Alignments::m_align, AlignmentErrorsExtended::m_alignError, edm::ESHandle< T >::product(), referenceTracker, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by analyze().
|
private |
Definition at line 756 of file TrackerGeometryCompare.cc.
References _commonTrackerLevel, _TrackerCommonCM, _TrackerCommonR, _TrackerCommonT, _weightBy, _weightById, _weightByIdVector, Alignable::alignableObjectId(), Alignable::components(), change_name::diff, align::diffAlignables(), HGC3DClusterGenMatchSelector_cfi::dR, Alignable::globalPosition(), mps_fire::i, and makeMuonMisalignmentScenario::rot.
Referenced by setCommonTrackerSystem().
|
overridevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 202 of file TrackerGeometryCompare.cc.
References _alignTree, _theFile, m_vtkmap, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by o2olib.O2ORunMgr::executeJob().
|
private |
Definition at line 1018 of file TrackerGeometryCompare.cc.
References _identifiers, TrackerTopology::pxbLadder(), TrackerTopology::pxbLayer(), TrackerTopology::pxbModule(), TrackerTopology::pxfBlade(), TrackerTopology::pxfDisk(), TrackerTopology::pxfModule(), TrackerTopology::pxfPanel(), TrackerTopology::pxfSide(), TrackerTopology::tecModule(), TrackerTopology::tecPetalInfo(), TrackerTopology::tecRing(), TrackerTopology::tecSide(), TrackerTopology::tecWheel(), TrackerTopology::tibLayer(), TrackerTopology::tibModule(), TrackerTopology::tibStringInfo(), TrackerTopology::tidModuleInfo(), TrackerTopology::tidRing(), TrackerTopology::tidSide(), TrackerTopology::tidWheel(), TrackerTopology::tobLayer(), TrackerTopology::tobModule(), and TrackerTopology::tobRodInfo().
Referenced by fillTree().
|
private |
Definition at line 813 of file TrackerGeometryCompare.cc.
References _alignTree, _alphaVal, _badModuleQuality, _betaVal, _dalphaVal, _daVal, _dbetaVal, _dbVal, _detDim, _detIdFlag, _dgammaVal, _dgVal, _dphiVal, _drVal, _duVal, _dvVal, _dwVal, _dxVal, _dyVal, _dzVal, _etaVal, _gammaVal, _id, _inModuleList, _level, _mid, _mlevel, _moduleList, _phiVal, _rVal, _sublevel, _surLength, _surRot, _surWidth, _useDetId, _xVal, _yVal, _zVal, align::AlignableDet, align::AlignableDetUnit, Alignable::alignableObjectId(), change_name::diff, PV3DBase< T, PVType, FrameType >::eta(), fillIdentifiers(), g, Alignable::geomDetId(), edm::EventSetup::get(), get, Alignable::globalPosition(), Alignable::globalRotation(), mps_fire::i, Alignable::id(), SiPixelQuality::IsModuleBad(), SiStripQuality::IsModuleBad(), AlignableSurface::length(), Alignable::mother(), passIdCut(), PV3DBase< T, PVType, FrameType >::perp(), PV3DBase< T, PVType, FrameType >::phi(), DetId::rawId(), makeMuonMisalignmentScenario::rot, hcal_runs::rt, DetId::subdetId(), Alignable::surface(), align::toAngles(), AlignableSurface::width(), PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by compareGeometries(), and core.AutoFillTreeProducer.AutoFillTreeProducer::process().
|
private |
Definition at line 1006 of file TrackerGeometryCompare.cc.
References _detIdFlagVector, and mps_fire::i.
Referenced by fillTree().
|
private |
Definition at line 712 of file TrackerGeometryCompare.cc.
References _commonTrackerLevel, _setCommonTrackerSystem, _TrackerCommonCM, _TrackerCommonR, _TrackerCommonT, currentTracker, diffCommonTrackerSystem(), Alignable::globalPosition(), align::moveAlignable(), AlignableTracker::objectIdProvider(), referenceTracker, makeMuonMisalignmentScenario::rot, AlignableObjectId::stringToId(), 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 927 of file TrackerGeometryCompare.cc.
References AlCaHLTBitMon_QueryRunRegistry::comp, filterCSVwithJSON::copy, AlignableTracker::endcapGeomDets(), mps_fire::i, AlignableTracker::innerBarrelGeomDets(), dqmiolumiharvest::j, dqmdumpme::k, Alignments::m_align, AlignmentErrorsExtended::m_alignError, AlignableTracker::outerBarrelGeomDets(), AlignableTracker::pixelEndcapGeomDets(), AlignableTracker::pixelHalfBarrelGeomDets(), SurveyDet::position(), makeMuonMisalignmentScenario::rot, SurveyDet::rotation(), AlignableTracker::TIDGeomDets(), and HcalDetIdTransform::transform().
|
private |
Definition at line 131 of file TrackerGeometryCompare.h.
Referenced by endJob(), fillTree(), and TrackerGeometryCompare().
|
private |
Definition at line 141 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 141 of file TrackerGeometryCompare.h.
Referenced by fillTree(), and TrackerGeometryCompare().
|
private |
Definition at line 119 of file TrackerGeometryCompare.h.
Referenced by diffCommonTrackerSystem(), and setCommonTrackerSystem().
|
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 145 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 112 of file TrackerGeometryCompare.h.
Referenced by fillTree(), and TrackerGeometryCompare().
|
private |
Definition at line 113 of file TrackerGeometryCompare.h.
Referenced by TrackerGeometryCompare().
|
private |
Definition at line 118 of file TrackerGeometryCompare.h.
Referenced by passIdCut(), 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 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 145 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 143 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 141 of file TrackerGeometryCompare.h.
Referenced by fillTree(), and TrackerGeometryCompare().
|
private |
Definition at line 129 of file TrackerGeometryCompare.h.
Referenced by TrackerGeometryCompare().
|
private |
Definition at line 141 of file TrackerGeometryCompare.h.
Referenced by fillTree(), and TrackerGeometryCompare().
|
private |
\ Tree variables
Definition at line 140 of file TrackerGeometryCompare.h.
Referenced by fillTree(), and TrackerGeometryCompare().
|
private |
Definition at line 147 of file TrackerGeometryCompare.h.
Referenced by fillIdentifiers(), and TrackerGeometryCompare().
|
private |
Definition at line 140 of file TrackerGeometryCompare.h.
Referenced by fillTree(), and TrackerGeometryCompare().
|
private |
Definition at line 105 of file TrackerGeometryCompare.h.
Referenced by compareSurfaceDeformations(), createROOTGeometry(), and TrackerGeometryCompare().
|
private |
Definition at line 106 of file TrackerGeometryCompare.h.
Referenced by compareSurfaceDeformations(), createROOTGeometry(), and TrackerGeometryCompare().
|
private |
Definition at line 132 of file TrackerGeometryCompare.h.
Referenced by compareSurfaceDeformations(), and createROOTGeometry().
|
private |
Definition at line 133 of file TrackerGeometryCompare.h.
Referenced by compareSurfaceDeformations(), and createROOTGeometry().
|
private |
Definition at line 134 of file TrackerGeometryCompare.h.
Referenced by createROOTGeometry().
|
private |
Definition at line 135 of file TrackerGeometryCompare.h.
Referenced by createROOTGeometry().
|
private |
Definition at line 136 of file TrackerGeometryCompare.h.
Referenced by analyze(), and createROOTGeometry().
|
private |
Definition at line 137 of file TrackerGeometryCompare.h.
Referenced by analyze(), and createROOTGeometry().
|
private |
Definition at line 107 of file TrackerGeometryCompare.h.
Referenced by createROOTGeometry(), and TrackerGeometryCompare().
|
private |
Definition at line 108 of file TrackerGeometryCompare.h.
Referenced by compareSurfaceDeformations(), createROOTGeometry(), and TrackerGeometryCompare().
|
private |
Definition at line 140 of file TrackerGeometryCompare.h.
Referenced by fillTree(), and TrackerGeometryCompare().
|
private |
Definition at line 103 of file TrackerGeometryCompare.h.
Referenced by analyze().
|
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 126 of file TrackerGeometryCompare.h.
|
private |
Definition at line 125 of file TrackerGeometryCompare.h.
Referenced by createROOTGeometry(), and fillTree().
|
private |
Definition at line 124 of file TrackerGeometryCompare.h.
Referenced by createROOTGeometry().
|
private |
Definition at line 104 of file TrackerGeometryCompare.h.
Referenced by createROOTGeometry(), and TrackerGeometryCompare().
|
private |
Definition at line 141 of file TrackerGeometryCompare.h.
Referenced by fillTree(), and TrackerGeometryCompare().
|
private |
Definition at line 141 of file TrackerGeometryCompare.h.
Referenced by fillTree(), and TrackerGeometryCompare().
|
private |
Definition at line 111 of file TrackerGeometryCompare.h.
Referenced by analyze(), setCommonTrackerSystem(), and TrackerGeometryCompare().
|
private |
Definition at line 140 of file TrackerGeometryCompare.h.
Referenced by fillTree(), and TrackerGeometryCompare().
|
private |
Definition at line 150 of file TrackerGeometryCompare.h.
Referenced by compareSurfaceDeformations(), and TrackerGeometryCompare().
|
private |
Definition at line 146 of file TrackerGeometryCompare.h.
Referenced by fillTree(), and TrackerGeometryCompare().
|
private |
Definition at line 148 of file TrackerGeometryCompare.h.
Referenced by fillTree(), and TrackerGeometryCompare().
|
private |
Definition at line 146 of file TrackerGeometryCompare.h.
Referenced by fillTree(), and TrackerGeometryCompare().
|
private |
Definition at line 130 of file TrackerGeometryCompare.h.
Referenced by endJob(), and TrackerGeometryCompare().
|
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 120 of file TrackerGeometryCompare.h.
Referenced by diffCommonTrackerSystem(), and setCommonTrackerSystem().
|
private |
Definition at line 149 of file TrackerGeometryCompare.h.
Referenced by python.Handle::__str__(), SequenceTypes.ExpandVisitor::result(), and TrackerGeometryCompare().
|
private |
Definition at line 140 of file TrackerGeometryCompare.h.
Referenced by fillTree(), and TrackerGeometryCompare().
|
private |
Definition at line 110 of file TrackerGeometryCompare.h.
Referenced by compareGeometries(), diffCommonTrackerSystem(), and TrackerGeometryCompare().
|
private |
Definition at line 114 of file TrackerGeometryCompare.h.
Referenced by compareGeometries(), diffCommonTrackerSystem(), and TrackerGeometryCompare().
|
private |
Definition at line 115 of file TrackerGeometryCompare.h.
Referenced by TrackerGeometryCompare().
|
private |
Definition at line 116 of file TrackerGeometryCompare.h.
Referenced by compareGeometries(), diffCommonTrackerSystem(), and TrackerGeometryCompare().
|
private |
Definition at line 109 of file TrackerGeometryCompare.h.
Referenced by analyze().
|
private |
Definition at line 141 of file TrackerGeometryCompare.h.
Referenced by fillTree(), and TrackerGeometryCompare().
|
private |
Definition at line 141 of file TrackerGeometryCompare.h.
Referenced by fillTree(), and TrackerGeometryCompare().
|
private |
Definition at line 141 of file TrackerGeometryCompare.h.
Referenced by fillTree(), and TrackerGeometryCompare().
|
private |
Definition at line 96 of file TrackerGeometryCompare.h.
Referenced by analyze(), createROOTGeometry(), and setCommonTrackerSystem().
|
private |
Definition at line 95 of file TrackerGeometryCompare.h.
|
private |
Definition at line 156 of file TrackerGeometryCompare.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 160 of file TrackerGeometryCompare.h.
Referenced by compareSurfaceDeformations(), and TrackerGeometryCompare().
|
private |
Definition at line 152 of file TrackerGeometryCompare.h.
Referenced by compareSurfaceDeformations(), and TrackerGeometryCompare().
|
private |
Definition at line 154 of file TrackerGeometryCompare.h.
Referenced by compareSurfaceDeformations(), and TrackerGeometryCompare().
|
private |
Definition at line 153 of file TrackerGeometryCompare.h.
Referenced by compareSurfaceDeformations(), and TrackerGeometryCompare().
|
private |
Definition at line 65 of file TrackerGeometryCompare.h.
Referenced by analyze(), and compareGeometries().
|
private |
Definition at line 158 of file TrackerGeometryCompare.h.
Referenced by compareSurfaceDeformations(), endJob(), and TrackerGeometryCompare().
|
private |
Definition at line 94 of file TrackerGeometryCompare.h.
Referenced by analyze(), createROOTGeometry(), and setCommonTrackerSystem().
|
private |
Definition at line 100 of file TrackerGeometryCompare.h.
Referenced by addSurveyInfo().
|
private |
Definition at line 98 of file TrackerGeometryCompare.h.
Referenced by addSurveyInfo().
|
private |
Definition at line 99 of file TrackerGeometryCompare.h.
Referenced by addSurveyInfo().