1 #ifndef ALIGNMENTPARAMETERSELECTOR_H
2 #define ALIGNMENTPARAMETERSELECTOR_H
59 unsigned int addSelection(
const std::string &
name,
const std::vector<char> ¶mSel);
61 unsigned int addSelection(
const std::string &
name,
const std::vector<char> ¶mSel,
76 bool isPhi =
false)
const;
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);
204 AlignmentParameterSelector::insideRanges<int>(
int value,
const std::vector<int> &
ranges,
AlignableExtras * theExtras
bool outsideGeometricalRanges(const Alignable *alignable) const
true if geometrical restrictions in eta, phi, r, x, y, z not satisfied
std::vector< double > theRangesPhi
void setTIDDetIdCuts(const edm::ParameterSet &pSet)
unsigned int addAllAlignables(const std::vector< char > ¶mSel)
AlignmentParameterSelector(AlignableTracker *aliTracker, AlignableMuon *aliMuon=0, AlignableExtras *aliExtras=0)
Constructor from tracker only or from tracker and muon.
bool insideRanges(T value, const std::vector< T > &ranges, bool isPhi=false) const
align::Alignables theSelectedAlignables
void clearGeometryCuts()
remove all geometrical restrictions
std::vector< int > theDetIdRanges
std::vector< std::vector< char > > theSelectedParameters
std::vector< int > theStringRanges
std::vector< int > thePetalRanges
std::vector< int > theLadderRanges
struct AlignmentParameterSelector::PXFDetIdRanges thePXFDetIdRanges
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)
void clear()
remove all selected Alignables and geometrical restrictions
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)
struct AlignmentParameterSelector::PXBDetIdRanges thePXBDetIdRanges
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
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< int > theSideRanges
std::vector< int > theLayerRanges
Container::value_type value_type
struct AlignmentParameterSelector::TIBDetIdRanges theTIBDetIdRanges
std::vector< int > theWheelRanges
AlignableTracker * theTracker
std::vector< int > theSideRanges
struct AlignmentParameterSelector::TOBDetIdRanges theTOBDetIdRanges
RphiOrStereoDetUnit theRphiOrStereoDetUnit
std::vector< int > theRingRanges
unsigned int addAllRods(const std::vector< char > ¶mSel)
const align::Alignables & selectedAlignables() const
vector of alignables selected so far
void setPXFDetIdCuts(const edm::ParameterSet &pSet)
std::vector< int > theModuleRanges
std::vector< int > theBladeRanges
std::vector< double > theRangesY
std::vector< int > theRodRanges
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::TECDetIdRanges theTECDetIdRanges
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
std::vector< char > convertParamSel(const std::string &selString) const
Converting std::string into std::vector<char>
unsigned int addSelections(const edm::ParameterSet &pSet)
bool outsideDetIdRanges(const Alignable *alignable) const
true if DetId restrictions are not satisfied
bool isMemberOfVector(int value, const std::vector< int > &values) const
true if value is member of vector of values
std::vector< double > theRangesR
std::vector< int > theLayerRanges
std::vector< int > theModuleRanges
std::vector< int > theSideRanges
const std::vector< std::vector< char > > & selectedParameters() const
vector of selection 'strings' for alignables, parallel to selectedAlignables()
std::vector< int > thePanelRanges
std::vector< int > theLayerRanges
Constructor of the full muon geometry.
std::vector< double > theRangesX
struct AlignmentParameterSelector::TIDDetIdRanges theTIDDetIdRanges
bool layerDeselected(const Alignable *alignable) const
true if layer is deselected via "Layers<N><M>" or "DS/SS"
bool detUnitDeselected(const Alignable *alignable) const
true if alignable is DetUnit deselected by Unit<Rphi/Stereo> selection
std::string setSpecials(const std::string &name)
void setTIBDetIdCuts(const edm::ParameterSet &pSet)