ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Reconstruction
RecoTools
TrackToCalo
TrackToCalo
CaloCellSelectorMinPerp.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
// CaloCellSelectorMinPerp.h, (c) ATLAS Detector software
8
#ifndef CALOCELLSELECTORLAYERDR_H
9
#define CALOCELLSELECTORLAYERDR_H
10
11
#include "
GeoPrimitives/GeoPrimitives.h
"
12
#include "
RecoToolInterfaces/ICaloCellSelector.h
"
13
14
namespace
Trk
{
15
16
// Using min perperdicular distance from the nearest interpolated track segment 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
22
class
CaloCellSelectorMinPerp
:
public
ICaloCellSelector
{
23
public
:
24
CaloCellSelectorMinPerp
(
double
coneSize);
25
~CaloCellSelectorMinPerp
() =
default
;
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
const
Trk::CaloExtension
*
m_caloExtension
;
33
double
m_coneSize
;
34
Amg::Vector3D
m_meanPos
;
35
double
m_perp2cut
;
36
};
37
}
// namespace Trk
38
39
#endif
GeoPrimitives.h
ICaloCellSelector.h
CaloCell
Data object for each calorimeter readout cell.
Definition
CaloCell.h:57
Trk::CaloCellSelectorMinPerp::~CaloCellSelectorMinPerp
~CaloCellSelectorMinPerp()=default
Trk::CaloCellSelectorMinPerp::CaloCellSelectorMinPerp
CaloCellSelectorMinPerp(double coneSize)
Definition
CaloCellSelectorMinPerp.cxx:17
Trk::CaloCellSelectorMinPerp::m_perp2cut
double m_perp2cut
Definition
CaloCellSelectorMinPerp.h:35
Trk::CaloCellSelectorMinPerp::m_coneSize
double m_coneSize
Definition
CaloCellSelectorMinPerp.h:33
Trk::CaloCellSelectorMinPerp::m_meanPos
Amg::Vector3D m_meanPos
Definition
CaloCellSelectorMinPerp.h:34
Trk::CaloCellSelectorMinPerp::m_caloExtension
const Trk::CaloExtension * m_caloExtension
Definition
CaloCellSelectorMinPerp.h:32
Trk::CaloCellSelectorMinPerp::select
bool select(const CaloCell &cell) const
Method to determine if a cell is to be selected or not.
Definition
CaloCellSelectorMinPerp.cxx:42
Trk::CaloCellSelectorMinPerp::preSelectAction
bool preSelectAction(const Trk::CaloExtension &caloExtension)
Initialize selector wtih CaloExtension, returns false if the selection cannot be performed for the gi...
Definition
CaloCellSelectorMinPerp.cxx:19
Trk::CaloExtension
Tracking class to hold the extrapolation through calorimeter Layers Both the caloEntryLayerIntersecti...
Definition
TrkEvent/TrkCaloExtension/TrkCaloExtension/CaloExtension.h:19
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
Amg::Vector3D
Eigen::Matrix< double, 3, 1 > Vector3D
Definition
GeoPrimitives.h:47
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition
FakeTrackBuilder.h:9
Generated on
for ATLAS Offline Software by
1.17.0