#include <SurveyInputTrackerFromDB.h>
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 &) |
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.
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(), Alignable::rotateInLocalFrame(), idealTransformation::rotation, edm::second(), Alignable::setSurvey(), Alignable::surface(), AlignableSurface::toGlobal(), and uIdMap.
Referenced by analyze().
|
overridevirtual |
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().