#include <TtDilepLRSignalSelObservables.h>
Public Types | |
typedef std::pair< unsigned int, bool > | IntBoolPair |
Public Member Functions | |
std::vector< IntBoolPair > | operator() (TtDilepEvtSolution &, const edm::Event &iEvent, bool matchOnly=false) |
TtDilepLRSignalSelObservables (edm::ConsumesCollector &&iC, const edm::EDGetTokenT< std::vector< pat::Jet > > &jetSourceToken) | |
~TtDilepLRSignalSelObservables () | |
Private Types | |
typedef std::pair< unsigned int, double > | IntDblPair |
Private Member Functions | |
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) |
Private Attributes | |
int | count1 |
int | count2 |
int | count3 |
int | count4 |
int | count5 |
std::vector< IntBoolPair > | evtselectVarMatch |
std::vector< IntDblPair > | evtselectVarVal |
edm::EDGetTokenT< TtGenEvent > | genEvtToken_ |
edm::EDGetTokenT< std::vector < pat::Jet > > | jetSourceToken_ |
Definition at line 16 of file TtDilepLRSignalSelObservables.h.
typedef std::pair<unsigned int,bool> TtDilepLRSignalSelObservables::IntBoolPair |
Definition at line 23 of file TtDilepLRSignalSelObservables.h.
|
private |
Definition at line 29 of file TtDilepLRSignalSelObservables.h.
TtDilepLRSignalSelObservables::TtDilepLRSignalSelObservables | ( | edm::ConsumesCollector && | iC, |
const edm::EDGetTokenT< std::vector< pat::Jet > > & | jetSourceToken | ||
) |
Definition at line 11 of file TtDilepLRSignalSelObservables.cc.
References count1, count2, count3, count4, and count5.
TtDilepLRSignalSelObservables::~TtDilepLRSignalSelObservables | ( | ) |
Definition at line 20 of file TtDilepLRSignalSelObservables.cc.
|
private |
Definition at line 211 of file TtDilepLRSignalSelObservables.cc.
References SiPixelRawToDigiRegional_cfi::deltaPhi, and M_PI.
Referenced by operator()().
|
private |
Definition at line 194 of file TtDilepLRSignalSelObservables.cc.
Referenced by operator()().
std::vector< TtDilepLRSignalSelObservables::IntBoolPair > TtDilepLRSignalSelObservables::operator() | ( | TtDilepEvtSolution & | solution, |
const edm::Event & | iEvent, | ||
bool | matchOnly = false |
||
) |
Definition at line 24 of file TtDilepLRSignalSelObservables.cc.
References funct::abs(), count1, count2, count3, count4, count5, delta(), SiPixelRawToDigiRegional_cfi::deltaPhi, reco::LeafCandidate::et(), evtselectVarMatch, evtselectVarVal, edm::HandleBase::failedToGet(), fillMinMax(), MCTruth::genEvent, genEvtToken_, edm::Event::getByToken(), TtDilepEvtSolution::getCalJetB(), TtDilepEvtSolution::getCalJetBbar(), TtDilepEvtSolution::getGenLepm(), TtDilepEvtSolution::getGenLepp(), TtDilepEvtSolution::getJetB(), TtDilepEvtSolution::getJetBbar(), TtDilepEvtSolution::getLeptNeg(), TtDilepEvtSolution::getLeptPos(), TtDilepEvtSolution::getWmDecay(), TtDilepEvtSolution::getWpDecay(), i, edm::HandleBase::isValid(), fwrapper::jets, jetSourceToken_, M_PI, reco::Particle::p4(), reco::LeafCandidate::p4(), pat::Jet::partonFlavour(), reco::LeafCandidate::pdgId(), createTree::pp, and TtDilepEvtSolution::setLRSignalEvtObservables().
|
private |
Definition at line 41 of file TtDilepLRSignalSelObservables.h.
Referenced by operator()(), and TtDilepLRSignalSelObservables().
|
private |
Definition at line 41 of file TtDilepLRSignalSelObservables.h.
Referenced by operator()(), and TtDilepLRSignalSelObservables().
|
private |
Definition at line 41 of file TtDilepLRSignalSelObservables.h.
Referenced by operator()(), and TtDilepLRSignalSelObservables().
|
private |
Definition at line 41 of file TtDilepLRSignalSelObservables.h.
Referenced by operator()(), and TtDilepLRSignalSelObservables().
|
private |
Definition at line 41 of file TtDilepLRSignalSelObservables.h.
Referenced by operator()(), and TtDilepLRSignalSelObservables().
|
private |
Definition at line 40 of file TtDilepLRSignalSelObservables.h.
Referenced by operator()().
|
private |
Definition at line 39 of file TtDilepLRSignalSelObservables.h.
Referenced by operator()().
|
private |
Definition at line 37 of file TtDilepLRSignalSelObservables.h.
Referenced by operator()().
|
private |
Definition at line 36 of file TtDilepLRSignalSelObservables.h.
Referenced by operator()().