1 #ifndef ALIGNMENTPARAMETERSELECTOR_H 2 #define ALIGNMENTPARAMETERSELECTOR_H 38 const std::vector<std::vector<char> >&
selectedParameters()
const {
return theSelectedParameters; }
42 void clearGeometryCuts();
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,
64 bool layerDeselected(
const Alignable *alignable)
const;
66 bool detUnitDeselected(
const Alignable *alignable)
const;
68 bool outsideGeometricalRanges(
const Alignable *alignable)
const;
70 bool outsideDetIdRanges(
const Alignable *alignable)
const;
75 template<
typename T>
bool insideRanges(
T value,
const std::vector<T> &
ranges,
76 bool isPhi =
false)
const;
78 bool isMemberOfVector(
int value,
const std::vector<int> &
values)
const;
82 std::vector<char> convertParamSel(
const std::string &selString)
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);
91 unsigned int addAllAlignables(
const std::vector<char> ¶mSel);
127 theLadderRanges.clear(); theLayerRanges.clear();
128 theModuleRanges.clear();
138 theBladeRanges.clear(); theDiskRanges.clear();
139 theModuleRanges.clear(); thePanelRanges.clear();
140 theSideRanges.clear();
149 theLayerRanges.clear(); theModuleRanges.clear();
150 theSideRanges.clear(); theStringRanges.clear();
159 theDiskRanges.clear(); theModuleRanges.clear();
160 theRingRanges.clear(); theSideRanges.clear();
169 theLayerRanges.clear(); theModuleRanges.clear();
170 theRodRanges.clear(); theSideRanges.clear();
180 theWheelRanges.clear(); thePetalRanges.clear();
181 theModuleRanges.clear(); theRingRanges.clear();
182 theSideRanges.clear();
206 AlignmentParameterSelector::insideRanges<int>(
int value,
const std::vector<int> &
ranges,
AlignableExtras * theExtras
std::vector< double > theRangesPhi
align::Alignables theSelectedAlignables
std::vector< int > theDetIdRanges
std::vector< std::vector< char > > theSelectedParameters
std::vector< int > theStringRanges
std::vector< int > thePetalRanges
std::vector< int > theLadderRanges
std::vector< int > theModuleRanges
std::vector< int > theExcludedDetIds
std::vector< int > theDiskRanges
std::vector< int > theSideRanges
std::vector< int > theModuleRanges
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
std::vector< double > theRangesZ
void clear(CLHEP::HepGenMatrix &m)
Helper function: Reset all elements of a matrix to 0.
std::vector< int > theSideRanges
std::vector< int > theSideRanges
std::vector< int > theLayerRanges
std::vector< int > theWheelRanges
AlignableTracker * theTracker
std::vector< int > theSideRanges
RphiOrStereoDetUnit theRphiOrStereoDetUnit
std::vector< int > theRingRanges
const align::Alignables & selectedAlignables() const
vector of alignables selected so far
void add(std::map< std::string, TH1 * > &h, TH1 *hist)
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
std::vector< int > theRingRanges
virtual ~AlignmentParameterSelector()
Destructor.
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