#include <SurveyInputTrackerFromDB.h>
Public Member Functions | |
virtual void | analyze (const edm::Event &, const edm::EventSetup &) |
Read ideal tracker geometry from DB. More... | |
SurveyInputTrackerFromDB (const edm::ParameterSet &) | |
Public Member Functions inherited from SurveyInputBase | |
virtual void | beginJob () |
Read data from input. More... | |
virtual | ~SurveyInputBase () |
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 | |
std::vector< ConsumesInfo > | consumesInfo () const |
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 |
void | updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet) |
virtual | ~EDConsumerBase () noexcept(false) |
Private Member Functions | |
void | addSurveyInfo (Alignable *) |
Add survey info to an alignable. More... | |
Private Attributes | |
std::string | textFileName |
SurveyInputTextReader::MapType | uIdMap |
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 &) |
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.
Definition at line 20 of file SurveyInputTrackerFromDB.h.
SurveyInputTrackerFromDB::SurveyInputTrackerFromDB | ( | const edm::ParameterSet & | cfg | ) |
Definition at line 23 of file SurveyInputTrackerFromDB.cc.
|
private |
Add survey info to an alignable.
Definition at line 71 of file SurveyInputTrackerFromDB.cc.
References Alignable::alignableObjectId(), AlCaHLTBitMon_QueryRunRegistry::comp, Alignable::components(), DEFINE_FWK_MODULE, MillePedeFileConverter_cfg::e, relativeConstraints::error, mps_fire::i, Alignable::id(), Basic3DVector< T >::mag(), Alignable::move(), metProducer_cfi::parameters, Alignable::rotateInLocalFrame(), idealTransformation::rotation, edm::second(), Alignable::setSurvey(), Alignable::surface(), AlignableSurface::toGlobal(), and uIdMap.
Referenced by analyze().
|
virtual |
Read ideal tracker geometry from DB.
Implements SurveyInputBase.
Definition at line 27 of file SurveyInputTrackerFromDB.cc.
References SurveyInputBase::addComponent(), addSurveyInfo(), Alignable::alignmentErrors(), Alignable::alignments(), cond::service::PoolDBOutputService::beginOfTime(), TrackerGeomBuilderFromGeometricDet::build(), SurveyInputBase::detector(), relativeConstraints::geom, edm::EventSetup::get(), edm::Service< T >::isAvailable(), edm::ESHandle< T >::product(), SurveyInputTextReader::readFile(), textFileName, SurveyInputBase::theFirstEvent, mixOne_simraw_on_sim_cfi::tracker, uIdMap, SurveyInputTextReader::UniqueIdMap(), and cond::service::PoolDBOutputService::writeOne().
|
private |
Definition at line 39 of file SurveyInputTrackerFromDB.h.
Referenced by analyze().
|
private |
Definition at line 37 of file SurveyInputTrackerFromDB.h.
Referenced by addSurveyInfo(), and analyze().