ATLAS Offline Software
Public Member Functions | List of all members
Trk::ICaloCellSelector Class Referenceabstract

abstract class that judge if a calo cell is to be included in a collection More...

#include <ICaloCellSelector.h>

Inheritance diagram for Trk::ICaloCellSelector:
Collaboration diagram for Trk::ICaloCellSelector:

Public Member Functions

virtual ~ICaloCellSelector ()
 virtual destructor More...
 
virtual bool select (const CaloCell &cell) const =0
 Method to determine if a cell is to be selected or not. More...
 
virtual bool preSelectAction (const Trk::CaloExtension &caloExtension)
 Initialize selector wtih CaloExtension, returns false if the selection cannot be performed for the given input. More...
 
virtual bool preSelectActionCells (const Rec::ParticleCellAssociation &cellAssociation)
 Initialize selector wtih ParticleCellAssociation, returns false if the selection cannot be performed for the given input
More...
 

Detailed Description

abstract class that judge if a calo cell is to be included in a collection

Definition at line 21 of file Reconstruction/RecoTools/RecoToolInterfaces/RecoToolInterfaces/ICaloCellSelector.h.

Constructor & Destructor Documentation

◆ ~ICaloCellSelector()

virtual Trk::ICaloCellSelector::~ICaloCellSelector ( )
inlinevirtual

virtual destructor

Definition at line 24 of file Reconstruction/RecoTools/RecoToolInterfaces/RecoToolInterfaces/ICaloCellSelector.h.

24 {}

Member Function Documentation

◆ preSelectAction()

bool ICaloCellSelector::preSelectAction ( const Trk::CaloExtension caloExtension)
inlinevirtual

Initialize selector wtih CaloExtension, returns false if the selection cannot be performed for the given input.

Reimplemented in Trk::CaloCellSelectorLayerdR, Trk::CaloCellSelectorMinPerp, Trk::CaloCellSelectorNearestdR, and Trk::CaloCellSelectorRoughdR.

Definition at line 40 of file Reconstruction/RecoTools/RecoToolInterfaces/RecoToolInterfaces/ICaloCellSelector.h.

40  {
41  return true;
42  }

◆ preSelectActionCells()

bool ICaloCellSelector::preSelectActionCells ( const Rec::ParticleCellAssociation cellAssociation)
inlinevirtual

Initialize selector wtih ParticleCellAssociation, returns false if the selection cannot be performed for the given input

Definition at line 44 of file Reconstruction/RecoTools/RecoToolInterfaces/RecoToolInterfaces/ICaloCellSelector.h.

44  {
45  return preSelectAction(cellAssociation.caloExtension());
46  }

◆ select()

virtual bool Trk::ICaloCellSelector::select ( const CaloCell cell) const
pure virtual

Method to determine if a cell is to be selected or not.

Parameters
CaloCell
Returns
bool

Implemented in Trk::CaloCellSelectorLayerdR, Trk::CaloCellSelectorMinPerp, Trk::CaloCellSelectorNearestdR, and Trk::CaloCellSelectorRoughdR.


The documentation for this class was generated from the following file:
Rec::ParticleCaloAssociation::caloExtension
const Trk::CaloExtension & caloExtension() const
return calo extension
Definition: ParticleCaloAssociation.h:73
Trk::ICaloCellSelector::preSelectAction
virtual bool preSelectAction(const Trk::CaloExtension &caloExtension)
Initialize selector wtih CaloExtension, returns false if the selection cannot be performed for the gi...
Definition: Reconstruction/RecoTools/RecoToolInterfaces/RecoToolInterfaces/ICaloCellSelector.h:40