#include <CaloCellSelectorNearestdR.h>
Definition at line 22 of file CaloCellSelectorNearestdR.h.
◆ CaloCellSelectorNearestdR()
| Trk::CaloCellSelectorNearestdR::CaloCellSelectorNearestdR |
( |
double | coneSize | ) |
|
◆ ~CaloCellSelectorNearestdR()
| Trk::CaloCellSelectorNearestdR::~CaloCellSelectorNearestdR |
( |
| ) |
|
|
default |
◆ preSelectAction()
| bool Trk::CaloCellSelectorNearestdR::preSelectAction |
( |
const Trk::CaloExtension & | caloExtension | ) |
|
|
virtual |
◆ preSelectActionCells()
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 {
46 }
const Trk::CaloExtension & caloExtension() const
return calo extension
virtual bool preSelectAction(const Trk::CaloExtension &caloExtension)
Initialize selector wtih CaloExtension, returns false if the selection cannot be performed for the gi...
◆ select()
| bool Trk::CaloCellSelectorNearestdR::select |
( |
const CaloCell & | cell | ) |
const |
|
virtual |
Method to determine if a cell is to be selected or not.
- Parameters
-
- Returns
- bool
Implements Trk::ICaloCellSelector.
Definition at line 26 of file CaloCellSelectorNearestdR.cxx.
26 {
28
29 const CaloDetDescrElement* dde =
cell.caloDDE();
30 if (!dde) return false;
31
33
34 int nearestIdx;
37
39 }
float eta() const
cell eta
float phi() const
cell phi
Eigen::Matrix< double, 3, 1 > Vector3D
double deltaR2(double eta1, double eta2, double phi1, double phi2)
void findNearestPoint(const Amg::Vector3D &inputPos, const Trk::CaloExtension *caloExtension, int &nearestIdx, Amg::Vector3D &nearestPos, Amg::Vector3D &nearestMom)
◆ m_caloExtension
◆ m_coneSize2
| double Trk::CaloCellSelectorNearestdR::m_coneSize2 |
|
private |
The documentation for this class was generated from the following files: