CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros 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 
18 
19 class AlignableTracker;
20 
22 
24 {
25 
26 public:
27 
29  explicit TrackerScenarioBuilder( AlignableTracker* alignable );
30 
33 
35  void applyScenario( const edm::ParameterSet& scenario );
37  virtual bool isTopLevel_(const std::string& parameterSetName) const;
39  virtual bool possiblyPartOf(const std::string &sub, const std::string &large) const;
40 
41 private: // Members
42 
44  std::vector<std::string> theSubdets;
46  unsigned int theFirstStripIndex;
47 
48 };
49 
50 
51 #endif
virtual bool isTopLevel_(const std::string &parameterSetName) const
does this still make sense?
unsigned int theFirstStripIndex
index of first strip subdet in &#39;theSubdets&#39; (pixel&lt;strip)
std::vector< std::string > theSubdets
following things are needed in possiblyPartOf:
virtual bool possiblyPartOf(const std::string &sub, const std::string &large) const
True if hierarchy level &#39;sub&#39; could be part of hierarchy level &#39;large&#39;.
void applyScenario(const edm::ParameterSet &scenario)
Apply misalignment scenario to the tracker.
TrackerScenarioBuilder(AlignableTracker *alignable)
Constructor.
Base class to build a scenario from configuration and apply to either tracker or muon.
Builds a scenario from configuration and applies it to the alignable tracker.
AlignableTracker * theAlignableTracker