#include <AlignmentTwoBodyDecayTrackSelector.h>
Public Types | |
typedef std::vector< const reco::Track * > | Tracks |
Public Member Functions | |
AlignmentTwoBodyDecayTrackSelector (const edm::ParameterSet &cfg, edm::ConsumesCollector &iC) | |
constructor More... | |
Tracks | select (const Tracks &tracks, const edm::Event &iEvent, const edm::EventSetup &iSetup) |
select tracks More... | |
bool | useThisFilter () |
returns if any of the Filters is used. More... | |
~AlignmentTwoBodyDecayTrackSelector () | |
destructor More... | |
Private Member Functions | |
bool | checkAcoplanarity (const reco::Track *trk1, const reco::Track *trk2) const |
checks if the [cands] are acoplanar (returns empty set if not) More... | |
bool | checkCharge (const reco::Track *trk1, const reco::Track *trk2=0) const |
checks if the mother has charge = [theCharge] More... | |
Tracks | checkMass (const Tracks &cands) const |
checks if the mass of the mother is in the mass region More... | |
bool | checkMETAcoplanarity (const reco::Track *trk, const reco::CaloMET *met) const |
checks if [cands] contains a acoplanar track w.r.t missing ET (returns empty set if not) More... | |
Tracks | checkMETMass (const Tracks &cands, const edm::Event &iEvent) const |
checks if the mass of the mother is in the mass region adding missing E_T More... | |
void | printTracks (const Tracks &col) const |
print Information on Track-Collection More... | |
Private Attributes | |
bool | secThrBool |
double | theAcoplanarDistance |
bool | theAcoplanarityFilterSwitch |
unsigned int | theCandNumber |
int | theCharge |
bool | theChargeSwitch |
double | theDaughterMass |
bool | theMassrangeSwitch |
private data members More... | |
double | theMaxMass |
double | theMinMass |
bool | theMissingETSwitch |
edm::EDGetTokenT< reco::CaloMETCollection > | theMissingETToken |
double | thesecThr |
bool | theUnsignedSwitch |
Definition at line 15 of file AlignmentTwoBodyDecayTrackSelector.h.
typedef std::vector<const reco::Track*> AlignmentTwoBodyDecayTrackSelector::Tracks |
Definition at line 19 of file AlignmentTwoBodyDecayTrackSelector.h.
AlignmentTwoBodyDecayTrackSelector::AlignmentTwoBodyDecayTrackSelector | ( | const edm::ParameterSet & | cfg, |
edm::ConsumesCollector & | iC | ||
) |
constructor
Definition at line 24 of file AlignmentTwoBoyDecayTrackSelector.cc.
References funct::abs(), edm::ConsumesCollector::consumes(), edm::ParameterSet::getParameter(), LogDebug, and AlignmentTrackSelector_cfi::theCharge.
AlignmentTwoBodyDecayTrackSelector::~AlignmentTwoBodyDecayTrackSelector | ( | ) |
|
private |
checks if the [cands] are acoplanar (returns empty set if not)
Definition at line 281 of file AlignmentTwoBoyDecayTrackSelector.cc.
References hiPixelPairStep_cff::deltaPhi, M_PI, and reco::TrackBase::phi().
|
private |
checks if the mother has charge = [theCharge]
Definition at line 270 of file AlignmentTwoBoyDecayTrackSelector.cc.
References funct::abs(), reco::TrackBase::charge(), and AlignmentTrackSelector_cfi::theCharge.
|
private |
checks if the mass of the mother is in the mass region
checks if the mass of the X is in the mass region
Definition at line 109 of file AlignmentTwoBoyDecayTrackSelector.cc.
References electrons_cff::checkCharge, mps_fire::i, LogDebug, mps_fire::result, and mathSSE::sqrt().
|
private |
checks if [cands] contains a acoplanar track w.r.t missing ET (returns empty set if not)
checks if the [cands] are acoplanar (returns empty set if not)
Definition at line 289 of file AlignmentTwoBoyDecayTrackSelector.cc.
References hiPixelPairStep_cff::deltaPhi, M_PI, reco::LeafCandidate::phi(), and reco::TrackBase::phi().
|
private |
checks if the mass of the mother is in the mass region adding missing E_T
checks if the mass of the X is in the mass region adding missing E_T
Definition at line 189 of file AlignmentTwoBoyDecayTrackSelector.cc.
References electrons_cff::checkCharge, edm::Event::getByToken(), mps_fire::i, edm::HandleBase::isValid(), LogDebug, RazorAnalyzer::met, mps_fire::result, edm::second(), mathSSE::sqrt(), and HiIsolationCommonParameters_cff::track.
|
private |
print Information on Track-Collection
Definition at line 298 of file AlignmentTwoBoyDecayTrackSelector.cc.
References KineDebug3::count(), and LogDebug.
AlignmentTwoBodyDecayTrackSelector::Tracks AlignmentTwoBodyDecayTrackSelector::select | ( | const Tracks & | tracks, |
const edm::Event & | iEvent, | ||
const edm::EventSetup & | iSetup | ||
) |
select tracks
Definition at line 83 of file AlignmentTwoBoyDecayTrackSelector.cc.
References LogDebug, mps_fire::result, and l1t::tracks.
Referenced by Vispa.Views.LineDecayView.LineDecayContainer::createObject(), Vispa.Plugins.Browser.BrowserTabController.BrowserTabController::find(), Vispa.Views.LineDecayView.LineDecayContainer::mousePressEvent(), Vispa.Gui.PortConnection.PointToPointConnection::mousePressEvent(), Vispa.Gui.VispaWidget.VispaWidget::mousePressEvent(), Vispa.Views.AbstractView.AbstractView::restoreSelection(), and TrackConfigSelector::select().
bool AlignmentTwoBodyDecayTrackSelector::useThisFilter | ( | ) |
returns if any of the Filters is used.
Definition at line 75 of file AlignmentTwoBoyDecayTrackSelector.cc.
Referenced by TrackConfigSelector::TrackConfigSelector().
|
private |
Definition at line 55 of file AlignmentTwoBodyDecayTrackSelector.h.
|
private |
Definition at line 63 of file AlignmentTwoBodyDecayTrackSelector.h.
|
private |
Definition at line 49 of file AlignmentTwoBodyDecayTrackSelector.h.
|
private |
Definition at line 54 of file AlignmentTwoBodyDecayTrackSelector.h.
|
private |
Definition at line 58 of file AlignmentTwoBodyDecayTrackSelector.h.
|
private |
Definition at line 47 of file AlignmentTwoBodyDecayTrackSelector.h.
|
private |
Definition at line 53 of file AlignmentTwoBodyDecayTrackSelector.h.
|
private |
private data members
Definition at line 46 of file AlignmentTwoBodyDecayTrackSelector.h.
|
private |
Definition at line 52 of file AlignmentTwoBodyDecayTrackSelector.h.
|
private |
Definition at line 51 of file AlignmentTwoBodyDecayTrackSelector.h.
|
private |
Definition at line 48 of file AlignmentTwoBodyDecayTrackSelector.h.
|
private |
Definition at line 61 of file AlignmentTwoBodyDecayTrackSelector.h.
|
private |
Definition at line 56 of file AlignmentTwoBodyDecayTrackSelector.h.
|
private |
Definition at line 59 of file AlignmentTwoBodyDecayTrackSelector.h.