#include <SurveyInputCSCfromPins.h>
Public Member Functions | |
void | analyze (const edm::Event &, const edm::EventSetup &) override |
Read ideal tracker geometry from DB. More... | |
SurveyInputCSCfromPins (const edm::ParameterSet &) | |
Public Member Functions inherited from SurveyInputBase | |
void | beginJob () override |
Read data from input. More... | |
~SurveyInputBase () override | |
Public Member Functions inherited from edm::one::EDAnalyzer<> | |
EDAnalyzer ()=default | |
EDAnalyzer (const EDAnalyzer &)=delete | |
SerialTaskQueue * | globalLuminosityBlocksQueue () final |
SerialTaskQueue * | globalRunsQueue () final |
const EDAnalyzer & | operator= (const EDAnalyzer &)=delete |
bool | wantsGlobalLuminosityBlocks () const noexcept final |
bool | wantsGlobalRuns () const noexcept final |
bool | wantsInputProcessBlocks () const noexcept final |
bool | wantsProcessBlocks () const noexcept final |
Public Member Functions inherited from edm::one::EDAnalyzerBase | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
EDAnalyzerBase () | |
ModuleDescription const & | moduleDescription () const |
bool | wantsStreamLuminosityBlocks () const noexcept |
bool | wantsStreamRuns () const noexcept |
~EDAnalyzerBase () override | |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () const |
void | convertCurrentProcessAlias (std::string const &processName) |
Convert "@currentProcess" in InputTag process names to the actual current process name. More... | |
EDConsumerBase () | |
EDConsumerBase (EDConsumerBase const &)=delete | |
EDConsumerBase (EDConsumerBase &&)=default | |
ESResolverIndex const * | esGetTokenIndices (edm::Transition iTrans) const |
std::vector< ESResolverIndex > const & | esGetTokenIndicesVector (edm::Transition iTrans) const |
std::vector< ESRecordIndex > const & | esGetTokenRecordIndicesVector (edm::Transition iTrans) const |
ProductResolverIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
std::vector< ProductResolverIndexAndSkipBit > const & | itemsToGetFrom (BranchType iType) const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesWhoseProductsAreConsumed (std::array< std::vector< ModuleDescription const *> *, NumBranchTypes > &modulesAll, std::vector< ModuleProcessName > &modulesInPreviousProcesses, ProductRegistry const &preg, std::map< std::string, ModuleDescription const *> const &labelsToDesc, std::string const &processName) const |
EDConsumerBase const & | operator= (EDConsumerBase const &)=delete |
EDConsumerBase & | operator= (EDConsumerBase &&)=default |
bool | registeredToConsume (ProductResolverIndex, bool, BranchType) const |
void | selectInputProcessBlocks (ProductRegistry const &productRegistry, ProcessBlockHelperBase const &processBlockHelperBase) |
ProductResolverIndexAndSkipBit | uncheckedIndexFrom (EDGetToken) const |
void | updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet) |
void | updateLookup (eventsetup::ESRecordsToProductResolverIndices const &) |
virtual | ~EDConsumerBase () noexcept(false) |
Private Member Functions | |
void | errors (double a, double b, bool missing1, bool missing2, double &dx_dx, double &dy_dy, double &dz_dz, double &phix_phix, double &phiz_phiz, double &dy_phix) |
void | fillAllRecords (Alignable *ali) |
void | orient (align::LocalVector LC1, align::LocalVector LC2, double a, double b, double &T, double &dx, double &dy, double &dz, double &PhX, double &PhZ) |
Private Attributes | |
const edm::ESGetToken< CSCGeometry, MuonGeometryRecord > | CSCGeoToken_ |
const edm::ESGetToken< DTGeometry, MuonGeometryRecord > | DTGeoToken_ |
const edm::ESGetToken< GEMGeometry, MuonGeometryRecord > | GEMGeoToken_ |
double | m_errorX |
double | m_errorY |
double | m_errorZ |
double | m_missingErrorAngle |
double | m_missingErrorTranslation |
std::string | m_pinPositions |
std::string | m_rootFile |
double | m_stationErrorPhiX |
double | m_stationErrorPhiY |
double | m_stationErrorPhiZ |
double | m_stationErrorX |
double | m_stationErrorY |
double | m_stationErrorZ |
bool | m_verbose |
Additional Inherited Members | |
Public Types inherited from edm::one::EDAnalyzerBase | |
typedef EDAnalyzerBase | ModuleType |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from SurveyInputBase | |
static void | addComponent (Alignable *) |
static Alignable * | detector () |
Get alignable detector as read from input. More... | |
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 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) |
Protected Attributes inherited from SurveyInputBase | |
bool | theFirstEvent |
Class to read ideal tracker from DB.
$Date: Fri Jun 29 09:20:52 CEST 2007
Definition at line 18 of file SurveyInputCSCfromPins.h.
SurveyInputCSCfromPins::SurveyInputCSCfromPins | ( | const edm::ParameterSet & | cfg | ) |
Definition at line 22 of file SurveyInputCSCfromPins.cc.
|
overridevirtual |
Read ideal tracker geometry from DB.
Implements SurveyInputBase.
Definition at line 131 of file SurveyInputCSCfromPins.cc.
References a, SurveyInputBase::addComponent(), AlignableNavigator::alignableFromDetId(), align::AlignableMuon, b, AlignableMuon::CSCEndcaps(), CSCGeoToken_, DTGeoToken_, PVValHelper::dx, PVValHelper::dy, PVValHelper::dz, TrackValidation_cff::e5, relativeConstraints::error, errors(), timingPdfMaker::file1, fillAllRecords(), gemGeometry_cff::gemGeometry, GEMGeoToken_, edm::EventSetup::getData(), h, mps_fire::i, cuy::ii, recoMuon::in, m_missingErrorAngle, m_pinPositions, m_rootFile, m_verbose, Alignable::mother(), Alignable::move(), orient(), Alignable::rotateAroundLocalX(), Alignable::rotateAroundLocalZ(), Alignable::setSurvey(), Alignable::surface(), Alignable::survey(), SurveyInputBase::theFirstEvent, AlignableSurface::toGlobal(), AlignableSurface::toLocal(), compareTotals::tot, isotrackApplyRegressor::tree1, PV3DBase< T, PVType, FrameType >::x(), testProducerWithPsetDescEmpty_cfi::x1, testProducerWithPsetDescEmpty_cfi::x2, PV3DBase< T, PVType, FrameType >::y(), testProducerWithPsetDescEmpty_cfi::y1, testProducerWithPsetDescEmpty_cfi::y2, PV3DBase< T, PVType, FrameType >::z(), ppsModifySingularModes_cfi::z1, and ppsModifySingularModes_cfi::z2.
|
private |
Definition at line 75 of file SurveyInputCSCfromPins.cc.
References a, b, PVValHelper::dx, PVValHelper::dy, PVValHelper::dz, mps_fire::i, m_errorX, m_errorY, m_errorZ, m_missingErrorTranslation, and orient().
Referenced by analyze(), and fillAllRecords().
|
private |
Definition at line 293 of file SurveyInputCSCfromPins.cc.
References a, funct::abs(), b, Alignable::components(), ALCARECOPPSCalTrackBasedSel_cff::detid, MillePedeFileConverter_cfg::e, relativeConstraints::error, errors(), Alignable::geomDetId(), m_missingErrorAngle, m_missingErrorTranslation, m_stationErrorPhiX, m_stationErrorPhiY, m_stationErrorPhiZ, m_stationErrorX, m_stationErrorY, m_stationErrorZ, Alignable::setSurvey(), Alignable::surface(), and Alignable::survey().
Referenced by analyze().
|
private |
Definition at line 41 of file SurveyInputCSCfromPins.cc.
References a, Matriplex::atan2(), b, PVValHelper::dx, PVValHelper::dy, PVValHelper::dz, PV3DBase< T, PVType, FrameType >::mag(), SQR, mathSSE::sqrt(), PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by analyze(), and errors().
|
private |
Definition at line 50 of file SurveyInputCSCfromPins.h.
Referenced by analyze().
|
private |
Definition at line 49 of file SurveyInputCSCfromPins.h.
Referenced by analyze().
|
private |
Definition at line 51 of file SurveyInputCSCfromPins.h.
Referenced by analyze().
|
private |
Definition at line 56 of file SurveyInputCSCfromPins.h.
Referenced by errors().
|
private |
Definition at line 56 of file SurveyInputCSCfromPins.h.
Referenced by errors().
|
private |
Definition at line 56 of file SurveyInputCSCfromPins.h.
Referenced by errors().
|
private |
Definition at line 57 of file SurveyInputCSCfromPins.h.
Referenced by analyze(), and fillAllRecords().
|
private |
Definition at line 57 of file SurveyInputCSCfromPins.h.
Referenced by errors(), and fillAllRecords().
|
private |
Definition at line 53 of file SurveyInputCSCfromPins.h.
Referenced by analyze().
|
private |
Definition at line 54 of file SurveyInputCSCfromPins.h.
Referenced by analyze().
|
private |
Definition at line 58 of file SurveyInputCSCfromPins.h.
Referenced by fillAllRecords().
|
private |
Definition at line 58 of file SurveyInputCSCfromPins.h.
Referenced by fillAllRecords().
|
private |
Definition at line 58 of file SurveyInputCSCfromPins.h.
Referenced by fillAllRecords().
|
private |
Definition at line 58 of file SurveyInputCSCfromPins.h.
Referenced by fillAllRecords().
|
private |
Definition at line 58 of file SurveyInputCSCfromPins.h.
Referenced by fillAllRecords().
|
private |
Definition at line 58 of file SurveyInputCSCfromPins.h.
Referenced by fillAllRecords().
|
private |
Definition at line 55 of file SurveyInputCSCfromPins.h.
Referenced by analyze().