ATLAS Offline Software
CaloCellSelectorRoughdR.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 // CaloCellSelectorRoughdR.h, (c) ATLAS Detector software
8 #ifndef CALOCELLSELECTORLAYERDR_H
9 #define CALOCELLSELECTORLAYERDR_H
10 
14 
15 namespace Trk {
16  // Rough method to select calo cells around track
17  // mean eta phi was found for all the calorimeter layer crossing points
18  // cells within dR+tolerance around the mean are selected
19  // tolerance is the max deviation of individual cross points from the mean
20  // Fast and easy, but not very valid when the track is highly curved
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:
32  double m_coneSize;
33  double m_midEta;
34  double m_midPhi;
35  double m_maxDiff;
36 
37  // TrackParametersIdHelper parsIdHelper;
39  };
40 
41 } // namespace Trk
42 
43 #endif
ReadCellNoiseFromCool.cell
cell
Definition: ReadCellNoiseFromCool.py:53
Trk::CaloCellSelectorRoughdR::preSelectAction
bool preSelectAction(const Trk::CaloExtension &caloExtension)
Initialize selector wtih CaloExtension, returns false if the selection cannot be performed for the gi...
Definition: CaloCellSelectorRoughdR.cxx:21
CaloExtensionHelpers.h
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::CaloCellSelectorRoughdR::m_crossPoints
CaloExtensionHelpers::EntryExitPerLayerVector m_crossPoints
Definition: CaloCellSelectorRoughdR.h:38
Trk::CaloCellSelectorRoughdR::m_coneSize
double m_coneSize
Definition: CaloCellSelectorRoughdR.h:32
Trk::CaloCellSelectorRoughdR::m_midPhi
double m_midPhi
Definition: CaloCellSelectorRoughdR.h:34
Trk::CaloCellSelectorRoughdR::m_midEta
double m_midEta
Definition: CaloCellSelectorRoughdR.h:33
TrackParametersIdHelper.h
Trk::CaloCellSelectorRoughdR
Definition: CaloCellSelectorRoughdR.h:22
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
CaloExtensionHelpers::EntryExitPerLayerVector
std::vector< std::tuple< CaloSampling::CaloSample, Amg::Vector3D, Amg::Vector3D > > EntryExitPerLayerVector
Definition: CaloExtensionHelpers.h:20
Trk::CaloCellSelectorRoughdR::CaloCellSelectorRoughdR
CaloCellSelectorRoughdR(double coneSize)
Definition: CaloCellSelectorRoughdR.cxx:17
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
Trk::CaloCellSelectorRoughdR::m_maxDiff
double m_maxDiff
Definition: CaloCellSelectorRoughdR.h:35
ICaloCellSelector.h
Trk::CaloCellSelectorRoughdR::select
bool select(const CaloCell &cell) const
Method to determine if a cell is to be selected or not.
Definition: CaloCellSelectorRoughdR.cxx:88
xAOD::Iso::coneSize
float coneSize(IsolationConeSize type)
convert Isolation Size into cone size
Definition: IsolationHelpers.h:27
Trk::CaloCellSelectorRoughdR::~CaloCellSelectorRoughdR
~CaloCellSelectorRoughdR()