CMS 3D CMS Logo

TtDilepLRSignalSelObservables.h
Go to the documentation of this file.
1 #ifndef TtDilepLRSignalSelObservables_h
2 #define TtDilepLRSignalSelObservables_h
3 
9 
10 #include <iostream>
11 #include <string>
12 #include <vector>
13 
15 
17 public:
19  const edm::EDGetTokenT<std::vector<pat::Jet> >& jetSourceToken);
21 
22  typedef std::pair<unsigned int, bool> IntBoolPair;
23  std::vector<IntBoolPair> operator()(TtDilepEvtSolution&, const edm::Event& iEvent, bool matchOnly = false);
24 
25 private:
26  typedef std::pair<unsigned int, double> IntDblPair;
27 
28  double delta(double phi1, double phi2);
29  void fillMinMax(double v1,
30  double v2,
31  int obsNbr,
32  std::vector<IntDblPair>& varList,
33  bool match1,
34  bool match2,
35  std::vector<IntBoolPair>& matchList);
36 
39 
40  std::vector<IntDblPair> evtselectVarVal;
41  std::vector<IntBoolPair> evtselectVarMatch;
43 };
44 
45 #endif
double delta(double phi1, double phi2)
void fillMinMax(double v1, double v2, int obsNbr, std::vector< IntDblPair > &varList, bool match1, bool match2, std::vector< IntBoolPair > &matchList)
std::vector< IntBoolPair > operator()(TtDilepEvtSolution &, const edm::Event &iEvent, bool matchOnly=false)
int iEvent
Definition: GenABIO.cc:224
std::pair< unsigned int, bool > IntBoolPair
std::pair< unsigned int, double > IntDblPair
edm::EDGetTokenT< TtGenEvent > genEvtToken_
TtDilepLRSignalSelObservables(edm::ConsumesCollector &&iC, const edm::EDGetTokenT< std::vector< pat::Jet > > &jetSourceToken)
edm::EDGetTokenT< std::vector< pat::Jet > > jetSourceToken_
std::vector< IntBoolPair > evtselectVarMatch