CMS 3D CMS Logo

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 {
26 
27 public:
28 
30  explicit TrackerScenarioBuilder( AlignableTracker* alignable );
31 
33  ~TrackerScenarioBuilder() override {};
34 
36  void applyScenario( const edm::ParameterSet& scenario ) override;
38  bool isTopLevel_(const std::string& parameterSetName) const override;
40  bool possiblyPartOf(const std::string &sub, const std::string &large) const override;
41 
42 private:
44 
45  // Members
46 
48  std::vector<std::string> theSubdets;
50  unsigned int theFirstStripIndex;
51 
52 };
53 
54 
55 #endif
type
Definition: HCALResponse.h:21
bool isTopLevel_(const std::string &parameterSetName) const override
does this still make sense?
std::string stripOffModule(const align::StructureType &type) const
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;.
unsigned int theFirstStripIndex
index of first strip subdet in &#39;theSubdets&#39; (pixel<strip)
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.
AlignableTracker * theAlignableTracker