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 {class Track;}
15 namespace edm {class Event; class EventSetup;}
16 
18 {
19 
20  public:
21 
22  typedef std::vector<const reco::Track*> Tracks;
23 
26 
29 
31  Tracks select(const Tracks& tracks, const edm::Event& iEvent, const edm::EventSetup& eSetup);
33  bool useThisFilter();
34 
35  private:
36 
38  Tracks checkJetCount(const Tracks& cands,const edm::Event& iEvent)const;
40  Tracks checkIsolation(const Tracks& cands,const edm::Event& iEvent)const;
42  Tracks findMuons(const Tracks& tracks,const edm::Event& iEvent)const;
43 
46 
47  //settings from conigfile
51 
52  //global Muon Filter
56 
57  //isolation Cut
59  double theMaxJetPt;
62 
63  //jet count Filter
65  double theMinJetPt;
67 
68  //helpers
69 
71  void printTracks(const Tracks& col) const;
72 
74  Tracks matchTracks(const Tracks& src, const Tracks& comp) const;
75 };
76 
77 #endif
78 
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:230
edm::EDGetTokenT< reco::MuonCollection > theMuonToken
edm::ParameterSet theConf
private data members
fixed size matrix
HLT enums.
col
Definition: cuy.py:1009
edm::EDGetTokenT< reco::CaloJetCollection > theJetIsoToken