CMS 3D CMS Logo

AlignmentMuonSelector.h
Go to the documentation of this file.
1 #ifndef Alignment_CommonAlignmentAlgorithm_AlignmentMuonSelector_h
2 #define Alignment_CommonAlignmentAlgorithm_AlignmentMuonSelector_h
3 
20 #include <vector>
21 
22 namespace edm {
23  class Event;
24 }
25 
27 public:
28  typedef std::vector<const reco::Muon*> Muons;
29 
32 
35 
37  Muons select(const Muons& muons, const edm::Event& evt) const;
38 
39 private:
41  Muons basicCuts(const Muons& muons) const;
42 
44  Muons theNHighestPtMuons(const Muons& muons) const;
45 
48 
50  struct ComparePt {
51  bool operator()(const reco::Muon* t1, const reco::Muon* t2) const { return t1->pt() > t2->pt(); }
52  };
54 
63 };
64 
65 #endif
std::vector< const reco::Muon * > Muons
compare two muons in pt (used by theNHighestPtMuons)
Muons basicCuts(const Muons &muons) const
apply basic cuts on pt,eta,phi,nhit
muons
the two sets of parameters below are mutually exclusive, depending if RECO or ALCARECO is used the us...
Definition: DiMuonV_cfg.py:214
Muons select(const Muons &muons, const edm::Event &evt) const
select muons
bool operator()(const reco::Muon *t1, const reco::Muon *t2) const
AlignmentMuonSelector(const edm::ParameterSet &cfg)
constructor
Muons theNHighestPtMuons(const Muons &muons) const
filter the n highest pt muons
bool applyBasicCuts
private data members
Muons theBestMassPairCombinationMuons(const Muons &muons) const
filter only those muons giving best mass pair combination
HLT enums.