ATLAS Offline Software
egammaMaxECellAlg.h
Go to the documentation of this file.
1 // This file's extension implies that it's C, but it's really -*- C++ -*-.
2 
3 /*
4  Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
5 */
6 
7 // $Id: egammaMaxECellAlg.h 604352 2014-07-01 04:52:11Z ssnyder $
16 #ifndef EGAMMAD3PDANALYSIS_EGAMMAMAXECELLALG_H
17 #define EGAMMAD3PDANALYSIS_EGAMMAMAXECELLALG_H
18 
19 
21 #include "GaudiKernel/ToolHandle.h"
24 
25 #include <vector>
26 #include <string>
27 
28 
29 namespace D3PD {
30 
31 
32 class ICollectionGetterTool;
33 
34 
39  : public AthAlgorithm
40 {
41 public:
47  egammaMaxECellAlg (const std::string& name,
48  ISvcLocator* svcloc);
49 
50 
52  virtual StatusCode initialize();
53 
54 
56  virtual StatusCode execute();
57 
58 
59 private:
60  SG::ReadCondHandleKey<LArOnOffIdMapping> m_cablingKey{this, "OnOffMap", "LArOnOffIdMap", "SG key for mapping object"};
62  std::string m_auxPrefix;
63 
65  ToolHandle<ICollectionGetterTool> m_getter;
66 
69 
70 };
71 
72 
73 } // namespace D3PD
74 
75 
76 #endif // not EGAMMAD3PDANALYSIS_EGAMMAMAXECELLALG_H
D3PD::egammaMaxECellAlg::m_auxPrefix
std::string m_auxPrefix
Property: Prefix to add to aux data items.
Definition: egammaMaxECellAlg.h:62
D3PD::egammaMaxECellAlg::egammaMaxECellAlg
egammaMaxECellAlg(const std::string &name, ISvcLocator *svcloc)
Standard Gaudi algorithm constructor.
Definition: egammaMaxECellAlg.cxx:24
D3PD::egammaMaxECellAlg::execute
virtual StatusCode execute()
Standard Gaudi execute method.
Definition: egammaMaxECellAlg.cxx:56
AthAlgorithm.h
D3PD
Block filler tool for noisy FEB information.
Definition: CaloCellDetailsFillerTool.cxx:29
LArOnOffIdMapping.h
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
D3PD::egammaMaxECellAlg::m_allowMissing
bool m_allowMissing
Property: If true, don't complain if input objects are missing.
Definition: egammaMaxECellAlg.h:68
AthAlgorithm
Definition: AthAlgorithm.h:47
ReadCondHandleKey.h
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
D3PD::egammaMaxECellAlg::initialize
virtual StatusCode initialize()
Standard Gaudi initialize method.
Definition: egammaMaxECellAlg.cxx:41
SG::ReadCondHandleKey< LArOnOffIdMapping >
D3PD::egammaMaxECellAlg::m_getter
ToolHandle< ICollectionGetterTool > m_getter
Property: Getter for input egamma objects.
Definition: egammaMaxECellAlg.h:65
D3PD::egammaMaxECellAlg::m_cablingKey
SG::ReadCondHandleKey< LArOnOffIdMapping > m_cablingKey
Definition: egammaMaxECellAlg.h:60
D3PD::egammaMaxECellAlg
Find most energetic cell in the middle layer for an egamma object and store in UserData.
Definition: egammaMaxECellAlg.h:40