#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) |
select tracks More... | |
bool | useThisFilter () |
returns if any of the Filters is used. More... | |
~AlignmentTwoBodyDecayTrackSelector () | |
destructor More... | |
Private Member Functions | |
Tracks | checkAcoplanarity (const Tracks &cands) const |
checks if the [cands] are acoplanar (returns empty set if not) More... | |
Tracks | checkCharge (const Tracks &cands) 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... | |
Tracks | checkMETAcoplanarity (const Tracks &cands, const edm::Event &iEvent) 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 | |
double | theAcoplanarDistance |
bool | theAcoplanarityFilterSwitch |
int | theCharge |
bool | theChargeSwitch |
double | theDaughterMass |
bool | theMassrangeSwitch |
private data members More... | |
double | theMaxMass |
double | theMinMass |
edm::InputTag | theMissingETSource |
bool | theMissingETSwitch |
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 24 of file AlignmentTwoBoyDecayTrackSelector.cc.
References abs, edm::ParameterSet::getParameter(), LogDebug, theAcoplanarDistance, theAcoplanarityFilterSwitch, theCharge, theChargeSwitch, theDaughterMass, theMassrangeSwitch, theMaxMass, theMinMass, theMissingETSource, theMissingETSwitch, and theUnsignedSwitch.
AlignmentTwoBodyDecayTrackSelector::~AlignmentTwoBodyDecayTrackSelector | ( | ) |
|
private |
checks if the [cands] are acoplanar (returns empty set if not)
Definition at line 171 of file AlignmentTwoBoyDecayTrackSelector.cc.
References Geom::deltaPhi(), LogDebug, M_PI, query::result, and theAcoplanarDistance.
Referenced by select().
|
private |
checks if the mother has charge = [theCharge]
Definition at line 155 of file AlignmentTwoBoyDecayTrackSelector.cc.
References abs, query::result, theCharge, and theUnsignedSwitch.
Referenced by select().
|
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 107 of file AlignmentTwoBoyDecayTrackSelector.cc.
References LogDebug, query::result, mathSSE::sqrt(), theDaughterMass, theMaxMass, and theMinMass.
Referenced by select().
|
private |
checks if [cands] contains a acoplanar track w.r.t missing ET (returns empty set if not)
Definition at line 184 of file AlignmentTwoBoyDecayTrackSelector.cc.
References Geom::deltaPhi(), edm::Event::getByLabel(), edm::HandleBase::isValid(), LogDebug, M_PI, query::result, theAcoplanarDistance, and theMissingETSource.
Referenced by select().
|
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 127 of file AlignmentTwoBoyDecayTrackSelector.cc.
References edm::Event::getByLabel(), edm::HandleBase::isValid(), LogDebug, CaloMET_cfi::met, query::result, mathSSE::sqrt(), theDaughterMass, theMaxMass, theMinMass, and theMissingETSource.
Referenced by select().
|
private |
print Information on Track-Collection
Definition at line 206 of file AlignmentTwoBoyDecayTrackSelector.cc.
References prof2calltree::count, and LogDebug.
AlignmentTwoBodyDecayTrackSelector::Tracks AlignmentTwoBodyDecayTrackSelector::select | ( | const Tracks & | tracks, |
const edm::Event & | iEvent | ||
) |
select tracks
Definition at line 80 of file AlignmentTwoBoyDecayTrackSelector.cc.
References checkAcoplanarity(), checkCharge(), checkMass(), checkMETAcoplanarity(), checkMETMass(), LogDebug, query::result, theAcoplanarityFilterSwitch, theChargeSwitch, theMassrangeSwitch, theMissingETSwitch, and testEve_cfg::tracks.
Referenced by python.Vispa.Views.LineDecayView.LineDecayContainer::createObject(), python.Vispa.Plugins.Browser.BrowserTabController.BrowserTabController::find(), python.Vispa.Views.LineDecayView.LineDecayContainer::mousePressEvent(), python.Vispa.Gui.PortConnection.PointToPointConnection::mousePressEvent(), python.Vispa.Gui.VispaWidget.VispaWidget::mousePressEvent(), python.Vispa.Views.AbstractView.AbstractView::restoreSelection(), and TrackConfigSelector::select().
bool AlignmentTwoBodyDecayTrackSelector::useThisFilter | ( | ) |
returns if any of the Filters is used.
Definition at line 72 of file AlignmentTwoBoyDecayTrackSelector.cc.
References theAcoplanarityFilterSwitch, theChargeSwitch, and theMassrangeSwitch.
Referenced by TrackConfigSelector::TrackConfigSelector().
|
private |
Definition at line 58 of file AlignmentTwoBodyDecayTrackSelector.h.
Referenced by AlignmentTwoBodyDecayTrackSelector(), checkAcoplanarity(), and checkMETAcoplanarity().
|
private |
Definition at line 47 of file AlignmentTwoBodyDecayTrackSelector.h.
Referenced by AlignmentTwoBodyDecayTrackSelector(), select(), and useThisFilter().
|
private |
Definition at line 53 of file AlignmentTwoBodyDecayTrackSelector.h.
Referenced by AlignmentTwoBodyDecayTrackSelector(), and checkCharge().
|
private |
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 |
private data members
Definition at line 44 of file AlignmentTwoBodyDecayTrackSelector.h.
Referenced by AlignmentTwoBodyDecayTrackSelector(), select(), and useThisFilter().
|
private |
Definition at line 50 of file AlignmentTwoBodyDecayTrackSelector.h.
Referenced by AlignmentTwoBodyDecayTrackSelector(), checkMass(), and checkMETMass().
|
private |
Definition at line 49 of file AlignmentTwoBodyDecayTrackSelector.h.
Referenced by AlignmentTwoBodyDecayTrackSelector(), checkMass(), and checkMETMass().
|
private |
Definition at line 56 of file AlignmentTwoBodyDecayTrackSelector.h.
Referenced by AlignmentTwoBodyDecayTrackSelector(), checkMETAcoplanarity(), and checkMETMass().
|
private |
Definition at line 46 of file AlignmentTwoBodyDecayTrackSelector.h.
Referenced by AlignmentTwoBodyDecayTrackSelector(), and select().
|
private |
Definition at line 54 of file AlignmentTwoBodyDecayTrackSelector.h.
Referenced by AlignmentTwoBodyDecayTrackSelector(), and checkCharge().