Go to the documentation of this file. 1 #ifndef ALIGNMENTPARAMETERSELECTOR_H
2 #define ALIGNMENTPARAMETERSELECTOR_H
88 unsigned int addAllDets(
const std::vector<char> ¶mSel);
89 unsigned int addAllRods(
const std::vector<char> ¶mSel);
90 unsigned int addAllLayers(
const std::vector<char> ¶mSel);
216 bool AlignmentParameterSelector::insideRanges<int>(
int value,
const std::vector<int> &
ranges,
bool isPhi)
const;
unsigned int add(const align::Alignables &alignables, const std::vector< char > ¶mSel)
adding alignables which fulfil geometrical restrictions and special switches
std::vector< int > theRodRanges
std::vector< std::string > decompose(const std::string &s, std::string::value_type delimiter) const
Decomposing input string 's' into parts separated by 'delimiter'.
unsigned int addAllAlignables(const std::vector< char > ¶mSel)
std::vector< int > theExcludedDetIdRanges
unsigned int addAllRods(const std::vector< char > ¶mSel)
std::vector< int > theBladeRanges
std::vector< int > theModuleRanges
std::vector< int > theLadderRanges
std::vector< int > theLayerRanges
AlignableExtras * theExtras
std::vector< int > theModuleRanges
std::vector< int > theExcludedDetIds
std::vector< int > theDiskRanges
std::vector< int > theDetIdRanges
struct AlignmentParameterSelector::PXFDetIdRanges thePXFDetIdRanges
const align::Alignables & selectedAlignables() const
vector of alignables selected so far
virtual ~AlignmentParameterSelector()
Destructor.
std::vector< int > theSideRanges
void setTECDetIdCuts(const edm::ParameterSet &pSet)
const std::vector< std::vector< char > > & selectedParameters() const
vector of selection 'strings' for alignables, parallel to selectedAlignables()
std::vector< int > theRingRanges
bool outsideGeometricalRanges(const Alignable *alignable) const
true if geometrical restrictions in eta, phi, r, x, y, z not satisfied
void setPXFDetIdCuts(const edm::ParameterSet &pSet)
std::vector< char > convertParamSel(const std::string &selString) const
Converting std::string into std::vector<char>
bool isMemberOfVector(int value, const std::vector< int > &values) const
true if value is member of vector of values
std::vector< int > theLayerRanges
std::string setSpecials(const std::string &name)
std::vector< int > theSideRanges
std::vector< int > theLayerRanges
std::vector< int > theModuleRanges
struct AlignmentParameterSelector::PXBDetIdRanges thePXBDetIdRanges
std::vector< int > theSideRanges
void clear()
remove all selected Alignables and geometrical restrictions
std::vector< int > theModuleRanges
std::vector< int > theModuleRanges
std::vector< int > thePetalRanges
align::Alignables theSelectedAlignables
struct AlignmentParameterSelector::TECDetIdRanges theTECDetIdRanges
struct AlignmentParameterSelector::TOBDetIdRanges theTOBDetIdRanges
RphiOrStereoDetUnit theRphiOrStereoDetUnit
struct AlignmentParameterSelector::TIDDetIdRanges theTIDDetIdRanges
bool layerDeselected(const Alignable *alignable) const
true if layer is deselected via "Layers<N><M>" or "DS/SS"
const AlignableTracker * alignableTracker() const
Constructor of the full muon geometry.
bool detUnitDeselected(const Alignable *alignable) const
true if alignable is DetUnit deselected by Unit<Rphi/Stereo> selection
std::vector< double > theRangesEta
geometrical restrictions in eta, phi, r, x, y, z to be applied for next addSelection
Container::value_type value_type
std::vector< double > theRangesX
std::vector< double > theRangesZ
unsigned int addSelection(const std::string &name, const std::vector< char > ¶mSel)
std::vector< int > theModuleRanges
void setGeometryCuts(const edm::ParameterSet &pSet)
std::vector< double > theRangesY
std::vector< int > theRingRanges
std::vector< Alignable * > Alignables
struct AlignmentParameterSelector::TIBDetIdRanges theTIBDetIdRanges
std::vector< int > theWheelRanges
unsigned int addSelections(const edm::ParameterSet &pSet)
std::vector< double > theRangesR
std::vector< int > theSideRanges
std::vector< int > theSideRanges
std::vector< std::vector< char > > theSelectedParameters
unsigned int addAllDets(const std::vector< char > ¶mSel)
some helper methods
std::vector< int > theDiskRanges
void clearGeometryCuts()
remove all geometrical restrictions
void setTOBDetIdCuts(const edm::ParameterSet &pSet)
std::vector< int > thePanelRanges
unsigned int addAllLayers(const std::vector< char > ¶mSel)
void setPXBDetIdCuts(const edm::ParameterSet &pSet)
std::vector< int > theStringRanges
std::vector< double > theRangesPhi
std::vector< int > theDetIds
DetId restrictions in eta, phi, r, x, y, z to be applied for next addSelection.
AlignableTracker * theTracker
AlignmentParameterSelector(AlignableTracker *aliTracker, AlignableMuon *aliMuon=nullptr, AlignableExtras *aliExtras=nullptr)
Constructor from tracker only or from tracker and muon.
void setTIBDetIdCuts(const edm::ParameterSet &pSet)
bool insideRanges(T value, const std::vector< T > &ranges, bool isPhi=false) const
bool outsideDetIdRanges(const Alignable *alignable) const
true if DetId restrictions are not satisfied
void setTIDDetIdCuts(const edm::ParameterSet &pSet)