ATLAS Offline Software
|
#include <AssocFilter.h>
Public Member Functions | |
AssocFilter () | |
Default constructor: More... | |
AssocFilter (const AssocFilter &rhs) | |
Copy constructor: More... | |
virtual | ~AssocFilter () |
Destructor: More... | |
AssocFilter & | operator= (const AssocFilter &rhs) |
Assignment operator: More... | |
virtual bool | isAccepted (const OBJ *object, const ASSO *associated) const |
Main filter method. More... | |
double | deltaPxMin () const |
Returns the minimum px required by the filter. More... | |
double | deltaPxMax () const |
Returns the maximum px required by the filter. More... | |
double | deltaPyMin () const |
Returns the minimum py required by the filter. More... | |
double | deltaPyMax () const |
Returns the maximum py required by the filter. More... | |
double | deltaPzMin () const |
Returns the minimum pz required by the filter. More... | |
double | deltaPzMax () const |
Returns the maximum pz required by the filter. More... | |
double | deltaEneMin () const |
Returns the minimum energy required by the filter. More... | |
double | deltaEneMax () const |
Returns the maximum energy required by the filter. More... | |
double | deltaEtaMin () const |
Returns the minimum eta required by the filter. More... | |
double | deltaEtaMax () const |
Returns the maximum eta required by the filter. More... | |
double | deltaPhiMin () const |
Returns the minimum phi required by the filter. More... | |
double | deltaPhiMax () const |
Returns the maximum phi required by the filter. More... | |
double | deltaMassMin () const |
Returns the minimum mass required by the filter. More... | |
double | deltaMassMax () const |
Returns the maximum mass required by the filter. More... | |
double | deltaPtMin () const |
Returns the minimum pt required by the filter. More... | |
double | deltaPtMax () const |
Returns the maximum pt required by the filter. More... | |
double | deltaRMin () const |
Returns the minimum deltaR required by the filter. More... | |
double | deltaRMax () const |
Returns the maximum deltaR required by the filter. More... | |
virtual void | reset () |
Reset the range cuts for the internal variables (px,py,...) After calling this method, the filter will accept any association. More... | |
virtual void | setFilter (const IFilterCuts *ifilter) |
Copies the IFilterCuts properties of the given object to the current IFilterCuts object (ie: it copies all the ranges in px,py,... More... | |
void | setDeltaPxMin (const double deltaPxMin) |
void | setDeltaPxMax (const double deltaPxMax) |
void | setDeltaPx (const double deltaPxMin, const double deltaPxMax) |
void | setDeltaPyMin (const double deltaPyMin) |
void | setDeltaPyMax (const double deltaPyMax) |
void | setDeltaPy (const double deltaPyMin, const double deltaPyMax) |
void | setDeltaPzMin (const double deltaPzMin) |
void | setDeltaPzMax (const double deltaPzMax) |
void | setDeltaPz (const double deltaPzMin, const double deltaPzMax) |
void | setDeltaEneMin (const double deltaEneMin) |
void | setDeltaEneMax (const double deltaEneMax) |
void | setDeltaEne (const double deltaEneMin, const double deltaEneMax) |
void | setDeltaEtaMin (const double deltaEtaMin) |
void | setDeltaEtaMax (const double deltaEtaMax) |
void | setDeltaEta (const double deltaEtaMin, const double deltaEtaMax) |
void | setDeltaPhiMin (const double deltaPhiMin) |
void | setDeltaPhiMax (const double deltaPhiMax) |
void | setDeltaPhi (const double deltaPhiMin, const double deltaPhiMax) |
void | setDeltaMassMin (const double massMin) |
void | setDeltaMassMax (const double massMax) |
void | setDeltaMass (const double deltaMassMin, const double deltaMassMax) |
void | setDeltaPtMin (const double deltaPtMin) |
void | setDeltaPtMax (const double deltaPtMax) |
void | setDeltaPt (const double deltaPtMin, const double deltaPtMax) |
void | setDeltaRMin (const double deltaRMin) |
void | setDeltaRMax (const double deltaRMax) |
void | setDeltaR (const double deltaRMin, const double deltaRMax) |
void | setDeltaThetaMin (const double deltaThetaMin) |
void | setDeltaThetaMax (const double deltaThetaMax) |
void | setDeltaTheta (const double deltaThetaMin, const double deltaThetaMax) |
void | setDeltaCosThetaMin (const double deltaCosThetaMin) |
void | setDeltaCosThetaMax (const double deltaCosThetaMax) |
void | setDeltaCosTheta (const double deltaCosThetaMin, const double deltaCosThetaMax) |
Protected Attributes | |
FilterRange | m_deltaPx |
Required range in px (min/max) More... | |
FilterRange | m_deltaPy |
Required range in py (min/max) More... | |
FilterRange | m_deltaPz |
Required range in pz (min/max) More... | |
FilterRange | m_deltaEne |
Required range in energy (min/max) More... | |
FilterRange | m_deltaEta |
Required range in eta (min/max) More... | |
PhiFilterRange | m_deltaPhi |
Required range in phi (min/max) More... | |
FilterRange | m_deltaMass |
Required range in mass (min/max) More... | |
FilterRange | m_deltaPt |
Required range in pt (min/max) More... | |
FilterRange | m_deltaR |
Required range in deltaR (min/max) More... | |
FilterRange | m_deltaTheta |
Required range in theta (min/max) More... | |
FilterRange | m_deltaCosTheta |
Required range in cos(theta) (min/max) More... | |
(templated) class to filter a collection of T. One can construct a filter to associate 2 instances of T based on topological requirements. One can require associations in px, py, pz, energy, eta, phi, mass, pt, deltaR and cosTheta and specify min and max values for each of these variables. Hence, the templated class must have the same interface than IParticle !
Definition at line 44 of file AssocFilter.h.
AssocFilter< OBJ, ASSO >::AssocFilter |
AssocFilter< OBJ, ASSO >::AssocFilter | ( | const AssocFilter< OBJ, ASSO > & | rhs | ) |
|
virtual |
double AssocFilter< OBJ, ASSO >::deltaEneMax |
Returns the maximum energy required by the filter.
Definition at line 443 of file AssocFilter.h.
double AssocFilter< OBJ, ASSO >::deltaEneMin |
Returns the minimum energy required by the filter.
Definition at line 437 of file AssocFilter.h.
double AssocFilter< OBJ, ASSO >::deltaEtaMax |
Returns the maximum eta required by the filter.
Definition at line 455 of file AssocFilter.h.
double AssocFilter< OBJ, ASSO >::deltaEtaMin |
Returns the minimum eta required by the filter.
Definition at line 449 of file AssocFilter.h.
double AssocFilter< OBJ, ASSO >::deltaMassMax |
Returns the maximum mass required by the filter.
Definition at line 479 of file AssocFilter.h.
double AssocFilter< OBJ, ASSO >::deltaMassMin |
Returns the minimum mass required by the filter.
Definition at line 473 of file AssocFilter.h.
double AssocFilter< OBJ, ASSO >::deltaPhiMax |
Returns the maximum phi required by the filter.
Definition at line 467 of file AssocFilter.h.
double AssocFilter< OBJ, ASSO >::deltaPhiMin |
Returns the minimum phi required by the filter.
Definition at line 461 of file AssocFilter.h.
double AssocFilter< OBJ, ASSO >::deltaPtMax |
Returns the maximum pt required by the filter.
Definition at line 491 of file AssocFilter.h.
double AssocFilter< OBJ, ASSO >::deltaPtMin |
Returns the minimum pt required by the filter.
Definition at line 485 of file AssocFilter.h.
double AssocFilter< OBJ, ASSO >::deltaPxMax |
Returns the maximum px required by the filter.
Definition at line 407 of file AssocFilter.h.
double AssocFilter< OBJ, ASSO >::deltaPxMin |
Returns the minimum px required by the filter.
Definition at line 401 of file AssocFilter.h.
double AssocFilter< OBJ, ASSO >::deltaPyMax |
Returns the maximum py required by the filter.
Definition at line 419 of file AssocFilter.h.
double AssocFilter< OBJ, ASSO >::deltaPyMin |
Returns the minimum py required by the filter.
Definition at line 413 of file AssocFilter.h.
double AssocFilter< OBJ, ASSO >::deltaPzMax |
Returns the maximum pz required by the filter.
Definition at line 431 of file AssocFilter.h.
double AssocFilter< OBJ, ASSO >::deltaPzMin |
Returns the minimum pz required by the filter.
Definition at line 425 of file AssocFilter.h.
double AssocFilter< OBJ, ASSO >::deltaRMax |
Returns the maximum deltaR required by the filter.
Definition at line 503 of file AssocFilter.h.
double AssocFilter< OBJ, ASSO >::deltaRMin |
Returns the minimum deltaR required by the filter.
Definition at line 497 of file AssocFilter.h.
|
virtual |
Main filter method.
This method takes the decision whether or not the filter has to accept the association between both objects. It returns true or false accordingly.
Implements IAssocFilter< OBJ, ASSO >.
Definition at line 335 of file AssocFilter.h.
AssocFilter< OBJ, ASSO > & AssocFilter< OBJ, ASSO >::operator= | ( | const AssocFilter< OBJ, ASSO > & | rhs | ) |
|
virtual |
Reset the range cuts for the internal variables (px,py,...) After calling this method, the filter will accept any association.
Implements IAssocFilter< OBJ, ASSO >.
Definition at line 512 of file AssocFilter.h.
void AssocFilter< OBJ, ASSO >::setDeltaCosTheta | ( | const double | deltaCosThetaMin, |
const double | deltaCosThetaMax | ||
) |
Definition at line 760 of file AssocFilter.h.
void AssocFilter< OBJ, ASSO >::setDeltaCosThetaMax | ( | const double | deltaCosThetaMax | ) |
Definition at line 754 of file AssocFilter.h.
void AssocFilter< OBJ, ASSO >::setDeltaCosThetaMin | ( | const double | deltaCosThetaMin | ) |
Definition at line 748 of file AssocFilter.h.
void AssocFilter< OBJ, ASSO >::setDeltaEne | ( | const double | deltaEneMin, |
const double | deltaEneMax | ||
) |
Definition at line 627 of file AssocFilter.h.
void AssocFilter< OBJ, ASSO >::setDeltaEneMax | ( | const double | deltaEneMax | ) |
Definition at line 621 of file AssocFilter.h.
void AssocFilter< OBJ, ASSO >::setDeltaEneMin | ( | const double | deltaEneMin | ) |
Definition at line 615 of file AssocFilter.h.
void AssocFilter< OBJ, ASSO >::setDeltaEta | ( | const double | deltaEtaMin, |
const double | deltaEtaMax | ||
) |
Definition at line 646 of file AssocFilter.h.
void AssocFilter< OBJ, ASSO >::setDeltaEtaMax | ( | const double | deltaEtaMax | ) |
Definition at line 640 of file AssocFilter.h.
void AssocFilter< OBJ, ASSO >::setDeltaEtaMin | ( | const double | deltaEtaMin | ) |
Definition at line 634 of file AssocFilter.h.
void AssocFilter< OBJ, ASSO >::setDeltaMass | ( | const double | deltaMassMin, |
const double | deltaMassMax | ||
) |
Definition at line 684 of file AssocFilter.h.
void AssocFilter< OBJ, ASSO >::setDeltaMassMax | ( | const double | massMax | ) |
Definition at line 678 of file AssocFilter.h.
void AssocFilter< OBJ, ASSO >::setDeltaMassMin | ( | const double | massMin | ) |
Definition at line 672 of file AssocFilter.h.
void AssocFilter< OBJ, ASSO >::setDeltaPhi | ( | const double | deltaPhiMin, |
const double | deltaPhiMax | ||
) |
Definition at line 665 of file AssocFilter.h.
void AssocFilter< OBJ, ASSO >::setDeltaPhiMax | ( | const double | deltaPhiMax | ) |
Definition at line 659 of file AssocFilter.h.
void AssocFilter< OBJ, ASSO >::setDeltaPhiMin | ( | const double | deltaPhiMin | ) |
Definition at line 653 of file AssocFilter.h.
void AssocFilter< OBJ, ASSO >::setDeltaPt | ( | const double | deltaPtMin, |
const double | deltaPtMax | ||
) |
Definition at line 703 of file AssocFilter.h.
void AssocFilter< OBJ, ASSO >::setDeltaPtMax | ( | const double | deltaPtMax | ) |
Definition at line 697 of file AssocFilter.h.
void AssocFilter< OBJ, ASSO >::setDeltaPtMin | ( | const double | deltaPtMin | ) |
Definition at line 691 of file AssocFilter.h.
void AssocFilter< OBJ, ASSO >::setDeltaPx | ( | const double | deltaPxMin, |
const double | deltaPxMax | ||
) |
Definition at line 569 of file AssocFilter.h.
void AssocFilter< OBJ, ASSO >::setDeltaPxMax | ( | const double | deltaPxMax | ) |
Definition at line 563 of file AssocFilter.h.
void AssocFilter< OBJ, ASSO >::setDeltaPxMin | ( | const double | deltaPxMin | ) |
Definition at line 557 of file AssocFilter.h.
void AssocFilter< OBJ, ASSO >::setDeltaPy | ( | const double | deltaPyMin, |
const double | deltaPyMax | ||
) |
Definition at line 588 of file AssocFilter.h.
void AssocFilter< OBJ, ASSO >::setDeltaPyMax | ( | const double | deltaPyMax | ) |
Definition at line 582 of file AssocFilter.h.
void AssocFilter< OBJ, ASSO >::setDeltaPyMin | ( | const double | deltaPyMin | ) |
Definition at line 576 of file AssocFilter.h.
void AssocFilter< OBJ, ASSO >::setDeltaPz | ( | const double | deltaPzMin, |
const double | deltaPzMax | ||
) |
Definition at line 607 of file AssocFilter.h.
void AssocFilter< OBJ, ASSO >::setDeltaPzMax | ( | const double | deltaPzMax | ) |
Definition at line 601 of file AssocFilter.h.
void AssocFilter< OBJ, ASSO >::setDeltaPzMin | ( | const double | deltaPzMin | ) |
Definition at line 595 of file AssocFilter.h.
void AssocFilter< OBJ, ASSO >::setDeltaR | ( | const double | deltaRMin, |
const double | deltaRMax | ||
) |
void AssocFilter< OBJ, ASSO >::setDeltaRMax | ( | const double | deltaRMax | ) |
Definition at line 716 of file AssocFilter.h.
void AssocFilter< OBJ, ASSO >::setDeltaRMin | ( | const double | deltaRMin | ) |
Definition at line 710 of file AssocFilter.h.
void AssocFilter< OBJ, ASSO >::setDeltaTheta | ( | const double | deltaThetaMin, |
const double | deltaThetaMax | ||
) |
Definition at line 741 of file AssocFilter.h.
void AssocFilter< OBJ, ASSO >::setDeltaThetaMax | ( | const double | deltaThetaMax | ) |
Definition at line 735 of file AssocFilter.h.
void AssocFilter< OBJ, ASSO >::setDeltaThetaMin | ( | const double | deltaThetaMin | ) |
Definition at line 729 of file AssocFilter.h.
|
virtual |
Copies the IFilterCuts properties of the given object to the current IFilterCuts object (ie: it copies all the ranges in px,py,...
to the current object)
Implements IFilterCuts.
Definition at line 528 of file AssocFilter.h.
|
protected |
Required range in cos(theta) (min/max)
Definition at line 263 of file AssocFilter.h.
|
protected |
Required range in energy (min/max)
Definition at line 235 of file AssocFilter.h.
|
protected |
Required range in eta (min/max)
Definition at line 239 of file AssocFilter.h.
|
protected |
Required range in mass (min/max)
Definition at line 247 of file AssocFilter.h.
|
protected |
Required range in phi (min/max)
Definition at line 243 of file AssocFilter.h.
|
protected |
Required range in pt (min/max)
Definition at line 251 of file AssocFilter.h.
|
protected |
Required range in px (min/max)
Definition at line 223 of file AssocFilter.h.
|
protected |
Required range in py (min/max)
Definition at line 227 of file AssocFilter.h.
|
protected |
Required range in pz (min/max)
Definition at line 231 of file AssocFilter.h.
|
protected |
Required range in deltaR (min/max)
Definition at line 255 of file AssocFilter.h.
|
protected |
Required range in theta (min/max)
Definition at line 259 of file AssocFilter.h.