#include <MuonGeometryArrange.h>
Classes | |
struct | MGACollection |
Public Types | |
typedef std::vector< Alignable * > | Alignables |
typedef AlignTransform | SurveyValue |
typedef Alignments | SurveyValues |
Public Types inherited from edm::EDAnalyzer | |
typedef EDAnalyzer | ModuleType |
Public Member Functions | |
virtual void | analyze (const edm::Event &, const edm::EventSetup &) |
virtual void | beginJob () |
Read from DB and print survey info. More... | |
MuonGeometryArrange (const edm::ParameterSet &) | |
Do nothing. Required by framework. More... | |
Public Member Functions inherited from edm::EDAnalyzer | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
EDAnalyzer () | |
ModuleDescription const & | moduleDescription () const |
std::string | workerType () const |
virtual | ~EDAnalyzer () |
Public Member Functions inherited from edm::EDConsumerBase | |
EDConsumerBase () | |
ProductHolderIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
std::vector < ProductHolderIndexAndSkipBit > const & | itemsToGetFromEvent () const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesDependentUpon (const std::string &iProcessName, std::vector< const char * > &oModuleLabels) const |
bool | registeredToConsume (ProductHolderIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
virtual | ~EDConsumerBase () |
Private Member Functions | |
bool | checkChosen (Alignable *ali) |
void | compare (Alignable *refAli, Alignable *curAli, Alignable *curAliCopy2) |
void | compareGeometries (Alignable *refAli, Alignable *curAli, Alignable *curAliCopy2) |
void | createROOTGeometry (const edm::EventSetup &iSetup) |
void | endHist () |
void | fillTree (Alignable *refAli, const AlgebraicVector &diff) |
bool | isMother (Alignable *ali) |
void | makeGraph (int sizeI, float smi, float sma, float minV, float maxV, TH2F *dxh, TGraph *grx, const char *name, const char *title, const char *titleg, const char *axis, float *xp, float *yp, int numEntries) |
bool | passChosen (Alignable *ali) |
bool | passIdCut (uint32_t) |
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::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
EDGetToken | consumes (const TypeToGet &id, 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 ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
Module that reads survey info from DB and prints them out.
Usage: module comparator = MuonGeometryArrange {
lots of stuff
} path p = { comparator }
Definition at line 38 of file MuonGeometryArrange.h.
typedef std::vector<Alignable*> MuonGeometryArrange::Alignables |
Definition at line 44 of file MuonGeometryArrange.h.
Definition at line 42 of file MuonGeometryArrange.h.
Definition at line 43 of file MuonGeometryArrange.h.
MuonGeometryArrange::MuonGeometryArrange | ( | const edm::ParameterSet & | cfg | ) |
Do nothing. Required by framework.
Definition at line 43 of file MuonGeometryArrange.cc.
References _alignTree, _alphaVal, _betaVal, _dalphaVal, _dbetaVal, _detDim, _detIdFlag, _detIdFlagFile, _detIdFlagVector, _dgammaVal, _dphiVal, _drotxVal, _drotyVal, _drotzVal, _drVal, _dxVal, _dyVal, _dzVal, _endcap, _etaVal, _filename, _gammaVal, _id, _inputFilename1, _inputFilename2, _inputTreename, _inputXMLCurrent, _inputXMLReference, _ldphiVal, _ldrVal, _ldxVal, _ldyVal, _ldzVal, _level, _mgacollection, _mid, _mlevel, _phiVal, _ring, _rotxVal, _rotyVal, _rotzVal, _rVal, _station, _sublevel, _surLength, _surRot, _surWidth, _theFile, _useDetId, _weightBy, _weightById, _weightByIdFile, _weightByIdVector, _xVal, _yVal, _zVal, currentMuon, groupFilesInBlocks::fin, edm::ParameterSet::getUntrackedParameter(), ConfigFiles::l, referenceMuon, AlCaHLTBitMon_QueryRunRegistry::string, AlignableObjectId::stringToId(), and theLevels.
|
virtual |
Implements edm::EDAnalyzer.
Definition at line 456 of file MuonGeometryArrange.cc.
References _alignTree, _inputXMLCurrent, _inputXMLReference, _theFile, compare(), endHist(), MuonAlignment::fillGapsInSurvey(), firstEvent_, MuonAlignment::getAlignableMuon(), inputAlign1, inputAlign2, inputAlign2a, inputGeometry1, and inputGeometry2.
|
virtual |
Read from DB and print survey info.
Reimplemented from edm::EDAnalyzer.
Definition at line 449 of file MuonGeometryArrange.cc.
References firstEvent_.
|
private |
Definition at line 895 of file MuonGeometryArrange.cc.
References _endcap, _ring, _station, gather_cfg::cout, MuonSubdetId::CSC, DetId::det(), Alignable::geomDetId(), Alignable::id(), DetId::Muon, and DetId::subdetId().
Referenced by isMother(), and passChosen().
|
private |
Definition at line 491 of file MuonGeometryArrange.cc.
References compareGeometries(), Alignable::components(), and i.
Referenced by analyze().
|
private |
Definition at line 511 of file MuonGeometryArrange.cc.
References _weightBy, _weightById, _weightByIdVector, align::centerOfMass(), CastorDataFrameFilter_impl::check(), Alignable::components(), align::createPoints(), cond::rpcobgas::detid, diffTreeTool::diff, align::diffAlignables(), align::diffRot(), PFRecoTauDiscriminationAgainstElectronDeadECAL_cfi::dR, alignCSCRings::e, fillTree(), i, isMother(), PV3DBase< T, PVType, FrameType >::mag(), Alignable::mother(), align::moveAlignable(), align::readModuleList(), makeMuonMisalignmentScenario::rot, align::toAngles(), PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by compare().
|
private |
Definition at line 454 of file MuonGeometryArrange.cc.
|
private |
Definition at line 165 of file MuonGeometryArrange.cc.
References _mgacollection, _theFile, i, makeGraph(), findQualityFiles::maxI, findQualityFiles::minI, run_regression::ret, pileupReCalc_HLTpaths::scale, findQualityFiles::size, mathSSE::sqrt(), x, and detailsBasic3DVector::y.
Referenced by analyze().
|
private |
Definition at line 715 of file MuonGeometryArrange.cc.
References _alignTree, _alphaVal, _betaVal, _dalphaVal, _dbetaVal, _detDim, _detIdFlag, _dgammaVal, _dphiVal, _drotxVal, _drotyVal, _drotzVal, _drVal, _dxVal, _dyVal, _dzVal, _etaVal, _gammaVal, _id, _ldphiVal, _ldrVal, _ldxVal, _ldyVal, _ldzVal, _level, _mgacollection, _mid, _mlevel, _phiVal, _rotxVal, _rotyVal, _rotzVal, _rVal, _sublevel, _surLength, _surRot, _surWidth, _useDetId, _xVal, _yVal, _zVal, align::AlignableDet, align::AlignableDetUnit, Alignable::alignableObjectId(), MuonGeometryArrange::MGACollection::alpha, MuonGeometryArrange::MGACollection::beta, CSCDetId::chamber(), MuonSubdetId::CSC, MuonGeometryArrange::MGACollection::dalpha, MuonGeometryArrange::MGACollection::dbeta, DetId::det(), MuonGeometryArrange::MGACollection::detDim, cond::rpcobgas::detid, MuonGeometryArrange::MGACollection::dgamma, MuonGeometryArrange::MGACollection::dphi, MuonGeometryArrange::MGACollection::dr, MuonGeometryArrange::MGACollection::drotx, MuonGeometryArrange::MGACollection::droty, MuonGeometryArrange::MGACollection::drotz, MuonGeometryArrange::MGACollection::dx, MuonGeometryArrange::MGACollection::dy, MuonGeometryArrange::MGACollection::dz, PV3DBase< T, PVType, FrameType >::eta(), MuonGeometryArrange::MGACollection::eta, MuonGeometryArrange::MGACollection::gamma, Alignable::geomDetId(), Alignable::globalPosition(), Alignable::globalRotation(), i, MuonGeometryArrange::MGACollection::id, Alignable::id(), ixx, iyy, MuonGeometryArrange::MGACollection::ldphi, MuonGeometryArrange::MGACollection::ldr, MuonGeometryArrange::MGACollection::ldx, MuonGeometryArrange::MGACollection::ldy, MuonGeometryArrange::MGACollection::ldz, AlignableSurface::length(), MuonGeometryArrange::MGACollection::level, MuonGeometryArrange::MGACollection::mid, MuonGeometryArrange::MGACollection::mlevel, Alignable::mother(), DetId::Muon, passIdCut(), PV3DBase< T, PVType, FrameType >::perp(), PV3DBase< T, PVType, FrameType >::phi(), MuonGeometryArrange::MGACollection::phi, MuonGeometryArrange::MGACollection::phipos, MuonGeometryArrange::MGACollection::r, DetId::rawId(), makeMuonMisalignmentScenario::rot, MuonGeometryArrange::MGACollection::rotx, MuonGeometryArrange::MGACollection::roty, MuonGeometryArrange::MGACollection::rotz, DetId::subdetId(), MuonGeometryArrange::MGACollection::sublevel, Alignable::surface(), MuonGeometryArrange::MGACollection::surL, MuonGeometryArrange::MGACollection::surRot, MuonGeometryArrange::MGACollection::surW, align::toAngles(), AlignableSurface::toLocal(), align::toMatrix(), MuonGeometryArrange::MGACollection::useDetId, AlignableSurface::width(), PV3DBase< T, PVType, FrameType >::x(), MuonGeometryArrange::MGACollection::x, TkRotation< T >::xx(), TkRotation< T >::xy(), create_public_lumi_plots::xy, TkRotation< T >::xz(), PV3DBase< T, PVType, FrameType >::y(), MuonGeometryArrange::MGACollection::y, TkRotation< T >::yx(), TkRotation< T >::yy(), TkRotation< T >::yz(), PV3DBase< T, PVType, FrameType >::z(), MuonGeometryArrange::MGACollection::z, TkRotation< T >::zx(), TkRotation< T >::zy(), and TkRotation< T >::zz().
Referenced by compareGeometries().
|
private |
Definition at line 880 of file MuonGeometryArrange.cc.
References checkChosen(), Alignable::components(), i, and findQualityFiles::size.
Referenced by compareGeometries().
|
private |
Definition at line 416 of file MuonGeometryArrange.cc.
References diffTreeTool::diff.
Referenced by endHist().
|
private |
Definition at line 921 of file MuonGeometryArrange.cc.
References checkChosen(), Alignable::components(), i, and findQualityFiles::size.
|
private |
Definition at line 948 of file MuonGeometryArrange.cc.
References _detIdFlagVector, cond::rpcobgas::detid, and i.
Referenced by fillTree().
|
private |
Definition at line 155 of file MuonGeometryArrange.h.
Referenced by analyze(), fillTree(), and MuonGeometryArrange().
|
private |
Definition at line 162 of file MuonGeometryArrange.h.
Referenced by fillTree(), and MuonGeometryArrange().
|
private |
Definition at line 162 of file MuonGeometryArrange.h.
Referenced by fillTree(), and MuonGeometryArrange().
|
private |
Definition at line 116 of file MuonGeometryArrange.h.
|
private |
Definition at line 163 of file MuonGeometryArrange.h.
Referenced by fillTree(), and MuonGeometryArrange().
|
private |
Definition at line 164 of file MuonGeometryArrange.h.
Referenced by fillTree(), and MuonGeometryArrange().
|
private |
Definition at line 161 of file MuonGeometryArrange.h.
Referenced by fillTree(), and MuonGeometryArrange().
|
private |
Definition at line 106 of file MuonGeometryArrange.h.
Referenced by fillTree(), and MuonGeometryArrange().
|
private |
Definition at line 107 of file MuonGeometryArrange.h.
Referenced by MuonGeometryArrange().
|
private |
Definition at line 115 of file MuonGeometryArrange.h.
Referenced by MuonGeometryArrange(), and passIdCut().
|
private |
Definition at line 164 of file MuonGeometryArrange.h.
Referenced by fillTree(), and MuonGeometryArrange().
|
private |
Definition at line 163 of file MuonGeometryArrange.h.
Referenced by fillTree(), and MuonGeometryArrange().
|
private |
Definition at line 167 of file MuonGeometryArrange.h.
Referenced by fillTree(), and MuonGeometryArrange().
|
private |
Definition at line 167 of file MuonGeometryArrange.h.
Referenced by fillTree(), and MuonGeometryArrange().
|
private |
Definition at line 167 of file MuonGeometryArrange.h.
Referenced by fillTree(), and MuonGeometryArrange().
|
private |
Definition at line 163 of file MuonGeometryArrange.h.
Referenced by fillTree(), and MuonGeometryArrange().
|
private |
Definition at line 163 of file MuonGeometryArrange.h.
Referenced by fillTree(), and MuonGeometryArrange().
|
private |
Definition at line 163 of file MuonGeometryArrange.h.
Referenced by fillTree(), and MuonGeometryArrange().
|
private |
Definition at line 163 of file MuonGeometryArrange.h.
Referenced by fillTree(), and MuonGeometryArrange().
|
private |
Definition at line 111 of file MuonGeometryArrange.h.
Referenced by checkChosen(), and MuonGeometryArrange().
|
private |
Definition at line 162 of file MuonGeometryArrange.h.
Referenced by fillTree(), and MuonGeometryArrange().
|
private |
Definition at line 122 of file MuonGeometryArrange.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(), MuonGeometryArrange(), 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(), and Vispa.Main.TabController.TabController::updateLabel().
|
private |
Definition at line 162 of file MuonGeometryArrange.h.
Referenced by fillTree(), and MuonGeometryArrange().
|
private |
Definition at line 161 of file MuonGeometryArrange.h.
Referenced by fillTree(), and MuonGeometryArrange().
|
private |
Definition at line 100 of file MuonGeometryArrange.h.
Referenced by MuonGeometryArrange().
|
private |
Definition at line 101 of file MuonGeometryArrange.h.
Referenced by MuonGeometryArrange().
|
private |
Definition at line 156 of file MuonGeometryArrange.h.
|
private |
Definition at line 157 of file MuonGeometryArrange.h.
|
private |
Definition at line 158 of file MuonGeometryArrange.h.
|
private |
Definition at line 159 of file MuonGeometryArrange.h.
|
private |
Definition at line 102 of file MuonGeometryArrange.h.
Referenced by MuonGeometryArrange().
|
private |
Definition at line 148 of file MuonGeometryArrange.h.
Referenced by analyze(), and MuonGeometryArrange().
|
private |
Definition at line 149 of file MuonGeometryArrange.h.
Referenced by analyze(), and MuonGeometryArrange().
|
private |
Definition at line 165 of file MuonGeometryArrange.h.
Referenced by fillTree(), and MuonGeometryArrange().
|
private |
Definition at line 165 of file MuonGeometryArrange.h.
Referenced by fillTree(), and MuonGeometryArrange().
|
private |
Definition at line 164 of file MuonGeometryArrange.h.
Referenced by fillTree(), and MuonGeometryArrange().
|
private |
Definition at line 164 of file MuonGeometryArrange.h.
Referenced by fillTree(), and MuonGeometryArrange().
|
private |
Definition at line 164 of file MuonGeometryArrange.h.
Referenced by fillTree(), and MuonGeometryArrange().
|
private |
Definition at line 161 of file MuonGeometryArrange.h.
Referenced by argparse.HelpFormatter::_dedent(), python.rootplot.argparse.HelpFormatter::_dedent(), argparse.HelpFormatter::_indent(), python.rootplot.argparse.HelpFormatter::_indent(), fillTree(), and MuonGeometryArrange().
|
private |
Definition at line 146 of file MuonGeometryArrange.h.
Referenced by endHist(), fillTree(), and MuonGeometryArrange().
|
private |
Definition at line 161 of file MuonGeometryArrange.h.
Referenced by fillTree(), and MuonGeometryArrange().
|
private |
Definition at line 161 of file MuonGeometryArrange.h.
Referenced by fillTree(), and MuonGeometryArrange().
|
private |
Definition at line 119 of file MuonGeometryArrange.h.
|
private |
Definition at line 118 of file MuonGeometryArrange.h.
|
private |
Definition at line 117 of file MuonGeometryArrange.h.
|
private |
Definition at line 162 of file MuonGeometryArrange.h.
Referenced by fillTree(), and MuonGeometryArrange().
|
private |
Definition at line 113 of file MuonGeometryArrange.h.
Referenced by checkChosen(), and MuonGeometryArrange().
|
private |
Definition at line 166 of file MuonGeometryArrange.h.
Referenced by fillTree(), and MuonGeometryArrange().
|
private |
Definition at line 166 of file MuonGeometryArrange.h.
Referenced by fillTree(), and MuonGeometryArrange().
|
private |
Definition at line 166 of file MuonGeometryArrange.h.
Referenced by fillTree(), and MuonGeometryArrange().
|
private |
Definition at line 162 of file MuonGeometryArrange.h.
Referenced by fillTree(), and MuonGeometryArrange().
|
private |
Definition at line 105 of file MuonGeometryArrange.h.
|
private |
Definition at line 112 of file MuonGeometryArrange.h.
Referenced by checkChosen(), and MuonGeometryArrange().
|
private |
Definition at line 161 of file MuonGeometryArrange.h.
Referenced by fillTree(), and MuonGeometryArrange().
|
private |
Definition at line 168 of file MuonGeometryArrange.h.
Referenced by fillTree(), and MuonGeometryArrange().
|
private |
Definition at line 169 of file MuonGeometryArrange.h.
Referenced by fillTree(), and MuonGeometryArrange().
|
private |
Definition at line 168 of file MuonGeometryArrange.h.
Referenced by fillTree(), and MuonGeometryArrange().
|
private |
Definition at line 154 of file MuonGeometryArrange.h.
Referenced by analyze(), endHist(), and MuonGeometryArrange().
|
private |
Definition at line 161 of file MuonGeometryArrange.h.
Referenced by fillTree(), and MuonGeometryArrange().
|
private |
Definition at line 104 of file MuonGeometryArrange.h.
Referenced by compareGeometries(), and MuonGeometryArrange().
|
private |
Definition at line 108 of file MuonGeometryArrange.h.
Referenced by compareGeometries(), and MuonGeometryArrange().
|
private |
Definition at line 109 of file MuonGeometryArrange.h.
Referenced by MuonGeometryArrange().
|
private |
Definition at line 110 of file MuonGeometryArrange.h.
Referenced by compareGeometries(), and MuonGeometryArrange().
|
private |
Definition at line 103 of file MuonGeometryArrange.h.
|
private |
Definition at line 162 of file MuonGeometryArrange.h.
Referenced by fillTree(), and MuonGeometryArrange().
|
private |
Definition at line 162 of file MuonGeometryArrange.h.
Referenced by fillTree(), and MuonGeometryArrange().
|
private |
Definition at line 162 of file MuonGeometryArrange.h.
Referenced by fillTree(), and MuonGeometryArrange().
|
private |
Definition at line 91 of file MuonGeometryArrange.h.
Referenced by MuonGeometryArrange().
|
private |
Definition at line 90 of file MuonGeometryArrange.h.
|
private |
Definition at line 171 of file MuonGeometryArrange.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 150 of file MuonGeometryArrange.h.
Referenced by analyze().
|
private |
Definition at line 151 of file MuonGeometryArrange.h.
Referenced by analyze().
|
private |
Definition at line 152 of file MuonGeometryArrange.h.
Referenced by analyze().
|
private |
Definition at line 92 of file MuonGeometryArrange.h.
Referenced by analyze().
|
private |
Definition at line 93 of file MuonGeometryArrange.h.
Referenced by analyze().
|
private |
Definition at line 64 of file MuonGeometryArrange.h.
|
private |
Definition at line 89 of file MuonGeometryArrange.h.
Referenced by MuonGeometryArrange().
|
private |
Definition at line 65 of file MuonGeometryArrange.h.
Referenced by MuonGeometryArrange().
|
private |
Definition at line 97 of file MuonGeometryArrange.h.
|
private |
Definition at line 95 of file MuonGeometryArrange.h.
|
private |
Definition at line 96 of file MuonGeometryArrange.h.