ATLAS Offline Software
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
15 namespace Trk {
16 class CaloExtension;
17 }
18 class CaloCellContainer;
19 class CaloNoise;
21 
22 namespace Rec {
23 
25 {
26 public:
27  enum CoreEt
28  {
33  N_ET_Core
34  };
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 
54 private:
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
Rec::CaloCellCollector::ET_EMCore
@ ET_EMCore
Definition: CaloCellCollector.h:30
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
Rec::CaloCellCollector::m_samples
std::vector< CaloSampling::CaloSample > m_samples
Definition: CaloCellCollector.h:57
Rec::CaloCellCollector::m_samplesForDR
std::vector< CaloSampling::CaloSample > m_samplesForDR
Definition: CaloCellCollector.h:58
Rec::CaloCellCollector::collectCells
xAOD::CaloCluster * collectCells(const Trk::CaloExtension &extension, const CaloDetDescrManager *caloMgr, const CaloCellContainer &cellContainer, xAOD::CaloClusterContainer &clusterContainer) const
Definition: CaloCellCollector.cxx:151
Rec::CaloCellCollector
Definition: CaloCellCollector.h:25
xAOD::CaloCluster_v1
Description of a calorimeter cluster.
Definition: CaloCluster_v1.h:59
CaloCluster.h
Rec
Name: MuonSpContainer.h Package : offline/Reconstruction/MuonIdentification/muonEvent.
Definition: FakeTrackBuilder.h:10
Rec::CaloCellCollector::ET_Core
@ ET_Core
Definition: CaloCellCollector.h:29
Rec::CaloCellCollector::CoreEt
CoreEt
Definition: CaloCellCollector.h:28
DataVector
Derived DataVector<T>.
Definition: DataVector.h:794
Rec::CaloCellCollector::collectEtCore
void collectEtCore(const xAOD::CaloCluster &cluster, std::vector< float > &et_core, const CaloNoise *caloNoise, float sigmaNoiseCut=3.4) const
Definition: CaloCellCollector.cxx:259
Rec::CaloCellCollector::CaloCellCollector
CaloCellCollector()
Definition: CaloCellCollector.cxx:20
CaloNoise
Definition: CaloNoise.h:16
Rec::CaloCellCollector::m_dEtadPhiCore
std::vector< std::pair< float, float > > m_dEtadPhiCore
Definition: CaloCellCollector.h:60
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition: FakeTrackBuilder.h:9
Rec::CaloCellCollector::N_ET_Core
@ N_ET_Core
Definition: CaloCellCollector.h:33
Rec::CaloCellCollector::m_dEtadPhi
std::vector< std::pair< float, float > > m_dEtadPhi
Definition: CaloCellCollector.h:56
Rec::CaloCellCollector::ET_HECCore
@ ET_HECCore
Definition: CaloCellCollector.h:32
CaloCellContainer
Container class for CaloCell.
Definition: CaloCellContainer.h:55
CaloDetDescrManager
This class provides the client interface for accessing the detector description information common to...
Definition: CaloDetDescrManager.h:473
CaloClusterContainer.h
Rec::CaloCellCollector::ET_TileCore
@ ET_TileCore
Definition: CaloCellCollector.h:31
Rec::CaloCellCollector::m_dEtadPhiDRCore
std::vector< float > m_dEtadPhiDRCore
Definition: CaloCellCollector.h:61
Rec::CaloCellCollector::m_selectEtCoreByEtadPhi
std::vector< bool > m_selectEtCoreByEtadPhi
Definition: CaloCellCollector.h:62
Rec::CaloCellCollector::resetCoreParameters
void resetCoreParameters(const std::vector< std::pair< float, float >> &dEtadPhiCore, const std::vector< float > &dEtadPhiDRCore, const std::vector< bool > &selectEtCoreByEtadPhi)
Definition: CaloCellCollector.cxx:140