CMS 3D CMS Logo

AlignmentTwoBodyDecayTrackSelector.h
Go to the documentation of this file.
1 
2 #ifndef Alignment_CommonAlignmentAlgorithm_AlignmentTwoBodyDecayTrackSelector_h
3 #define Alignment_CommonAlignmentAlgorithm_AlignmentTwoBodyDecayTrackSelector_h
4 
5 //Framework
9 //STL
10 #include <vector>
11 // forward declaration:
14 
15 namespace edm { class Event; class EventSetup; }
16 
18 {
19  public:
20 
21  typedef std::vector<const reco::Track*> Tracks;
22 
25 
28 
30  Tracks select(const Tracks& tracks, const edm::Event& iEvent, const edm::EventSetup& iSetup);
31 
32  bool useThisFilter();
33  private:
35  Tracks checkMass(const Tracks& cands)const;
37  Tracks checkMETMass(const Tracks& cands,const edm::Event& iEvent)const;
39  bool checkCharge(const reco::Track* trk1,const reco::Track* trk2 = nullptr)const;
41  bool checkAcoplanarity(const reco::Track* trk1,const reco::Track* trk2)const;
43  bool checkMETAcoplanarity(const reco::Track* trk,const reco::CaloMET* met)const;
44 
46 
47  //settings from conigfile
52  //inv mass Cut
53  double theMinMass;
54  double theMaxMass;
56  unsigned int theCandNumber;
57  bool secThrBool;
58  double thesecThr ;
59  //charge filter
60  int theCharge;
62  //missing ET Filter
64  //acoplanarity Filter
66  //helpers
68  void printTracks(const Tracks& col) const;
69 };
70 
71 #endif
72 
int iEvent
Definition: GenABIO.cc:230
met
===> hadronic RAZOR
edm::EDGetTokenT< reco::CaloMETCollection > theMissingETToken
HLT enums.
col
Definition: cuy.py:1008