#include <AlignmentTwoBodyDecayTrackSelector.h>
Public Types | |
typedef std::vector< const reco::Track * > | Tracks |
Public Member Functions | |
AlignmentTwoBodyDecayTrackSelector (const edm::ParameterSet &cfg) | |
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 |
edm::InputTag | theMissingETSource |
bool | theMissingETSwitch |
double | thesecThr |
bool | theUnsignedSwitch |
Definition at line 14 of file AlignmentTwoBodyDecayTrackSelector.h.
typedef std::vector<const reco::Track*> AlignmentTwoBodyDecayTrackSelector::Tracks |
Definition at line 18 of file AlignmentTwoBodyDecayTrackSelector.h.
AlignmentTwoBodyDecayTrackSelector::AlignmentTwoBodyDecayTrackSelector | ( | const edm::ParameterSet & | cfg | ) |
constructor
Definition at line 23 of file AlignmentTwoBoyDecayTrackSelector.cc.
References funct::abs(), edm::ParameterSet::getParameter(), LogDebug, secThrBool, theAcoplanarDistance, theAcoplanarityFilterSwitch, theCandNumber, theCharge, theChargeSwitch, theDaughterMass, theMassrangeSwitch, theMaxMass, theMinMass, theMissingETSource, theMissingETSwitch, thesecThr, and theUnsignedSwitch.
AlignmentTwoBodyDecayTrackSelector::~AlignmentTwoBodyDecayTrackSelector | ( | ) |
|
private |
checks if the [cands] are acoplanar (returns empty set if not)
Definition at line 280 of file AlignmentTwoBoyDecayTrackSelector.cc.
References SiPixelRawToDigiRegional_cfi::deltaPhi, M_PI, reco::TrackBase::phi(), and theAcoplanarDistance.
Referenced by checkMass().
|
private |
checks if the mother has charge = [theCharge]
Definition at line 269 of file AlignmentTwoBoyDecayTrackSelector.cc.
References funct::abs(), reco::TrackBase::charge(), theCharge, and theUnsignedSwitch.
Referenced by checkMass(), and checkMETMass().
|
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 108 of file AlignmentTwoBoyDecayTrackSelector.cc.
References checkAcoplanarity(), checkCharge(), i, LogDebug, query::result, secThrBool, python.multivaluedict::sort(), mathSSE::sqrt(), theAcoplanarityFilterSwitch, theCandNumber, theChargeSwitch, theDaughterMass, theMaxMass, theMinMass, and thesecThr.
Referenced by select().
|
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 288 of file AlignmentTwoBoyDecayTrackSelector.cc.
References SiPixelRawToDigiRegional_cfi::deltaPhi, M_PI, reco::TrackBase::phi(), reco::LeafCandidate::phi(), and theAcoplanarDistance.
Referenced by checkMETMass().
|
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 188 of file AlignmentTwoBoyDecayTrackSelector.cc.
References checkCharge(), checkMETAcoplanarity(), edm::Event::getByLabel(), i, edm::HandleBase::isValid(), LogDebug, CaloMET_cfi::met, query::result, edm::second(), python.multivaluedict::sort(), mathSSE::sqrt(), theAcoplanarityFilterSwitch, theCandNumber, theChargeSwitch, theDaughterMass, theMaxMass, theMinMass, and theMissingETSource.
Referenced by select().
|
private |
print Information on Track-Collection
Definition at line 297 of file AlignmentTwoBoyDecayTrackSelector.cc.
References prof2calltree::count, and LogDebug.
AlignmentTwoBodyDecayTrackSelector::Tracks AlignmentTwoBodyDecayTrackSelector::select | ( | const Tracks & | tracks, |
const edm::Event & | iEvent, | ||
const edm::EventSetup & | iSetup | ||
) |
select tracks
Definition at line 82 of file AlignmentTwoBoyDecayTrackSelector.cc.
References checkMass(), checkMETMass(), LogDebug, query::result, theMassrangeSwitch, theMissingETSwitch, and testEve_cfg::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 74 of file AlignmentTwoBoyDecayTrackSelector.cc.
References theAcoplanarityFilterSwitch, theChargeSwitch, and theMassrangeSwitch.
Referenced by TrackConfigSelector::TrackConfigSelector().
|
private |
Definition at line 54 of file AlignmentTwoBodyDecayTrackSelector.h.
Referenced by AlignmentTwoBodyDecayTrackSelector(), and checkMass().
|
private |
Definition at line 62 of file AlignmentTwoBodyDecayTrackSelector.h.
Referenced by AlignmentTwoBodyDecayTrackSelector(), checkAcoplanarity(), and checkMETAcoplanarity().
|
private |
Definition at line 48 of file AlignmentTwoBodyDecayTrackSelector.h.
Referenced by AlignmentTwoBodyDecayTrackSelector(), checkMass(), checkMETMass(), and useThisFilter().
|
private |
Definition at line 53 of file AlignmentTwoBodyDecayTrackSelector.h.
Referenced by AlignmentTwoBodyDecayTrackSelector(), checkMass(), and checkMETMass().
|
private |
Definition at line 57 of file AlignmentTwoBodyDecayTrackSelector.h.
Referenced by AlignmentTwoBodyDecayTrackSelector(), and checkCharge().
|
private |
Definition at line 46 of file AlignmentTwoBodyDecayTrackSelector.h.
Referenced by AlignmentTwoBodyDecayTrackSelector(), checkMass(), checkMETMass(), and useThisFilter().
|
private |
Definition at line 52 of file AlignmentTwoBodyDecayTrackSelector.h.
Referenced by AlignmentTwoBodyDecayTrackSelector(), checkMass(), and checkMETMass().
|
private |
private data members
Definition at line 45 of file AlignmentTwoBodyDecayTrackSelector.h.
Referenced by AlignmentTwoBodyDecayTrackSelector(), select(), and useThisFilter().
|
private |
Definition at line 51 of file AlignmentTwoBodyDecayTrackSelector.h.
Referenced by AlignmentTwoBodyDecayTrackSelector(), checkMass(), and checkMETMass().
|
private |
Definition at line 50 of file AlignmentTwoBodyDecayTrackSelector.h.
Referenced by AlignmentTwoBodyDecayTrackSelector(), checkMass(), and checkMETMass().
|
private |
Definition at line 60 of file AlignmentTwoBodyDecayTrackSelector.h.
Referenced by AlignmentTwoBodyDecayTrackSelector(), and checkMETMass().
|
private |
Definition at line 47 of file AlignmentTwoBodyDecayTrackSelector.h.
Referenced by AlignmentTwoBodyDecayTrackSelector(), and select().
|
private |
Definition at line 55 of file AlignmentTwoBodyDecayTrackSelector.h.
Referenced by AlignmentTwoBodyDecayTrackSelector(), and checkMass().
|
private |
Definition at line 58 of file AlignmentTwoBodyDecayTrackSelector.h.
Referenced by AlignmentTwoBodyDecayTrackSelector(), and checkCharge().