ATLAS Offline Software
Loading...
Searching...
No Matches
CaloCellCollector.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef TRACKTOCALO_CALOCELLCOLLECTOR_H
6#define TRACKTOCALO_CALOCELLCOLLECTOR_H
7
8
9#include "CaloGeoHelpers/CaloSampling.h"
12//
13#include <vector>
14// forward declarations
15namespace Trk {
16class CaloExtension;
17}
19class CaloNoise;
21
22namespace Rec {
23
25{
26public:
35
37
39 const Trk::CaloExtension& extension,
40 const CaloDetDescrManager* caloMgr,
41 const CaloCellContainer& cellContainer,
42 xAOD::CaloClusterContainer& clusterContainer) const;
43
44 void collectEtCore(const xAOD::CaloCluster& cluster,
45 std::vector<float>& et_core,
46 const CaloNoise* caloNoise,
47 float sigmaNoiseCut = 3.4) const;
48
50 const std::vector<std::pair<float, float>>& dEtadPhiCore,
51 const std::vector<float>& dEtadPhiDRCore,
52 const std::vector<bool>& selectEtCoreByEtadPhi);
53
54private:
55 // parameters for overall cell collection
56 std::vector<std::pair<float, float>> m_dEtadPhi;
57 std::vector<CaloSampling::CaloSample> m_samples;
58 std::vector<CaloSampling::CaloSample> m_samplesForDR;
59 // parameters for overall EtCore energy collection
60 std::vector<std::pair<float, float>> m_dEtadPhiCore;
61 std::vector<float> m_dEtadPhiDRCore;
62 std::vector<bool> m_selectEtCoreByEtadPhi;
63};
64} // namespace Rec
65
66#endif
Container class for CaloCell.
This class provides the client interface for accessing the detector description information common to...
void collectEtCore(const xAOD::CaloCluster &cluster, std::vector< float > &et_core, const CaloNoise *caloNoise, float sigmaNoiseCut=3.4) const
std::vector< bool > m_selectEtCoreByEtadPhi
std::vector< std::pair< float, float > > m_dEtadPhi
void resetCoreParameters(const std::vector< std::pair< float, float > > &dEtadPhiCore, const std::vector< float > &dEtadPhiDRCore, const std::vector< bool > &selectEtCoreByEtadPhi)
std::vector< CaloSampling::CaloSample > m_samples
xAOD::CaloCluster * collectCells(const Trk::CaloExtension &extension, const CaloDetDescrManager *caloMgr, const CaloCellContainer &cellContainer, xAOD::CaloClusterContainer &clusterContainer) const
std::vector< CaloSampling::CaloSample > m_samplesForDR
std::vector< std::pair< float, float > > m_dEtadPhiCore
std::vector< float > m_dEtadPhiDRCore
Tracking class to hold the extrapolation through calorimeter Layers Both the caloEntryLayerIntersecti...
Gaudi Tools.
Ensure that the ATLAS eigen extensions are properly loaded.
CaloCluster_v1 CaloCluster
Define the latest version of the calorimeter cluster class.
CaloClusterContainer_v1 CaloClusterContainer
Define the latest version of the calorimeter cluster container.