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
TtDilepLRSignalSelObservables::operator()
std::vector< IntBoolPair > operator()(TtDilepEvtSolution &, const edm::Event &iEvent, bool matchOnly=false)
Definition: TtDilepLRSignalSelObservables.cc:25
MessageLogger.h
TtDilepLRSignalSelObservables::count5
int count5
Definition: TtDilepLRSignalSelObservables.h:42
edm::EDGetTokenT
Definition: EDGetToken.h:33
TtDilepLRSignalSelObservables::evtselectVarVal
std::vector< IntDblPair > evtselectVarVal
Definition: TtDilepLRSignalSelObservables.h:40
TtDilepLRSignalSelObservables::IntBoolPair
std::pair< unsigned int, bool > IntBoolPair
Definition: TtDilepLRSignalSelObservables.h:22
TtDilepLRSignalSelObservables::TtDilepLRSignalSelObservables
TtDilepLRSignalSelObservables(edm::ConsumesCollector &&iC, const edm::EDGetTokenT< std::vector< pat::Jet > > &jetSourceToken)
Definition: TtDilepLRSignalSelObservables.cc:11
TtDilepLRSignalSelObservables::jetSourceToken_
edm::EDGetTokenT< std::vector< pat::Jet > > jetSourceToken_
Definition: TtDilepLRSignalSelObservables.h:37
TtDilepLRSignalSelObservables::count2
int count2
Definition: TtDilepLRSignalSelObservables.h:42
TtDilepLRSignalSelObservables::genEvtToken_
edm::EDGetTokenT< TtGenEvent > genEvtToken_
Definition: TtDilepLRSignalSelObservables.h:38
TtDilepLRSignalSelObservables::count3
int count3
Definition: TtDilepLRSignalSelObservables.h:42
TtDilepLRSignalSelObservables::count1
int count1
Definition: TtDilepLRSignalSelObservables.h:42
TtDilepLRSignalSelObservables::~TtDilepLRSignalSelObservables
~TtDilepLRSignalSelObservables()
Definition: TtDilepLRSignalSelObservables.cc:23
TtDilepLRSignalSelObservables::IntDblPair
std::pair< unsigned int, double > IntDblPair
Definition: TtDilepLRSignalSelObservables.h:26
Event.h
iEvent
int iEvent
Definition: GenABIO.cc:224
TtDilepLRSignalSelObservables::delta
double delta(double phi1, double phi2)
Definition: TtDilepLRSignalSelObservables.cc:219
TtDilepLRSignalSelObservables::fillMinMax
void fillMinMax(double v1, double v2, int obsNbr, std::vector< IntDblPair > &varList, bool match1, bool match2, std::vector< IntBoolPair > &matchList)
Definition: TtDilepLRSignalSelObservables.cc:198
EventSetup.h
Exception.h
ConsumesCollector.h
TtDilepLRSignalSelObservables::evtselectVarMatch
std::vector< IntBoolPair > evtselectVarMatch
Definition: TtDilepLRSignalSelObservables.h:41
TtDilepLRSignalSelObservables
Definition: TtDilepLRSignalSelObservables.h:16
edm::Event
Definition: Event.h:73
TtDilepLRSignalSelObservables::count4
int count4
Definition: TtDilepLRSignalSelObservables.h:42
edm::ConsumesCollector
Definition: ConsumesCollector.h:39
TtDilepEvtSolution
Definition: TtDilepEvtSolution.h:25
TtDilepEvtSolution.h