#include <CreateSurveyRcds.h>
Public Member Functions | |
void | analyze (const edm::Event &, const edm::EventSetup &) override |
Do nothing for each event. More... | |
CreateSurveyRcds (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 | |
AlgebraicVector | getStructureErrors (int, int) |
default values for survey uncertainty More... | |
AlgebraicVector | getStructurePlacements (int, int) |
default values for assembly precision More... | |
void | setGeometry (Alignable *) |
module which modifies the geometry More... | |
void | setSurveyErrors (Alignable *) |
module which creates/inserts the survey errors More... | |
Private Attributes | |
const edm::ESGetToken< AlignmentErrorsExtended, TrackerAlignmentErrorExtendedRcd > | aliErrToken_ |
const edm::ESGetToken< Alignments, TrackerAlignmentRcd > | aliToken_ |
const edm::ESGetToken< GeometricDet, IdealGeometryRecord > | geomDetToken_ |
bool | m_generatedRandom |
bool | m_generatedSimple |
std::string | m_inputGeom |
double | m_inputSimpleMis |
const edm::ESGetToken< PTrackerAdditionalParametersPerDet, PTrackerAdditionalParametersPerDetRcd > | ptitpToken_ |
const edm::ESGetToken< PTrackerParameters, PTrackerParametersRcd > | ptpToken_ |
std::string | textFileName |
const edm::ESGetToken< TrackerTopology, TrackerTopologyRcd > | tTopoToken_ |
SurveyInputTextReader::MapType | uIdMap |
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 create Survey[Error]Rcd for alignment with survey constraint
Definition at line 37 of file CreateSurveyRcds.h.
CreateSurveyRcds::CreateSurveyRcds | ( | const edm::ParameterSet & | cfg | ) |
Definition at line 18 of file CreateSurveyRcds.cc.
References looper::cfg, m_generatedRandom, m_generatedSimple, m_inputGeom, m_inputSimpleMis, and AlCaHLTBitMon_QueryRunRegistry::string.
|
overridevirtual |
Do nothing for each event.
Implements SurveyInputBase.
Definition at line 31 of file CreateSurveyRcds.cc.
References SurveyInputBase::addComponent(), aliErrToken_, aliToken_, GeometryAligner::applyAlignments(), TrackerGeomBuilderFromGeometricDet::build(), SurveyInputBase::detector(), relativeConstraints::geom, geomDetToken_, m_inputGeom, ptitpToken_, ptpToken_, setGeometry(), setSurveyErrors(), singleTopDQM_cfi::setup, PbPb_ZMuSkimMuonDPG_cff::tracker, and tTopoToken_.
|
private |
default values for survey uncertainty
Definition at line 639 of file CreateSurveyRcds.cc.
References gammaJetAnalysis_CHSJECs_cff::level.
Referenced by setGeometry(), and setSurveyErrors().
|
private |
default values for assembly precision
Definition at line 272 of file CreateSurveyRcds.cc.
References gammaJetAnalysis_CHSJECs_cff::level.
|
private |
module which modifies the geometry
Definition at line 60 of file CreateSurveyRcds.cc.
References Alignable::alignableObjectId(), AlCaHLTBitMon_QueryRunRegistry::comp, Alignable::components(), align::diffR(), getStructureErrors(), mps_fire::i, EcalPhiSymFlatTableProducers_cfi::id, Alignable::id(), AlignableSurface::length(), gammaJetAnalysis_CHSJECs_cff::level, m_generatedRandom, m_generatedSimple, m_inputSimpleMis, Alignable::mother(), Alignable::move(), Alignable::rotateAroundLocalX(), Alignable::rotateAroundLocalY(), Alignable::rotateAroundLocalZ(), Alignable::surface(), AlignableSurface::toGlobal(), HLT_2024v14_cff::value1, and HLT_2024v14_cff::value2.
Referenced by analyze().
|
private |
module which creates/inserts the survey errors
Definition at line 125 of file CreateSurveyRcds.cc.
References Alignable::alignableObjectId(), AlCaHLTBitMon_QueryRunRegistry::comp, Alignable::components(), relativeConstraints::error, getStructureErrors(), mps_fire::i, EcalPhiSymFlatTableProducers_cfi::id, Alignable::id(), gammaJetAnalysis_CHSJECs_cff::level, Alignable::setSurvey(), and Alignable::surface().
Referenced by analyze().
|
private |
Definition at line 61 of file CreateSurveyRcds.h.
Referenced by analyze().
|
private |
Definition at line 60 of file CreateSurveyRcds.h.
Referenced by analyze().
|
private |
Definition at line 57 of file CreateSurveyRcds.h.
Referenced by analyze().
|
private |
Definition at line 65 of file CreateSurveyRcds.h.
Referenced by CreateSurveyRcds(), and setGeometry().
|
private |
Definition at line 66 of file CreateSurveyRcds.h.
Referenced by CreateSurveyRcds(), and setGeometry().
|
private |
Definition at line 63 of file CreateSurveyRcds.h.
Referenced by analyze(), and CreateSurveyRcds().
|
private |
Definition at line 64 of file CreateSurveyRcds.h.
Referenced by CreateSurveyRcds(), and setGeometry().
|
private |
Definition at line 59 of file CreateSurveyRcds.h.
Referenced by analyze().
|
private |
Definition at line 58 of file CreateSurveyRcds.h.
Referenced by analyze().
|
private |
Definition at line 70 of file CreateSurveyRcds.h.
|
private |
Definition at line 56 of file CreateSurveyRcds.h.
Referenced by analyze().
|
private |
Definition at line 68 of file CreateSurveyRcds.h.