#include <MuonGeometryArrange.h>
Classes | |
struct | MGACollection |
Public Types | |
typedef AlignTransform | SurveyValue |
typedef Alignments | SurveyValues |
Public Types inherited from edm::one::EDAnalyzerBase | |
typedef EDAnalyzerBase | ModuleType |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
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, const float *xp, const float *yp, int numEntries) |
bool | passChosen (Alignable *ali) |
bool | passIdCut (uint32_t) |
Additional Inherited Members | |
Static Public Member Functions inherited from edm::one::EDAnalyzerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
template<BranchType B = InEvent> | |
EDConsumerBaseAdaptor< B > | consumes (edm::InputTag tag) noexcept |
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 ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes () |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
template<Transition Tr = Transition::Event> | |
constexpr auto | esConsumes () |
template<Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag tag) |
template<Transition Tr = Transition::Event> | |
ESGetTokenGeneric | esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey) |
Used with EventSetupRecord::doGet. More... | |
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) |
void | resetItemsToGetFrom (BranchType iType) |
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.
Definition at line 40 of file MuonGeometryArrange.h.
Definition at line 41 of file MuonGeometryArrange.h.
MuonGeometryArrange::MuonGeometryArrange | ( | const edm::ParameterSet & | cfg | ) |
Do nothing. Required by framework.
Definition at line 42 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, looper::cfg, dqmiodatasetharvest::ctr, currentMuon, groupFilesInBlocks::fin, triggerObjects_cff::id, referenceMuon, and AlCaHLTBitMon_QueryRunRegistry::string.
|
overridevirtual |
Implements edm::one::EDAnalyzerBase.
Definition at line 636 of file MuonGeometryArrange.cc.
References _alignTree, _inputXMLCurrent, _inputXMLReference, _levelStrings, _theFile, compare(), cscGeomToken1_, cscGeomToken2_, cscGeomToken3_, dtGeomToken1_, dtGeomToken2_, dtGeomToken3_, endHist(), MuonAlignment::fillGapsInSurvey(), firstEvent_, gemGeomToken1_, gemGeomToken2_, gemGeomToken3_, MuonAlignment::getAlignableMuon(), edm::EventSetup::getData(), inputAlign1, inputAlign2, inputAlign2a, inputGeometry1, inputGeometry2, personalPlayback::level, and theLevels.
|
overridevirtual |
Read from DB and print survey info.
Reimplemented from edm::one::EDAnalyzerBase.
Definition at line 631 of file MuonGeometryArrange.cc.
References firstEvent_.
|
private |
Definition at line 1144 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 692 of file MuonGeometryArrange.cc.
References compareGeometries(), Alignable::components(), and mps_fire::i.
Referenced by analyze().
|
private |
Definition at line 714 of file MuonGeometryArrange.cc.
References _weightBy, _weightById, _weightByIdVector, particleFlowDisplacedVertex_cfi::angles, align::centerOfMass(), RPCNoise_example::check, Alignable::components(), align::createPoints(), change_name::diff, align::diffAlignables(), align::diffRot(), HGC3DClusterGenMatchSelector_cfi::dR, MillePedeFileConverter_cfg::e, fillTree(), mps_fire::i, isMother(), PV3DBase< T, PVType, FrameType >::mag(), Alignable::mother(), align::moveAlignable(), align::readModuleList(), makeMuonMisalignmentScenario::rot, align::toAngles(), tolerance, PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by compare().
|
private |
Definition at line 634 of file MuonGeometryArrange.cc.
|
private |
Definition at line 164 of file MuonGeometryArrange.cc.
References _mgacollection, _theFile, flavorHistoryFilter_cfi::dr, PVValHelper::dx, PVValHelper::dy, PVValHelper::dz, mps_fire::i, makeGraph(), findQualityFiles::maxI, findQualityFiles::minI, runTheMatrix::ret, L1EGammaClusterEmuProducer_cfi::scale, findQualityFiles::size, mathSSE::sqrt(), x, and y.
Referenced by analyze().
|
private |
Definition at line 921 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, MuonGeometryArrange::MGACollection::dgamma, change_name::diff, 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(), mps_fire::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, hcal_runs::rt, 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, geometryCSVtoXML::xx, TkRotation< T >::xx(), geometryCSVtoXML::xy, TkRotation< T >::xy(), geometryCSVtoXML::xz, TkRotation< T >::xz(), PV3DBase< T, PVType, FrameType >::y(), MuonGeometryArrange::MGACollection::y, geometryCSVtoXML::yy, geometryCSVtoXML::yz, TkRotation< T >::yz(), PV3DBase< T, PVType, FrameType >::z(), MuonGeometryArrange::MGACollection::z, geometryCSVtoXML::zz, and TkRotation< T >::zz().
Referenced by compareGeometries(), and core.AutoFillTreeProducer.AutoFillTreeProducer::process().
|
private |
Definition at line 1126 of file MuonGeometryArrange.cc.
References checkChosen(), Alignable::components(), mps_fire::i, and findQualityFiles::size.
Referenced by compareGeometries().
|
private |
Definition at line 588 of file MuonGeometryArrange.cc.
References change_name::diff, Skims_PA_cff::name, findQualityFiles::size, and runGCPTkAlMap::title.
Referenced by endHist().
|
private |
Definition at line 1169 of file MuonGeometryArrange.cc.
References checkChosen(), Alignable::components(), mps_fire::i, and findQualityFiles::size.
|
private |
Definition at line 1199 of file MuonGeometryArrange.cc.
References _detIdFlagVector, and mps_fire::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 MuonGeometryArrange().
|
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 fillTree(), and MuonGeometryArrange().
|
private |
Definition at line 99 of file MuonGeometryArrange.h.
Referenced by analyze().
|
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 188 of file MuonGeometryArrange.h.
|
private |
Definition at line 176 of file MuonGeometryArrange.h.
Referenced by analyze().
|
private |
Definition at line 180 of file MuonGeometryArrange.h.
Referenced by analyze().
|
private |
Definition at line 184 of file MuonGeometryArrange.h.
Referenced by analyze().
|
private |
Definition at line 90 of file MuonGeometryArrange.h.
Referenced by MuonGeometryArrange().
|
private |
Definition at line 187 of file MuonGeometryArrange.h.
|
private |
Definition at line 175 of file MuonGeometryArrange.h.
Referenced by analyze().
|
private |
Definition at line 179 of file MuonGeometryArrange.h.
Referenced by analyze().
|
private |
Definition at line 183 of file MuonGeometryArrange.h.
Referenced by analyze().
|
private |
Definition at line 89 of file MuonGeometryArrange.h.
|
private |
Definition at line 171 of file MuonGeometryArrange.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 189 of file MuonGeometryArrange.h.
|
private |
Definition at line 177 of file MuonGeometryArrange.h.
Referenced by analyze().
|
private |
Definition at line 181 of file MuonGeometryArrange.h.
Referenced by analyze().
|
private |
Definition at line 185 of file MuonGeometryArrange.h.
Referenced by analyze().
|
private |
Definition at line 173 of file MuonGeometryArrange.h.
|
private |
Definition at line 173 of file MuonGeometryArrange.h.
|
private |
Definition at line 173 of file MuonGeometryArrange.h.
|
private |
Definition at line 173 of file MuonGeometryArrange.h.
|
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 91 of file MuonGeometryArrange.h.
Referenced by analyze().
|
private |
Definition at line 92 of file MuonGeometryArrange.h.
Referenced by analyze().
|
private |
Definition at line 54 of file MuonGeometryArrange.h.
|
private |
Definition at line 88 of file MuonGeometryArrange.h.
Referenced by MuonGeometryArrange().
|
private |
Definition at line 55 of file MuonGeometryArrange.h.
Referenced by analyze().
|
private |
Definition at line 96 of file MuonGeometryArrange.h.
|
private |
Definition at line 94 of file MuonGeometryArrange.h.
|
private |
Definition at line 95 of file MuonGeometryArrange.h.