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