CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups 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 public:
33 
34  void operator()(TtSemiEvtSolution&, const std::vector<pat::Jet>&);
35 
36 private:
37  std::vector<std::pair<unsigned int, double> > evtselectVarVal;
38 
39  // compare two jets in ET
40  struct CompareET {
41  bool operator()(const pat::Jet& j1, const pat::Jet& j2) const { return j1.et() > j2.et(); }
42  };
43 
45 
46  // compare two jets in bdisc
47  struct CompareBdisc {
48  bool operator()(const pat::Jet& j1, const pat::Jet& j2) const {
49  return j1.bDiscriminator("trackCountingJetTags") > j2.bDiscriminator("trackCountingJetTags");
50  }
51  };
52 
54 
55  // compare two double
56  struct CompareDouble {
57  bool operator()(double j1, double j2) const { return j1 > j2; }
58  };
59 
61 };
62 
63 #endif
void operator()(TtSemiEvtSolution &, const std::vector< pat::Jet > &)
bool operator()(const pat::Jet &j1, const pat::Jet &j2) const
float bDiscriminator(const std::string &theLabel) const
-— methods for accessing b-tagging info -—
#define PI
Definition: QcdUeDQM.h:37
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
std::vector< std::pair< unsigned int, double > > evtselectVarVal