CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
TrackerScenarioBuilder.h
Go to the documentation of this file.
1 #ifndef Alignment_TrackerAlignment_TrackerScenarioBuilder_h
2 #define Alignment_TrackerAlignment_TrackerScenarioBuilder_h
3 
13 
14 #include <vector>
15 #include <string>
16 
19 
20 class AlignableTracker;
21 
23 
25 public:
27  explicit TrackerScenarioBuilder(AlignableTracker* alignable);
28 
31 
33  void applyScenario(const edm::ParameterSet& scenario) override;
35  bool isTopLevel_(const std::string& parameterSetName) const override;
37  bool possiblyPartOf(const std::string& sub, const std::string& large) const override;
38 
39 private:
41 
42  // Members
43 
45  std::vector<std::string> theSubdets;
47  unsigned int theFirstStripIndex;
48 };
49 
50 #endif
std::string stripOffModule(const align::StructureType &type) const
unsigned int theFirstStripIndex
index of first strip subdet in &#39;theSubdets&#39; (pixel&lt;strip)
scenario
Definition: constants.h:173
bool isTopLevel_(const std::string &parameterSetName) const override
does this still make sense?
std::vector< std::string > theSubdets
following things are needed in possiblyPartOf:
TrackerScenarioBuilder(AlignableTracker *alignable)
Constructor.
Base class to build a scenario from configuration and apply to either tracker or muon.
void applyScenario(const edm::ParameterSet &scenario) override
Apply misalignment scenario to the tracker.
~TrackerScenarioBuilder() override
Destructor.
Builds a scenario from configuration and applies it to the alignable tracker.
bool possiblyPartOf(const std::string &sub, const std::string &large) const override
True if hierarchy level &#39;sub&#39; could be part of hierarchy level &#39;large&#39;.
AlignableTracker * theAlignableTracker