CMS 3D CMS Logo

SurveyAlignmentAlgorithm.cc
Go to the documentation of this file.
5 
7 
10  theOutfile(cfg.getParameter<std::string>("outfile")),
11  theIterations(cfg.getParameter<unsigned int>("nIteration")),
12  theLevels(cfg.getParameter<std::vector<std::string> >("levels")) {}
13 
16  std::vector<align::StructureType> levels;
17 
18  // FIXME: - currently defaulting to RunI as this was the previous behaviour
19  // - check this, when resurrecting this code in the future
21 
22  for (unsigned int l = 0; l < theLevels.size(); ++l) {
23  levels.push_back(alignableObjectId.stringToId(theLevels[l].c_str()));
24  }
25 
27 
28  align.iterate(theIterations, theOutfile, true);
29 }
30 
31 // Plug in to framework
32 
34 
AlignableObjectId
Allows conversion between type and name, and vice-versa.
Definition: AlignableObjectId.h:13
align
Definition: AlignableIndexer.h:30
AlignmentParameterStore::alignables
const align::Alignables & alignables(void) const
get all alignables
Definition: AlignmentParameterStore.h:47
SurveyAlignmentAlgorithm::initialize
void initialize(const edm::EventSetup &, AlignableTracker *, AlignableMuon *, AlignableExtras *, AlignmentParameterStore *) override
call at start of job
Definition: SurveyAlignmentAlgorithm.cc:14
AlignableObjectId::Geometry::General
SurveyAlignmentAlgorithm::theIterations
unsigned int theIterations
Definition: SurveyAlignmentAlgorithm.h:42
AlignmentAlgorithmPluginFactory.h
AlignmentAlgorithmBase
Definition: AlignmentAlgorithmBase.h:59
SurveyAlignmentAlgorithm::SurveyAlignmentAlgorithm
SurveyAlignmentAlgorithm(const edm::ParameterSet &)
Definition: SurveyAlignmentAlgorithm.cc:8
AlignableTracker
Definition: AlignableTracker.h:17
SurveyAlignmentAlgorithm::theLevels
std::vector< std::string > theLevels
Definition: SurveyAlignmentAlgorithm.h:44
AlignableExtras
Definition: AlignableExtras.h:19
DEFINE_EDM_PLUGIN
#define DEFINE_EDM_PLUGIN(factory, type, name)
Definition: PluginFactory.h:124
SurveyAlignmentAlgorithm.h
AlignmentParameterStore.h
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
SurveyAlignmentAlgorithm
Definition: SurveyAlignmentAlgorithm.h:25
edm::ParameterSet
Definition: ParameterSet.h:47
AlignableMuon
Constructor of the full muon geometry.
Definition: AlignableMuon.h:38
createfilelist.int
int
Definition: createfilelist.py:10
trackerHitRTTI::vector
Definition: trackerHitRTTI.h:21
SurveyAlignmentSensor
Definition: SurveyAlignmentSensor.h:18
edm::EventSetup
Definition: EventSetup.h:58
cmsLHEtoEOSManager.l
l
Definition: cmsLHEtoEOSManager.py:204
looper.cfg
cfg
Definition: looper.py:297
AlignableObjectId.h
std
Definition: JetResolutionObject.h:76
AlignmentParameterStore
Definition: AlignmentParameterStore.h:23
SurveyAlignmentAlgorithm::theOutfile
std::string theOutfile
Definition: SurveyAlignmentAlgorithm.h:40
SurveyAlignmentSensor.h
ParameterSet.h
AlignmentAlgorithmPluginFactory
jets_cff.levels
levels
Definition: jets_cff.py:21