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 {
14 }
15 
21 {
22  std::vector<align::StructureType> levels;
23 
24  // FIXME: - currently defaulting to RunI as this was the previous behaviour
25  // - check this, when resurrecting this code in the future
27 
28  for (unsigned int l = 0; l < theLevels.size(); ++l)
29  {
30  levels.push_back(alignableObjectId.stringToId(theLevels[l].c_str()));
31  }
32 
34 
35  align.iterate(theIterations, theOutfile, true);
36 }
37 
38 // Plug in to framework
39 
41 
Allows conversion between type and name, and vice-versa.
void initialize(const edm::EventSetup &, AlignableTracker *, AlignableMuon *, AlignableExtras *, AlignmentParameterStore *) override
call at start of job
SurveyAlignmentAlgorithm(const edm::ParameterSet &)
std::vector< std::string > theLevels
#define DEFINE_EDM_PLUGIN(factory, type, name)
Constructor of the full muon geometry.
Definition: AlignableMuon.h:37
const align::Alignables & alignables(void) const
get all alignables