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 
18  public:
19 
20  TtDilepLRSignalSelObservables(edm::ConsumesCollector && iC, const edm::EDGetTokenT<std::vector<pat::Jet> > & jetSourceToken);
22 
23  typedef std::pair<unsigned int,bool> IntBoolPair;
24  std::vector< IntBoolPair > operator()(TtDilepEvtSolution&, const edm::Event & iEvent,
25  bool matchOnly = false);
26 
27  private:
28 
29  typedef std::pair<unsigned int,double> IntDblPair;
30 
31  double delta(double phi1, double phi2);
32  void fillMinMax(double v1, double v2, int obsNbr,
33  std::vector< IntDblPair > & varList, bool match1, bool match2,
34  std::vector< IntBoolPair > & matchList);
35 
38 
39  std::vector< IntDblPair > evtselectVarVal;
40  std::vector< IntBoolPair > evtselectVarMatch;
42 };
43 
44 #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::pair< unsigned int, bool > IntBoolPair
std::vector< IntBoolPair > operator()(TtDilepEvtSolution &, const edm::Event &iEvent, bool matchOnly=false)
int iEvent
Definition: GenABIO.cc:230
std::pair< unsigned int, double > IntDblPair
edm::EDGetTokenT< TtGenEvent > genEvtToken_
TtDilepLRSignalSelObservables(edm::ConsumesCollector &&iC, const edm::EDGetTokenT< std::vector< pat::Jet > > &jetSourceToken)
std::vector< IntBoolPair > evtselectVarMatch
edm::EDGetTokenT< std::vector< pat::Jet > > jetSourceToken_