test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 
28  public:
29 
32 
34 
35  private:
36 
37  // compare two jets in ET
38  struct CompareET {
39  bool operator()( const pat::Jet& j1, const pat::Jet& j2 ) const
40  {
41  return j1.et() > j2.et();
42  }
43  };
44 
46 
47  // compare two jets in bdisc
48  struct CompareBdisc {
49  bool operator()( const pat::Jet& j1, const pat::Jet& j2 ) const
50  {
51  return j1.bDiscriminator("trackCountingJetTags") > j2.bDiscriminator("trackCountingJetTags");
52  }
53  };
54 
56 
57  // compare two double
58  struct CompareDouble {
59  bool operator()( double j1, double j2 ) const
60  {
61  return j1 > j2 ;
62  }
63  };
64 
66 
67  std::vector<std::pair<unsigned int,double> > evtselectVarVal;
68 
69 };
70 
71 #endif
float bDiscriminator(const std::string &theLabel) const
-— methods for accessing b-tagging info -—
#define PI
Definition: QcdUeDQM.h:36
bool operator()(const pat::Jet &j1, const pat::Jet &j2) const
bool operator()(const pat::Jet &j1, const pat::Jet &j2) const
Analysis-level calorimeter jet class.
Definition: Jet.h:78
virtual double et() const final
transverse energy
std::vector< std::pair< unsigned int, double > > evtselectVarVal