#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::EDAnalyzer | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
EDAnalyzer () | |
ModuleDescription const & | moduleDescription () const |
std::string | workerType () const |
~EDAnalyzer () 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 | |
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::vector< ModuleDescription const * > &modules, 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 |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
ProductResolverIndexAndSkipBit | uncheckedIndexFrom (EDGetToken) const |
void | updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet) |
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 (LocalVector LC1, LocalVector LC2, double a, double b, double &T, double &dx, double &dy, double &dz, double &PhX, double &PhZ) |
Private Attributes | |
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::EDAnalyzer | |
typedef EDAnalyzer | 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::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 | |
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) |
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 15 of file SurveyInputCSCfromPins.h.
SurveyInputCSCfromPins::SurveyInputCSCfromPins | ( | const edm::ParameterSet & | cfg | ) |
Definition at line 25 of file SurveyInputCSCfromPins.cc.
|
overridevirtual |
Read ideal tracker geometry from DB.
Implements SurveyInputBase.
Definition at line 112 of file SurveyInputCSCfromPins.cc.
References a, SurveyInputBase::addComponent(), AlignableNavigator::alignableFromDetId(), align::AlignableMuon, b, AlignableMuon::CSCEndcaps(), PVValHelper::dx, PVValHelper::dy, PVValHelper::dz, relativeConstraints::error, errors(), edmOneToOneComparison::file1, fillAllRecords(), edm::EventSetup::get(), 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(), PV3DBase< T, PVType, FrameType >::x(), globals_cff::x1, globals_cff::x2, PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
|
private |
Definition at line 67 of file SurveyInputCSCfromPins.cc.
References 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 280 of file SurveyInputCSCfromPins.cc.
References a, funct::abs(), b, Alignable::components(), DEFINE_FWK_MODULE, 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 42 of file SurveyInputCSCfromPins.cc.
References a, b, 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 35 of file SurveyInputCSCfromPins.h.
Referenced by errors().
|
private |
Definition at line 35 of file SurveyInputCSCfromPins.h.
Referenced by errors().
|
private |
Definition at line 35 of file SurveyInputCSCfromPins.h.
Referenced by errors().
|
private |
Definition at line 36 of file SurveyInputCSCfromPins.h.
Referenced by analyze(), and fillAllRecords().
|
private |
Definition at line 36 of file SurveyInputCSCfromPins.h.
Referenced by errors(), and fillAllRecords().
|
private |
Definition at line 32 of file SurveyInputCSCfromPins.h.
Referenced by analyze().
|
private |
Definition at line 33 of file SurveyInputCSCfromPins.h.
Referenced by analyze().
|
private |
Definition at line 37 of file SurveyInputCSCfromPins.h.
Referenced by fillAllRecords().
|
private |
Definition at line 37 of file SurveyInputCSCfromPins.h.
Referenced by fillAllRecords().
|
private |
Definition at line 37 of file SurveyInputCSCfromPins.h.
Referenced by fillAllRecords().
|
private |
Definition at line 37 of file SurveyInputCSCfromPins.h.
Referenced by fillAllRecords().
|
private |
Definition at line 37 of file SurveyInputCSCfromPins.h.
Referenced by fillAllRecords().
|
private |
Definition at line 37 of file SurveyInputCSCfromPins.h.
Referenced by fillAllRecords().
|
private |
Definition at line 34 of file SurveyInputCSCfromPins.h.
Referenced by analyze().