ATLAS Offline Software
egammaNbCellsGainAlg.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: egammaNbCellsGainAlg.h 604352 2014-07-01 04:52:11Z ssnyder $
15 #ifndef EGAMMANBCELLSGAINALG_H
16 #define EGAMMANBCELLSGAINALG_H
17 
18 
20 #include "GaudiKernel/ToolHandle.h"
21 #include <string>
22 
23 
24 namespace D3PD {
25 
26 
27 class ICollectionGetterTool;
28 
29 
34  : public AthAlgorithm
35 {
36 public:
42  egammaNbCellsGainAlg (const std::string& name,
43  ISvcLocator* svcloc);
44 
45 
47  virtual StatusCode initialize();
48 
49 
51  virtual StatusCode execute();
52 
53 
54 private:
56  std::string m_auxPrefix;
57 
59  ToolHandle<ICollectionGetterTool> m_getter;
60 
63 
64 };
65 
66 
67 } // namespace D3PD
68 
69 
70 #endif // not EGAMMANBCELLSGAINALG_H
D3PD::egammaNbCellsGainAlg::initialize
virtual StatusCode initialize()
Standard Gaudi initialize method.
Definition: egammaNbCellsGainAlg.cxx:41
D3PD::egammaNbCellsGainAlg::m_getter
ToolHandle< ICollectionGetterTool > m_getter
Property: Getter for input egamma objects.
Definition: egammaNbCellsGainAlg.h:59
D3PD::egammaNbCellsGainAlg::m_auxPrefix
std::string m_auxPrefix
Property: Prefix to add to aux data items.
Definition: egammaNbCellsGainAlg.h:56
D3PD::egammaNbCellsGainAlg::m_allowMissing
bool m_allowMissing
Property: If true, don't complain if input objects are missing.
Definition: egammaNbCellsGainAlg.h:62
AthAlgorithm.h
D3PD
Block filler tool for noisy FEB information.
Definition: InnerDetector/InDetMonitoring/InDetGlobalMonitoring/macros/EnhancedPrimaryVertexMonitoring/TrigD3PD/ChainGroup.h:21
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgorithm
Definition: AthAlgorithm.h:47
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
D3PD::egammaNbCellsGainAlg
Count the number of cells in each gain, layer by layer.
Definition: egammaNbCellsGainAlg.h:35
D3PD::egammaNbCellsGainAlg::egammaNbCellsGainAlg
egammaNbCellsGainAlg(const std::string &name, ISvcLocator *svcloc)
Standard Gaudi algorithm constructor.
Definition: egammaNbCellsGainAlg.cxx:24
D3PD::egammaNbCellsGainAlg::execute
virtual StatusCode execute()
Standard Gaudi execute method.
Definition: egammaNbCellsGainAlg.cxx:55