#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) | |
~TagProbePairMaker () | |
Private Types | |
enum | Arbitration { None, OneProbe, BestMass, Random2, NonDuplicate, OnePair } |
Private Member Functions | |
void | arbitrate (TagProbePairs &pairs) const |
Private Attributes | |
Arbitration | arbitration_ |
double | arbitrationMass_ |
TRandom2 * | randGen_ |
edm::InputTag | src_ |
Definition at line 23 of file TagProbePairMaker.h.
|
private |
Enumerator | |
---|---|
None | |
OneProbe | |
BestMass | |
Random2 | |
NonDuplicate | |
OnePair |
Definition at line 33 of file TagProbePairMaker.h.
tnp::TagProbePairMaker::TagProbePairMaker | ( | const edm::ParameterSet & | iConfig | ) |
Definition at line 4 of file TagProbePairMaker.cc.
References arbitration_, arbitrationMass_, BestMass, edm::hlt::Exception, edm::ParameterSet::getParameter(), NonDuplicate, None, OnePair, OneProbe, randGen_, and Random2.
|
inline |
|
private |
Definition at line 57 of file TagProbePairMaker.cc.
References abs, alignCSCRings::e, and std::swap().
tnp::TagProbePairs tnp::TagProbePairMaker::run | ( | const edm::Event & | iEvent | ) | const |
fill in tghe T&P pairs for this event
Definition at line 30 of file TagProbePairMaker.cc.
References reco::Candidate::daughter(), edm::Event::getByLabel(), reco::Candidate::mass(), reco::Candidate::masterClone(), reco::Candidate::numberOfDaughters(), and alcazmumu_cfi::src.
Referenced by TagProbeFitTreeProducer::analyze().
|
private |
Definition at line 34 of file TagProbePairMaker.h.
Referenced by TagProbePairMaker().
|
private |
Definition at line 35 of file TagProbePairMaker.h.
Referenced by TagProbePairMaker().
|
private |
Definition at line 37 of file TagProbePairMaker.h.
Referenced by TagProbePairMaker(), and ~TagProbePairMaker().
|
private |
Definition at line 32 of file TagProbePairMaker.h.