Class CellValidation


class CellValidation

Object used to apply comparative kinematic acceptance cuts to entities honouring the ICellWrapper interface. 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
CellValidation(Atlfast::ICellWrapper * ref, double maxEtaDiff, double maxPhiDiff, double maxPtDiff)
          Constructor takes an ICellWrapper reference object pointer and dEta, dPhi and dPT boundaries.
CellValidation(Atlfast::ICellWrapper & ref, double maxEtaDiff, double maxPhiDiff, double maxPtDiff)
          Constructor takes 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

CellValidation

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

CellValidation

public CellValidation(Atlfast::ICellWrapper & ref, double maxEtaDiff, double maxPhiDiff, double maxPtDiff)
Constructor takes 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