CMS 3D CMS Logo

TtHadLRSignalSelObservables.h
Go to the documentation of this file.
1 #ifndef TtHadLRSignalSelObservables_h
2 #define TtHadLRSignalSelObservables_h
3 
8 
9 #include <iostream>
10 #include <string>
11 #include <vector>
12 
13 #include "TLorentzVector.h"
14 #include "TVector.h"
15 #include "TVectorD.h"
16 #include "TMatrix.h"
17 #include "TMatrixDSymEigen.h"
18 #include "TMatrixDSym.h"
19 #include "TMatrixTSym.h"
20 
23 
24 const double PI = 3.14159265;
25 
27 public:
30 
32 
33 private:
34  // compare two jets in ET
35  struct CompareET {
36  bool operator()(const pat::Jet& j1, const pat::Jet& j2) const { return j1.et() > j2.et(); }
37  };
38 
40 
41  // compare two jets in bdisc
42  struct CompareBdisc {
43  bool operator()(const pat::Jet& j1, const pat::Jet& j2) const {
44  return j1.bDiscriminator("trackCountingJetTags") > j2.bDiscriminator("trackCountingJetTags");
45  }
46  };
47 
49 
50  // compare two double
51  struct CompareDouble {
52  bool operator()(double j1, double j2) const { return j1 > j2; }
53  };
54 
56 
57  std::vector<std::pair<unsigned int, double> > evtselectVarVal;
58 };
59 
60 #endif
float bDiscriminator(const std::string &theLabel) const
-— methods for accessing b-tagging info -—
std::vector< std::pair< unsigned int, double > > evtselectVarVal
bool operator()(const pat::Jet &j1, const pat::Jet &j2) const
Analysis-level calorimeter jet class.
Definition: Jet.h:77
double et() const final
transverse energy
bool operator()(const pat::Jet &j1, const pat::Jet &j2) const