ATLAS Offline Software
CaloCellSelectorNearestdR.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 // CaloCellSelectorNearestdR.h, (c) ATLAS Detector software
8 #ifndef CALOCELLSELECTORLAYERDR_H
9 #define CALOCELLSELECTORLAYERDR_H
10 
12 
13 namespace Trk {
14  class CaloExtension;
15 
16  // Using dR from the nearest interpolation point as selection criteria
17  // the nearest interpolation point need not be at the same layer as the cell
18  // so the "missing calo cell at another layer" problem in the "classic" method
19  // is avoided.
20  // Slower as need to find nearest interpoaltion point for each calo cell
21 
23  public:
26 
27  bool preSelectAction(const Trk::CaloExtension& caloExtension);
28 
29  bool select(const CaloCell& cell) const; // select or reject the cell
30 
31  private:
33  double m_coneSize2;
34  };
35 
36 } // namespace Trk
37 
38 #endif
Trk::CaloCellSelectorNearestdR::~CaloCellSelectorNearestdR
~CaloCellSelectorNearestdR()
ReadCellNoiseFromCool.cell
cell
Definition: ReadCellNoiseFromCool.py:53
Trk::CaloExtension
Tracking class to hold the extrapolation from a particle from the ID to the muon system (or the other...
Definition: CaloExtension.h:18
Trk::CaloCellSelectorNearestdR::select
bool select(const CaloCell &cell) const
Method to determine if a cell is to be selected or not.
Definition: CaloCellSelectorNearestdR.cxx:26
Trk::CaloCellSelectorNearestdR::CaloCellSelectorNearestdR
CaloCellSelectorNearestdR(double coneSize)
Definition: CaloCellSelectorNearestdR.cxx:17
Trk::CaloCellSelectorNearestdR::m_coneSize2
double m_coneSize2
Definition: CaloCellSelectorNearestdR.h:33
Trk::ICaloCellSelector
abstract class that judge if a calo cell is to be included in a collection
Definition: Reconstruction/RecoTools/RecoToolInterfaces/RecoToolInterfaces/ICaloCellSelector.h:21
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition: FakeTrackBuilder.h:9
CaloCell
Data object for each calorimeter readout cell.
Definition: CaloCell.h:57
ICaloCellSelector.h
Trk::CaloCellSelectorNearestdR::m_caloExtension
const Trk::CaloExtension * m_caloExtension
Definition: CaloCellSelectorNearestdR.h:32
Trk::CaloCellSelectorNearestdR::preSelectAction
bool preSelectAction(const Trk::CaloExtension &caloExtension)
Initialize selector wtih CaloExtension, returns false if the selection cannot be performed for the gi...
Definition: CaloCellSelectorNearestdR.cxx:21
Trk::CaloCellSelectorNearestdR
Definition: CaloCellSelectorNearestdR.h:22
xAOD::Iso::coneSize
float coneSize(IsolationConeSize type)
convert Isolation Size into cone size
Definition: IsolationHelpers.h:27