#include <Alignment/SurveyDataConverter/interface/SurveyDataConverter.h>
Public Member Functions | |
virtual void | analyze (const edm::Event &iEvent, const edm::EventSetup &iSetup) |
virtual void | endJob () |
SurveyDataConverter (const edm::ParameterSet &iConfig) | |
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 (const std::string &iProcessName, std::vector< const char * > &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 Types | |
typedef SurveyDataReader::MapType | MapType |
typedef SurveyDataReader::MapTypeOr | MapTypeOr |
typedef SurveyDataReader::PairType | PairType |
typedef SurveyDataReader::PairTypeOr | PairTypeOr |
Private Member Functions | |
void | applyAPEs (TrackerAlignment &tr_align) |
void | applyCoarseSurveyInfo (TrackerAlignment &tr_align) |
void | applyFineSurveyInfo (TrackerAlignment &tr_align, const MapType &map) |
Private Attributes | |
bool | adderrors |
bool | applycoarseinfo |
bool | applyfineinfo |
edm::ParameterSet | MisalignScenario |
edm::ParameterSet | theParameterSet |
Static Private Attributes | |
static const int | NFILES = 2 |
Additional Inherited Members | |
Public Types inherited from edm::EDAnalyzer | |
typedef EDAnalyzer | ModuleType |
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) |
Description: Reads survey corrections and applies them to the geometry.
Implementation: <Notes on="" implementation>="">
Definition at line 25 of file SurveyDataConverter.h.
|
private |
Definition at line 28 of file SurveyDataConverter.h.
|
private |
Definition at line 30 of file SurveyDataConverter.h.
|
private |
Definition at line 29 of file SurveyDataConverter.h.
|
private |
Definition at line 31 of file SurveyDataConverter.h.
|
explicit |
Definition at line 18 of file SurveyDataConverter.cc.
|
virtual |
Implements edm::EDAnalyzer.
Definition at line 24 of file SurveyDataConverter.cc.
References adderrors, applyAPEs(), applycoarseinfo, applyCoarseSurveyInfo(), applyfineinfo, applyFineSurveyInfo(), gather_cfg::cout, SurveyDataReader::detIdMap(), Exception, edm::EventSetup::get(), edm::ParameterSet::getParameter(), cuy::ii, NFILES, edm::ESHandle< class >::product(), SurveyDataReader::readFile(), TrackerAlignment::saveToDB(), AlCaHLTBitMon_QueryRunRegistry::string, and theParameterSet.
|
private |
Definition at line 107 of file SurveyDataConverter.cc.
References AlignableModifier::addAlignmentPositionErrorLocal(), gather_cfg::cout, AlignableTracker::endcapGeomDets(), AlignableTracker::endcapLayers(), AlignableTracker::endcapPetals(), AlignableTracker::endCaps(), TrackerAlignment::getAlignableTracker(), edm::ParameterSet::getParameter(), AlignableTracker::innerBarrelGeomDets(), AlignableTracker::innerBarrelLayers(), AlignableTracker::innerHalfBarrels(), getDQMSummary::iter, AlignableTracker::outerBarrelGeomDets(), AlignableTracker::outerBarrelRods(), AlignableTracker::outerHalfBarrels(), theParameterSet, AlignableTracker::TIDGeomDets(), AlignableTracker::TIDLayers(), AlignableTracker::TIDRings(), and AlignableTracker::TIDs().
Referenced by analyze().
|
private |
Definition at line 95 of file SurveyDataConverter.cc.
References TrackerScenarioBuilder::applyScenario(), gather_cfg::cout, TrackerAlignment::getAlignableTracker(), edm::ParameterSet::getParameter(), MisalignScenario, and theParameterSet.
Referenced by analyze().
|
private |
Definition at line 67 of file SurveyDataConverter.cc.
References gather_cfg::cout, plotBeamSpotDB::first, TrackerAlignment::moveAlignableTIBTIDs(), and edm::second().
Referenced by analyze().
|
inlinevirtual |
|
private |
Definition at line 57 of file SurveyDataConverter.h.
Referenced by analyze().
|
private |
Definition at line 57 of file SurveyDataConverter.h.
Referenced by analyze().
|
private |
Definition at line 57 of file SurveyDataConverter.h.
Referenced by analyze().
|
private |
Definition at line 53 of file SurveyDataConverter.h.
Referenced by applyCoarseSurveyInfo().
|
staticprivate |
Definition at line 41 of file SurveyDataConverter.h.
Referenced by analyze().
|
private |
Definition at line 52 of file SurveyDataConverter.h.
Referenced by analyze(), applyAPEs(), and applyCoarseSurveyInfo().