#include <SurveyMisalignmentInput.h>
Public Member Functions | |
virtual void | analyze (const edm::Event &, const edm::EventSetup &) |
Read ideal tracker geometry from DB. More... | |
SurveyMisalignmentInput (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 () | |
ProductHolderIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
std::vector < ProductHolderIndexAndSkipBit > const & | itemsToGetFromEvent () const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesDependentUpon (std::string const &iProcessName, std::string const &iModuleLabel, bool iPrint, std::vector< char const * > &oModuleLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
bool | registeredToConsume (ProductHolderIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
virtual | ~EDConsumerBase () |
Private Member Functions | |
void | addSurveyInfo (Alignable *) |
Add survey info to an alignable. More... | |
AlignableSurface | getAlignableSurface (align::ID) |
Get alignable surface from misalignments.db. More... | |
Private Attributes | |
edm::ESHandle< Alignments > | alignments |
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 misaligned tracker from DB.
Definition at line 21 of file SurveyMisalignmentInput.h.
SurveyMisalignmentInput::SurveyMisalignmentInput | ( | const edm::ParameterSet & | cfg | ) |
Definition at line 19 of file SurveyMisalignmentInput.cc.
|
private |
Add survey info to an alignable.
Definition at line 56 of file SurveyMisalignmentInput.cc.
References align::AlignableDetUnit, Alignable::alignableObjectId(), AlCaHLTBitMon_QueryRunRegistry::comp, Alignable::components(), alignCSCRings::e, relativeConstraints::error, getAlignableSurface(), i, Alignable::id(), HLT_FULL_cff::parameters, edm::second(), Alignable::setSurvey(), Alignable::surface(), and uIdMap.
Referenced by analyze().
|
virtual |
Read ideal tracker geometry from DB.
Implements SurveyInputBase.
Definition at line 23 of file SurveyMisalignmentInput.cc.
References SurveyInputBase::addComponent(), addSurveyInfo(), alignments, TrackerGeomBuilderFromGeometricDet::build(), SurveyInputBase::detector(), relativeConstraints::geom, edm::EventSetup::get(), edm::ESHandle< class >::product(), SurveyInputTextReader::readFile(), textFileName, SurveyInputBase::theFirstEvent, patCandidatesForDimuonsSequences_cff::tracker, uIdMap, and SurveyInputTextReader::UniqueIdMap().
|
private |
Get alignable surface from misalignments.db.
Definition at line 94 of file SurveyMisalignmentInput.cc.
References alignments, position, makeMuonMisalignmentScenario::rot, and idealTransformation::rotation.
Referenced by addSurveyInfo().
|
private |
Definition at line 42 of file SurveyMisalignmentInput.h.
Referenced by analyze(), and getAlignableSurface().
|
private |
Definition at line 40 of file SurveyMisalignmentInput.h.
Referenced by analyze().
|
private |
Definition at line 38 of file SurveyMisalignmentInput.h.
Referenced by addSurveyInfo(), and analyze().