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 
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