ATLAS Offline Software
egammaSumCellsGainAlg.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-2017 CERN for the benefit of the ATLAS collaboration
5 */
6 
7 // $Id: egammaSumCellsGainAlg.h 604352 2014-07-01 04:52:11Z ssnyder $
16 #ifndef EGAMMASUMCELLSGAINALG_H
17 #define EGAMMASUMCELLSGAINALG_H
18 
19 
21 #include "GaudiKernel/ToolHandle.h"
22 #include <string>
23 
24 
25 namespace D3PD {
26 
27 
28 class ICollectionGetterTool;
29 
30 
35  : public AthAlgorithm
36 {
37 public:
43  egammaSumCellsGainAlg (const std::string& name,
44  ISvcLocator* svcloc);
45 
46 
48  virtual StatusCode initialize();
49 
50 
52  virtual StatusCode execute();
53 
54 
55 private:
57  std::string m_auxPrefix;
58 
60  ToolHandle<ICollectionGetterTool> m_getter;
61 
64 };
65 
66 
67 } // namespace D3PD
68 
69 
70 #endif // not EGAMMAMAXECELLALG_H
D3PD::egammaSumCellsGainAlg::egammaSumCellsGainAlg
egammaSumCellsGainAlg(const std::string &name, ISvcLocator *svcloc)
Standard Gaudi algorithm constructor.
Definition: egammaSumCellsGainAlg.cxx:24
D3PD::egammaSumCellsGainAlg::m_auxPrefix
std::string m_auxPrefix
Property: Prefix to add to aux data items.
Definition: egammaSumCellsGainAlg.h:57
AthAlgorithm.h
D3PD
Block filler tool for noisy FEB information.
Definition: InnerDetector/InDetMonitoring/InDetGlobalMonitoring/macros/EnhancedPrimaryVertexMonitoring/TrigD3PD/ChainGroup.h:21
D3PD::egammaSumCellsGainAlg::initialize
virtual StatusCode initialize()
Standard Gaudi initialize method.
Definition: egammaSumCellsGainAlg.cxx:41
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgorithm
Definition: AthAlgorithm.h:47
D3PD::egammaSumCellsGainAlg::m_getter
ToolHandle< ICollectionGetterTool > m_getter
Property: Getter for input egamma objects.
Definition: egammaSumCellsGainAlg.h:60
D3PD::egammaSumCellsGainAlg::execute
virtual StatusCode execute()
Standard Gaudi execute method.
Definition: egammaSumCellsGainAlg.cxx:53
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
D3PD::egammaSumCellsGainAlg::m_allowMissing
bool m_allowMissing
Property: If true, don't complain if input objects are missing.
Definition: egammaSumCellsGainAlg.h:63
D3PD::egammaSumCellsGainAlg
Find most energetic cell in the middle layer for an egamma object and store in UserData.
Definition: egammaSumCellsGainAlg.h:36