CMS 3D CMS Logo

AlignmentParameterBuilder.h
Go to the documentation of this file.
1 #ifndef Alignment_CommonAlignmentAlgorithm_AlignmentParameterBuilder_h
2 #define Alignment_CommonAlignmentAlgorithm_AlignmentParameterBuilder_h
3 
15 
16 namespace edm {
17  class ParameterSet;
18 }
19 class AlignableExtras;
20 class AlignableTracker;
21 class AlignableMuon;
23 class TrackerTopology;
24 
26 public:
29 
32  AlignableMuon *alignableMuon,
33  AlignableExtras *alignableExtras);
34 
38  AlignableExtras *alignableExtras,
39  const edm::ParameterSet &pSet);
40 
43  AlignableMuon *alignableMuon,
44  AlignableExtras *alignableExtras,
45  const edm::ParameterSet &pSet);
46 
50  void addAllSelections(const edm::ParameterSet &pSet);
51 
59 
61  unsigned int add(const align::Alignables &alignables,
63  const std::vector<bool> &sel);
65  bool add(Alignable *alignable, AlignmentParametersFactory::ParametersType parType, const std::vector<bool> &sel);
66 
68  const align::Alignables &alignables() const { return theAlignables; };
69 
71  void fixAlignables(int n);
72 
74  const AlignableTracker *alignableTracker() const;
75 
76 private:
80  bool decodeParamSel(std::vector<char> &paramSelChar, std::vector<bool> &result) const;
82  bool addFullParamSel(AlignmentParameters *aliPar, const std::vector<char> &fullSel) const;
83 
84  // data members
85 
88 
91 
94 
97 };
98 
99 #endif
AlignmentParameterBuilder::addFullParamSel
bool addFullParamSel(AlignmentParameters *aliPar, const std::vector< char > &fullSel) const
add SelectionUserVariables corresponding to fullSel
Definition: AlignmentParameterBuilder.cc:200
AlignmentParametersFactory.h
dqmiodumpmetadata.n
n
Definition: dqmiodumpmetadata.py:28
AlignmentParameterBuilder::fixAlignables
void fixAlignables(int n)
Remove n Alignables from list.
Definition: AlignmentParameterBuilder.cc:148
AlignmentParameterBuilder
Definition: AlignmentParameterBuilder.h:25
AlignmentParametersFactory::ParametersType
ParametersType
enums for all available AlignmentParameters
Definition: AlignmentParametersFactory.h:21
edm
HLT enums.
Definition: AlignableModifier.h:19
TrackerTopology
Definition: TrackerTopology.h:16
Alignable
Definition: Alignable.h:27
AlignmentParameterBuilder::addAllSelections
void addAllSelections(const edm::ParameterSet &pSet)
master initialisation method, PSet must have form as constructor wants it
Definition: AlignmentParameterBuilder.cc:70
AlignmentParameters
Definition: AlignmentParameters.h:35
AlignmentParameterBuilder::theAlignables
align::Alignables theAlignables
Vector of alignables.
Definition: AlignmentParameterBuilder.h:87
AlignmentParameterBuilder::theAlignableTracker
AlignableTracker * theAlignableTracker
Alignable tracker.
Definition: AlignmentParameterBuilder.h:90
AlignmentParameterBuilder::AlignmentParameterBuilder
AlignmentParameterBuilder(AlignableTracker *alignableTracker, AlignableExtras *alignableExtras)
Constructor from tracker only.
Definition: AlignmentParameterBuilder.cc:28
AlignableTracker
Definition: AlignableTracker.h:17
AlignmentParameterBuilder::addSelections
unsigned int addSelections(const edm::ParameterSet &pset, AlignmentParametersFactory::ParametersType parType)
Definition: AlignmentParameterBuilder.cc:87
AlignableExtras
Definition: AlignableExtras.h:19
AlignmentParameterBuilder::alignables
const align::Alignables & alignables() const
Get list of alignables for which AlignmentParameters are built.
Definition: AlignmentParameterBuilder.h:68
edm::ParameterSet
Definition: ParameterSet.h:47
ParameterSet
Definition: Functions.h:16
AlignableMuon
Constructor of the full muon geometry.
Definition: AlignableMuon.h:38
AlignmentParameterBuilder::theAlignableMuon
AlignableMuon * theAlignableMuon
Alignable muon.
Definition: AlignmentParameterBuilder.h:93
AlignmentParameterBuilder::decodeParamSel
bool decodeParamSel(std::vector< char > &paramSelChar, std::vector< bool > &result) const
Definition: AlignmentParameterBuilder.cc:175
Utilities.h
AlignmentParameterBuilder::alignableTracker
const AlignableTracker * alignableTracker() const
Alignable tracker.
Definition: AlignmentParameterBuilder.cc:67
align::Alignables
std::vector< Alignable * > Alignables
Definition: Utilities.h:31
AlignmentParameterBuilder::~AlignmentParameterBuilder
virtual ~AlignmentParameterBuilder()
destructor
Definition: AlignmentParameterBuilder.h:48
AlignmentParameterBuilder::theAlignableExtras
AlignableExtras * theAlignableExtras
extra Alignables
Definition: AlignmentParameterBuilder.h:96
mps_fire.result
result
Definition: mps_fire.py:311
EgammaValidation_Wenu_cff.sel
sel
Definition: EgammaValidation_Wenu_cff.py:33
AlignmentParameterBuilder::add
unsigned int add(const align::Alignables &alignables, AlignmentParametersFactory::ParametersType parType, const std::vector< bool > &sel)
Add arbitrary selection of Alignables, return number of higher level Alignables.
Definition: AlignmentParameterBuilder.cc:134
muonDTDigis_cfi.pset
pset
Definition: muonDTDigis_cfi.py:27