ATLAS Offline Software
EMB1CellsFromCaloCells.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_EMB1CELLSFROMCALOCELLS_H
5 #define TRIGGEPPERF_EMB1CELLSFROMCALOCELLS_H
6 
7 
8 /* Obtain CaloCells from the EMB1 sampling layer of the LArEM
9  calorimeter for GEP pi0 searchs.
10  The method cells() returns a vector of vector of CaloCells.
11  There is one inner vector, which contains all the cells of interest.
12  */
13 
14 #include "ICaloCellsProducer.h"
17 
19 public extends<AthAlgTool, ICaloCellsProducer> {
20 
21  public:
22 
23  EMB1CellsFromCaloCells(const std::string& type,
24  const std::string& name,
25  const IInterface* parent);
26 
28 
29  virtual StatusCode initialize() override;
30  virtual StatusCode cells(std::vector<std::vector<const CaloCell*>>&,
31  const EventContext&) const override;
32 
33 private:
34 
36  this, "caloCells", "AllCalo", "key to read in a CaloCell constainer"};
37 
38  const CaloCell_ID* m_calocell_id{nullptr};
39 };
40 #endif
EMB1CellsFromCaloCells
Definition: EMB1CellsFromCaloCells.h:19
EMB1CellsFromCaloCells::m_caloCellsKey
SG::ReadHandleKey< CaloCellContainer > m_caloCellsKey
Definition: EMB1CellsFromCaloCells.h:35
SG::ReadHandleKey< CaloCellContainer >
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
CaloCell_ID
Helper class for offline cell identifiers.
Definition: CaloCell_ID.h:34
EMB1CellsFromCaloCells::cells
virtual StatusCode cells(std::vector< std::vector< const CaloCell * >> &, const EventContext &) const override
Definition: EMB1CellsFromCaloCells.cxx:21
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
EMB1CellsFromCaloCells::EMB1CellsFromCaloCells
EMB1CellsFromCaloCells(const std::string &type, const std::string &name, const IInterface *parent)
Definition: EMB1CellsFromCaloCells.cxx:7
EMB1CellsFromCaloCells::m_calocell_id
const CaloCell_ID * m_calocell_id
Definition: EMB1CellsFromCaloCells.h:38
CaloCellContainer.h
EMB1CellsFromCaloCells::~EMB1CellsFromCaloCells
virtual ~EMB1CellsFromCaloCells()
Definition: EMB1CellsFromCaloCells.h:27
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
EMB1CellsFromCaloCells::initialize
virtual StatusCode initialize() override
Definition: EMB1CellsFromCaloCells.cxx:13