CMS 3D CMS Logo

AlignmentGlobalTrackSelector.h
Go to the documentation of this file.
1 #ifndef Alignment_CommonAlignmentAlgorithm_AlignmentGlobalTrackSelector_h
2 #define Alignment_CommonAlignmentAlgorithm_AlignmentGlobalTrackSelector_h
3 
6 
7 //Framework
11 //STL
12 #include <vector>
13 
14 namespace reco {
15  class Track;
16 }
17 namespace edm {
18  class Event;
19  class EventSetup;
20 } // namespace edm
21 
23 public:
24  typedef std::vector<const reco::Track*> Tracks;
25 
28 
31 
33  Tracks select(const Tracks& tracks, const edm::Event& iEvent, const edm::EventSetup& eSetup);
35  bool useThisFilter();
36 
37 private:
39  Tracks checkJetCount(const Tracks& cands, const edm::Event& iEvent) const;
41  Tracks checkIsolation(const Tracks& cands, const edm::Event& iEvent) const;
43  Tracks findMuons(const Tracks& tracks, const edm::Event& iEvent) const;
44 
47 
48  //settings from conigfile
52 
53  //global Muon Filter
57 
58  //isolation Cut
60  double theMaxJetPt;
63 
64  //jet count Filter
66  double theMinJetPt;
68 
69  //helpers
70 
72  void printTracks(const Tracks& col) const;
73 
75  Tracks matchTracks(const Tracks& src, const Tracks& comp) const;
76 };
77 
78 #endif
std::vector< const reco::Track * > Tracks
edm::EDGetTokenT< reco::CaloJetCollection > theJetCountToken
std::pair< double, double > matchTracks(const reco::Track &ref, const reco::Track &probe)
int iEvent
Definition: GenABIO.cc:224
edm::EDGetTokenT< reco::MuonCollection > theMuonToken
edm::ParameterSet theConf
private data members
select
when omitted electron plots will be filled w/o cut on electronId electronId = cms.PSet( src = cms.InputTag("mvaTrigV0"), cutValue = cms.double(0.5) ), when omitted electron plots will be filled w/o additional pre- selection of the electron candidates
fixed size matrix
HLT enums.
col
Definition: cuy.py:1010
edm::EDGetTokenT< reco::CaloJetCollection > theJetIsoToken