#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 | |
EDAnalyzer () | |
std::string | workerType () const |
virtual | ~EDAnalyzer () |
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 |
typedef WorkerT< EDAnalyzer > | WorkerType |
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::EDAnalyzer | |
CurrentProcessingContext const * | currentContext () const |
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 16 of file SurveyMisalignmentInput.cc.
|
private |
Add survey info to an alignable.
Definition at line 45 of file SurveyMisalignmentInput.cc.
References align::AlignableDetUnit, Alignable::alignableObjectId(), Alignable::components(), alignCSCRings::e, error, getAlignableSurface(), i, Alignable::id(), Parameters::parameters, edm::second(), Alignable::setSurvey(), Alignable::surface(), and uIdMap.
Referenced by analyze().
|
virtual |
Read ideal tracker geometry from DB.
Implements SurveyInputBase.
Definition at line 21 of file SurveyMisalignmentInput.cc.
References SurveyInputBase::addComponent(), addSurveyInfo(), alignments, TrackerGeomBuilderFromGeometricDet::build(), SurveyInputBase::detector(), relativeConstraints::geom, edm::EventSetup::get(), SurveyInputTextReader::readFile(), textFileName, SurveyInputBase::theFirstEvent, patCandidatesForDimuonsSequences_cff::tracker, uIdMap, and SurveyInputTextReader::UniqueIdMap().
|
private |
Get alignable surface from misalignments.db.
Definition at line 83 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().