CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
TtSemiLRSignalSelObservables.h
Go to the documentation of this file.
1 #ifndef TtSemiLRSignalSelObservables_h
2 #define TtSemiLRSignalSelObservables_h
3 
8 
9 #include <iostream>
10 #include <string>
11 #include <vector>
12 
13 #include "TLorentzVector.h"
14 #include "TVector.h"
15 #include "TVector3.h"
16 #include "TVectorD.h"
17 
18 #include "TMatrix.h"
19 #include "TMatrixDSymEigen.h"
20 #include "TMatrixDSym.h"
21 #include "TMatrixTSym.h"
22 
26 
27 const double PI=3.14159265;
28 
30 
31  public:
32 
35 
36  void operator()(TtSemiEvtSolution&, const std::vector<pat::Jet>&);
37 
38  private:
39 
40  std::vector<std::pair<unsigned int,double> > evtselectVarVal;
41 
42  // compare two jets in ET
43  struct CompareET {
44  bool operator()( pat::Jet j1, pat::Jet j2 ) const
45  {
46  return j1.et() > j2.et();
47  }
48  };
49 
51 
52  // compare two jets in bdisc
53  struct CompareBdisc {
54  bool operator()( pat::Jet j1, pat::Jet j2 ) const
55  {
56  return j1.bDiscriminator("trackCountingJetTags") > j2.bDiscriminator("trackCountingJetTags");
57  }
58  };
59 
61 
62  // compare two double
63  struct CompareDouble {
64  bool operator()( double j1, double j2 ) const
65  {
66  return j1 > j2 ;
67  }
68  };
69 
71 };
72 
73 #endif
bool operator()(pat::Jet j1, pat::Jet j2) const
void operator()(TtSemiEvtSolution &, const std::vector< pat::Jet > &)
#define PI
virtual double et() const
transverse energy
std::vector< std::pair< unsigned int, double > > evtselectVarVal
bool operator()(pat::Jet j1, pat::Jet j2) const
float bDiscriminator(const std::string &theLabel) const
-— methods for accessing b-tagging info -—
Definition: Jet.cc:314
Analysis-level calorimeter jet class.
Definition: Jet.h:72