#include <CaloCellSelectorLayerdR.h>
Definition at line 26 of file CaloCellSelectorLayerdR.h.
◆ CaloCellSelectorLayerdR()
| Trk::CaloCellSelectorLayerdR::CaloCellSelectorLayerdR |
( |
double | coneSize | ) |
|
◆ ~CaloCellSelectorLayerdR()
| Trk::CaloCellSelectorLayerdR::~CaloCellSelectorLayerdR |
( |
| ) |
|
|
default |
◆ preSelectAction() [1/2]
| bool Trk::CaloCellSelectorLayerdR::preSelectAction |
( |
const Trk::CaloExtension & | caloExtension | ) |
|
|
virtual |
Initialize selector wtih CaloExtension, returns false if the selection cannot be performed for the given input.
Reimplemented from Trk::ICaloCellSelector.
Definition at line 20 of file CaloCellSelectorLayerdR.cxx.
20 {
23 return true;
24 }
CaloExtensionHelpers::EtaPhiHashLookupVector m_midPoints
const std::vector< CurvilinearParameters > & caloLayerIntersections() const
access to the intersections with the calorimeter layers.
void midPointEtaPhiHashLookupVector(const Trk::CaloExtension &extension, EtaPhiHashLookupVector &result)
◆ preSelectAction() [2/2]
| bool Trk::CaloCellSelectorLayerdR::preSelectAction |
( |
const xAOD::CaloCluster & | caloCluster | ) |
|
Definition at line 26 of file CaloCellSelectorLayerdR.cxx.
26 {
29 for (
unsigned int i = 0;
i < CaloSampling::Unknown;
i++) {
33 else
35 }
36 return true;
37 }
static constexpr unsigned int getNumberOfSamplings()
Get number of available samplings.
float phiSample(const CaloSample sampling) const
Retrieve barycenter in a given sample.
float etaSample(const CaloSample sampling) const
Retrieve barycenter in a given sample.
bool hasSampling(const CaloSample s) const
Checks if certain smapling contributes to cluster.
◆ 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::CaloCellSelectorLayerdR::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 39 of file CaloCellSelectorLayerdR.cxx.
39 {
40
41 const CaloDetDescrElement* dde =
cell.caloDDE();
42 if (!dde) return false;
43
45 if (!std::get<0>(
m_midPoints[samplingID]))
return false;
48 }
CaloCell_ID::CaloSample getSampling() const
cell sampling
float eta() const
cell eta
float phi() const
cell phi
double deltaR2(double eta1, double eta2, double phi1, double phi2)
◆ setConeSize()
| void Trk::CaloCellSelectorLayerdR::setConeSize |
( |
double | coneSize | ) |
|
|
inline |
◆ m_coneSize2
| double Trk::CaloCellSelectorLayerdR::m_coneSize2 |
|
private |
◆ m_midPoints
The documentation for this class was generated from the following files: