ATLAS Offline Software
EMB1CellsFromCaloClusters.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3 */
4 #ifndef TRIGGEPPERF_EMB1CELLSFROMCALOCLUSTERS_H
5 #define TRIGGEPPERF_EMB1CELLSFROMCALOCLUSTERS_H
6 
7 /* Obtain CaloCells for GEP pi0 searchs from a Cell Collection.
8  The method cells() returns a vector of vector of CaloCells.
9  There is one inner vector of EMB1 cells per CaloCluster
10  */
11 
12 #include "ICaloCellsProducer.h"
15 
17 public extends<AthAlgTool, ICaloCellsProducer> {
18 
19  public:
20 
21  EMB1CellsFromCaloClusters(const std::string& type,
22  const std::string& name,
23  const IInterface* parent);
24 
26 
27  virtual StatusCode initialize() override;
28  virtual StatusCode cells(std::vector<std::vector<const CaloCell*>>&,
29  const EventContext&) const override;
30 
31 private:
32 
34  this, "caloClusters", "CaloTopoClusters",
35  "key to read in a CaloCluster container"};
36 };
37 #endif
EMB1CellsFromCaloClusters::cells
virtual StatusCode cells(std::vector< std::vector< const CaloCell * >> &, const EventContext &) const override
Definition: EMB1CellsFromCaloClusters.cxx:21
EMB1CellsFromCaloClusters::~EMB1CellsFromCaloClusters
virtual ~EMB1CellsFromCaloClusters()
Definition: EMB1CellsFromCaloClusters.h:25
SG::ReadHandleKey< xAOD::CaloClusterContainer >
EMB1CellsFromCaloClusters::initialize
virtual StatusCode initialize() override
Definition: EMB1CellsFromCaloClusters.cxx:14
EMB1CellsFromCaloClusters
Definition: EMB1CellsFromCaloClusters.h:17
ICaloCellsProducer.h
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgTool.h
test_pyathena.parent
parent
Definition: test_pyathena.py:15
EMB1CellsFromCaloClusters::m_caloClustersKey
SG::ReadHandleKey< xAOD::CaloClusterContainer > m_caloClustersKey
Definition: EMB1CellsFromCaloClusters.h:33
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
CaloClusterContainer.h
EMB1CellsFromCaloClusters::EMB1CellsFromCaloClusters
EMB1CellsFromCaloClusters(const std::string &type, const std::string &name, const IInterface *parent)
Definition: EMB1CellsFromCaloClusters.cxx:8