Class MatchParticle


class MatchParticle

Used to find a particle within an entity obeying the ICellWrapper interface which passes comparative kinematic cuts. The kinematic attributes are delta Eta, delta Phi and delta pT.


Field Summary
 private doublem_maxEtaDiff
          Cut boundary
 private doublem_maxPhiDiff
          Cut boundary
 private doublem_maxPtDiff
          Cut boundary
 private Atlfast::ICellWrapper *m_ref
          Reference ICellWrapper pointer

Constructor Summary
MatchParticle(Atlfast::ICellWrapper * ref, double maxEtaDiff, double maxPhiDiff, double maxPtDiff)
          Constructor taking an ICellWrapper reference object pointer and dEta, dPhi and dPT boundaries.
MatchParticle(Atlfast::ICellWrapper & ref, double maxEtaDiff, double maxPhiDiff, double maxPtDiff)
          Constructor taking an ICellWrapper reference object and dEta, dPhi and dPT boundaries.

Method Summary
 const booloperator()(const Atlfast::ICellWrapper * a)
          Returns true if ICellWrapper passes cuts
 const booloperator()(const Atlfast::ICellWrapper & a)
          Returns true if ICellWrapper passes cuts
 const booloperator()(const Atlfast::ICellWrapper * * a)
          Returns true if ICellWrapper passes cuts

Field Detail

m_maxEtaDiff

private double m_maxEtaDiff
Cut boundary

m_maxPhiDiff

private double m_maxPhiDiff
Cut boundary

m_maxPtDiff

private double m_maxPtDiff
Cut boundary

m_ref

private Atlfast::ICellWrapper * m_ref
Reference ICellWrapper pointer
Constructor Detail

MatchParticle

public MatchParticle(Atlfast::ICellWrapper * ref, double maxEtaDiff, double maxPhiDiff, double maxPtDiff)
Constructor taking an ICellWrapper reference object pointer and dEta, dPhi and dPT boundaries.

MatchParticle

public MatchParticle(Atlfast::ICellWrapper & ref, double maxEtaDiff, double maxPhiDiff, double maxPtDiff)
Constructor taking an ICellWrapper reference object and dEta, dPhi and dPT boundaries.
Method Detail

operator()

public const bool operator()(const Atlfast::ICellWrapper * a)
Returns true if ICellWrapper passes cuts

operator()

public const bool operator()(const Atlfast::ICellWrapper & a)
Returns true if ICellWrapper passes cuts

operator()

public const bool operator()(const Atlfast::ICellWrapper * * a)
Returns true if ICellWrapper passes cuts

Association Links

to Class Atlfast::ICellWrapper

Reference ICellWrapper pointer