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 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
TrackerScenarioBuilder::~TrackerScenarioBuilder
~TrackerScenarioBuilder() override
Destructor.
Definition: TrackerScenarioBuilder.h:30
TrackerScenarioBuilder::isTopLevel_
bool isTopLevel_(const std::string &parameterSetName) const override
does this still make sense?
Definition: TrackerScenarioBuilder.cc:56
StructureType.h
TrackerScenarioBuilder
Builds a scenario from configuration and applies it to the alignable tracker.
Definition: TrackerScenarioBuilder.h:24
TrackerScenarioBuilder::theAlignableTracker
AlignableTracker * theAlignableTracker
Definition: TrackerScenarioBuilder.h:44
TrackerScenarioBuilder::applyScenario
void applyScenario(const edm::ParameterSet &scenario) override
Apply misalignment scenario to the tracker.
Definition: TrackerScenarioBuilder.cc:39
AlignableTracker
Definition: AlignableTracker.h:17
MisalignmentScenarioBuilder.h
MisalignmentScenarioBuilder
Base class to build a scenario from configuration and apply to either tracker or muon.
Definition: MisalignmentScenarioBuilder.h:22
cmsdt::scenario
scenario
Definition: constants.h:166
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
align::StructureType
StructureType
Definition: StructureType.h:16
edm::ParameterSet
Definition: ParameterSet.h:36
TrackerScenarioBuilder::theFirstStripIndex
unsigned int theFirstStripIndex
index of first strip subdet in 'theSubdets' (pixel<strip)
Definition: TrackerScenarioBuilder.h:47
TrackerScenarioBuilder::possiblyPartOf
bool possiblyPartOf(const std::string &sub, const std::string &large) const override
True if hierarchy level 'sub' could be part of hierarchy level 'large'.
Definition: TrackerScenarioBuilder.cc:67
TrackerScenarioBuilder::theSubdets
std::vector< std::string > theSubdets
following things are needed in possiblyPartOf:
Definition: TrackerScenarioBuilder.h:46
TrackerScenarioBuilder::stripOffModule
std::string stripOffModule(const align::StructureType &type) const
Definition: TrackerScenarioBuilder.cc:107
type
type
Definition: HCALResponse.h:21
TrackerScenarioBuilder::TrackerScenarioBuilder
TrackerScenarioBuilder(AlignableTracker *alignable)
Constructor.
Definition: TrackerScenarioBuilder.cc:22