Builds a scenario from configuration and applies it to the alignable tracker. More...
#include <TrackerScenarioBuilder.h>
Public Member Functions | |
void | applyScenario (const edm::ParameterSet &scenario) |
Apply misalignment scenario to the tracker. More... | |
virtual bool | isTopLevel_ (const std::string ¶meterSetName) const |
does this still make sense? More... | |
virtual bool | possiblyPartOf (const std::string &sub, const std::string &large) const |
True if hierarchy level 'sub' could be part of hierarchy level 'large'. More... | |
TrackerScenarioBuilder (AlignableTracker *alignable) | |
Constructor. More... | |
~TrackerScenarioBuilder () | |
Destructor. More... | |
Public Member Functions inherited from MisalignmentScenarioBuilder | |
MisalignmentScenarioBuilder () | |
Default constructor. More... | |
virtual | ~MisalignmentScenarioBuilder () |
Destructor. More... | |
Private Attributes | |
AlignableTracker * | theAlignableTracker |
unsigned int | theFirstStripIndex |
index of first strip subdet in 'theSubdets' (pixel<strip) More... | |
std::vector< std::string > | theSubdets |
following things are needed in possiblyPartOf: More... | |
Additional Inherited Members | |
Protected Member Functions inherited from MisalignmentScenarioBuilder | |
void | applyMovements_ (Alignable *alignable, const edm::ParameterSet &pSet) |
Apply movements given by parameter set to given alignable. More... | |
void | decodeMovements_ (const edm::ParameterSet &pSet, const std::vector< Alignable * > &alignables) |
Decode movements defined in given parameter set for given set of alignables. More... | |
void | decodeMovements_ (const edm::ParameterSet &pSet, const std::vector< Alignable * > &alignables, const std::string &levelName) |
Decode movements defined in given parameter set for given set of alignables tagged by given name. More... | |
edm::ParameterSet | getParameterSet_ (const std::string &name, const edm::ParameterSet &pSet) const |
edm::ParameterSet | getParameterSet_ (const std::string &levelName, int iComponent, const edm::ParameterSet &pSet) const |
bool | hasParameter_ (const std::string &name, const edm::ParameterSet &pSet) const |
Check if given parameter exists in parameter set. More... | |
void | mergeParameters_ (edm::ParameterSet &localSet, const edm::ParameterSet &globalSet) const |
Merge two sets of parameters into one (the first argument) More... | |
void | printParameters_ (const edm::ParameterSet &pSet, const bool showPsets=false) const |
Print all parameters and values for given set. More... | |
void | propagateParameters_ (const edm::ParameterSet &pSet, const std::string &globalName, edm::ParameterSet &subSet) const |
Propagate global parameters to sub-parameters. More... | |
const std::string | rootName_ (const std::string ¶meterSetName) const |
Get root name of a parameter set (e.g. 'Rod' in 'Rods' or 'Rod1') More... | |
Protected Attributes inherited from MisalignmentScenarioBuilder | |
std::string | indent_ |
Depth in hierarchy. More... | |
AlignableModifier | theModifier |
Helper class for random movements. More... | |
int | theModifierCounter |
Counter for applied modification. More... | |
edm::ParameterSet | theScenario |
Misalignment scenario to apply (from config file) More... | |
Builds a scenario from configuration and applies it to the alignable tracker.
Builds a scenario from configuration and applies it to the alignable tracker.
Definition at line 23 of file TrackerScenarioBuilder.h.
|
explicit |
Constructor.
Definition at line 24 of file TrackerScenarioBuilder.cc.
References Exception, theAlignableTracker, theFirstStripIndex, and theSubdets.
|
inline |
|
virtual |
Apply misalignment scenario to the tracker.
Implements MisalignmentScenarioBuilder.
Definition at line 44 of file TrackerScenarioBuilder.cc.
References MisalignmentScenarioBuilder::decodeMovements_(), Exception, edm::ParameterSet::getParameter(), MisalignmentScenarioBuilder::hasParameter_(), AlignableModifier::setSeed(), AlignableTracker::subStructures(), theAlignableTracker, MisalignmentScenarioBuilder::theModifier, and MisalignmentScenarioBuilder::theModifierCounter.
Referenced by MisalignedTrackerESProducer::produce().
|
virtual |
does this still make sense?
Reimplemented from MisalignmentScenarioBuilder.
Definition at line 66 of file TrackerScenarioBuilder.cc.
References pyrootRender::root, MisalignmentScenarioBuilder::rootName_(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
virtual |
True if hierarchy level 'sub' could be part of hierarchy level 'large'.
Reimplemented from MisalignmentScenarioBuilder.
Definition at line 77 of file TrackerScenarioBuilder.cc.
References HLT_FULL_cff::nPos, theFirstStripIndex, and theSubdets.
|
private |
Pointer to mother alignable object
Definition at line 43 of file TrackerScenarioBuilder.h.
Referenced by applyScenario(), and TrackerScenarioBuilder().
|
private |
index of first strip subdet in 'theSubdets' (pixel<strip)
Definition at line 46 of file TrackerScenarioBuilder.h.
Referenced by possiblyPartOf(), and TrackerScenarioBuilder().
|
private |
following things are needed in possiblyPartOf:
sub-detector acronyms appearing in StructureType.h (TPE)
Definition at line 45 of file TrackerScenarioBuilder.h.
Referenced by possiblyPartOf(), and TrackerScenarioBuilder().