#include <CaloCellSelectorRoughdR.h>
Definition at line 22 of file CaloCellSelectorRoughdR.h.
◆ CaloCellSelectorRoughdR()
| Trk::CaloCellSelectorRoughdR::CaloCellSelectorRoughdR |
( |
double | coneSize | ) |
|
◆ ~CaloCellSelectorRoughdR()
| Trk::CaloCellSelectorRoughdR::~CaloCellSelectorRoughdR |
( |
| ) |
|
|
default |
◆ preSelectAction()
| bool Trk::CaloCellSelectorRoughdR::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 21 of file CaloCellSelectorRoughdR.cxx.
21 {
23
26
29 int code = std::get<0>(entry);
30 if (code < 0 || code >= 24) { continue; }
31 meanPos += std::get<1>(entry).unit();
32 }
33
36
37
40 int code = std::get<0>(entry);
41 if (code < 0 || code >= 24) { continue; }
45 }
49
50
51
52
53
54
55
57
58
59
60
61
62
63
64
65
66
67
68
70
71
72
73
74
75
76
77
78
79
80
82
83
84
85 return true;
86 }
CaloExtensionHelpers::EntryExitPerLayerVector m_crossPoints
const std::vector< CurvilinearParameters > & caloLayerIntersections() const
access to the intersections with the calorimeter layers.
Eigen::Matrix< double, 3, 1 > Vector3D
void entryExitPerLayerVector(const Trk::CaloExtension &extension, EntryExitPerLayerVector &result, const LayersToSelect *selection=nullptr)
double deltaR(double eta1, double eta2, double phi1, double phi2)
◆ 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::CaloCellSelectorRoughdR::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 88 of file CaloCellSelectorRoughdR.cxx.
88 {
89 const CaloDetDescrElement* dde =
cell.caloDDE();
90 if (!dde) return false;
92 }
float eta() const
cell eta
float phi() const
cell phi
double deltaR2(double eta1, double eta2, double phi1, double phi2)
◆ m_coneSize
| double Trk::CaloCellSelectorRoughdR::m_coneSize |
|
private |
◆ m_crossPoints
◆ m_maxDiff
| double Trk::CaloCellSelectorRoughdR::m_maxDiff |
|
private |
◆ m_midEta
| double Trk::CaloCellSelectorRoughdR::m_midEta |
|
private |
◆ m_midPhi
| double Trk::CaloCellSelectorRoughdR::m_midPhi |
|
private |
The documentation for this class was generated from the following files: