ATLAS Offline Software
Loading...
Searching...
No Matches
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
15namespace 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:
24 CaloCellSelectorRoughdR(double coneSize);
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
Data object for each calorimeter readout cell.
Definition CaloCell.h:57
bool preSelectAction(const Trk::CaloExtension &caloExtension)
Initialize selector wtih CaloExtension, returns false if the selection cannot be performed for the gi...
CaloExtensionHelpers::EntryExitPerLayerVector m_crossPoints
bool select(const CaloCell &cell) const
Method to determine if a cell is to be selected or not.
Tracking class to hold the extrapolation through calorimeter Layers Both the caloEntryLayerIntersecti...
abstract class that judge if a calo cell is to be included in a collection
std::vector< std::tuple< CaloSampling::CaloSample, Amg::Vector3D, Amg::Vector3D > > EntryExitPerLayerVector
Ensure that the ATLAS eigen extensions are properly loaded.