#include <TagProbePairMaker.h>
Public Member Functions | |
TagProbePairs | run (const edm::Event &iEvent) const |
fill in tghe T&P pairs for this event More... | |
TagProbePairMaker (const edm::ParameterSet &iConfig, edm::ConsumesCollector &&iC) | |
~TagProbePairMaker () | |
Private Types | |
enum | Arbitration { None, OneProbe, BestMass, Random2, NonDuplicate, OnePair, HighestPt } |
Private Member Functions | |
void | arbitrate (TagProbePairs &pairs) const |
void | phiCutByEventNumber (TagProbePairs &pairs, int eventNumber) const |
Private Attributes | |
Arbitration | arbitration_ |
double | arbitrationMass_ |
bool | phiCutForTwoLeg_ |
TRandom2 * | randGen_ |
edm::EDGetTokenT< reco::CandidateView > | srcToken_ |
Definition at line 26 of file TagProbePairMaker.h.
|
private |
Enumerator | |
---|---|
None | |
OneProbe | |
BestMass | |
Random2 | |
NonDuplicate | |
OnePair | |
HighestPt |
Definition at line 36 of file TagProbePairMaker.h.
tnp::TagProbePairMaker::TagProbePairMaker | ( | const edm::ParameterSet & | iConfig, |
edm::ConsumesCollector && | iC | ||
) |
Definition at line 4 of file TagProbePairMaker.cc.
References arbitration_, arbitrationMass_, BestMass, Exception, edm::ParameterSet::existsAs(), edm::ParameterSet::getParameter(), HighestPt, NonDuplicate, None, OnePair, OneProbe, phiCutForTwoLeg_, randGen_, Random2, and AlCaHLTBitMon_QueryRunRegistry::string.
|
inline |
|
private |
Definition at line 115 of file TagProbePairMaker.cc.
References funct::abs(), arbitration_, arbitrationMass_, BestMass, MillePedeFileConverter_cfg::e, HighestPt, NonDuplicate, OnePair, OneProbe, randGen_, Random2, and std::swap().
Referenced by run().
|
private |
Definition at line 73 of file TagProbePairMaker.cc.
References gather_cfg::cout.
Referenced by run().
tnp::TagProbePairs tnp::TagProbePairMaker::run | ( | const edm::Event & | iEvent | ) | const |
fill in tghe T&P pairs for this event
Definition at line 40 of file TagProbePairMaker.cc.
References arbitrate(), arbitration_, edm::View< T >::begin(), gather_cfg::cout, reco::Candidate::daughter(), edm::View< T >::end(), edm::EventID::event(), edm::Event::getByToken(), edm::EventBase::id(), reco::Candidate::mass(), reco::Candidate::masterClone(), None, reco::Candidate::numberOfDaughters(), phiCutByEventNumber(), phiCutForTwoLeg_, edm::View< T >::refAt(), TrackRefitter_38T_cff::src, and srcToken_.
Referenced by TagProbeFitTreeProducer::analyze().
|
private |
Definition at line 37 of file TagProbePairMaker.h.
Referenced by arbitrate(), run(), and TagProbePairMaker().
|
private |
Definition at line 38 of file TagProbePairMaker.h.
Referenced by arbitrate(), and TagProbePairMaker().
|
private |
Definition at line 43 of file TagProbePairMaker.h.
Referenced by run(), and TagProbePairMaker().
|
private |
Definition at line 40 of file TagProbePairMaker.h.
Referenced by arbitrate(), and TagProbePairMaker().
|
private |
Definition at line 35 of file TagProbePairMaker.h.
Referenced by run().