ATLAS Offline Software
Loading...
Searching...
No Matches
TrigGepPerf/src/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
19public 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
33private:
34
36 this, "caloCells", "AllCalo", "key to read in a CaloCell constainer"};
37
38 const CaloCell_ID* m_calocell_id{nullptr};
39};
40#endif
Helper class for offline cell identifiers.
Definition CaloCell_ID.h:34
EMB1CellsFromCaloCells(const std::string &type, const std::string &name, const IInterface *parent)
SG::ReadHandleKey< CaloCellContainer > m_caloCellsKey
virtual StatusCode cells(std::vector< std::vector< const CaloCell * > > &, const EventContext &) const override
Property holding a SG store/key/clid from which a ReadHandle is made.