ATLAS Offline Software
egammaShowerShape.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3  */
4 
5 #ifndef EGAMMACALOTOOLS_EGAMMASHOWERSHAPE_H
6 #define EGAMMACALOTOOLS_EGAMMASHOWERSHAPE_H
7 
8 
20 
22 
23 class CaloCellContainer;
24 class LArEM_ID;
26 
28 #include "GaudiKernel/ToolHandle.h"
34 
35 class egammaShowerShape : public AthAlgTool, virtual public IegammaShowerShape {
36 
37 public:
38 
40  egammaShowerShape(const std::string& type,
41  const std::string& name,
42  const IInterface* parent);
44  ~egammaShowerShape() = default;
45 
47  StatusCode initialize() override;
49  StatusCode finalize() override;
50 
52  virtual StatusCode execute(const xAOD::CaloCluster& cluster,
53  const CaloDetDescrManager& cmgr,
54  const CaloCellContainer& cell_container,
55  Info& info) const override final;
56 
57  private:
58 
60  Gaudi::Property<bool> m_ExecAllVariables {this,
61  "ExecAllVariables", true, "flag used by trigger"};
62 
64  Gaudi::Property<bool> m_ExecPreSampler {this,
65  "ExecPreSampler", true, "Calculate EM presampler variables"};
66 
68  Gaudi::Property<bool> m_ExecEMFirst {this,
69  "ExecEMFirst", true, "Calculate EM 1st sampling variables"};
70 
72  Gaudi::Property<bool> m_ExecEMSecond {this,
73  "ExecEMSecond", true, "Calculate EM 2nd sampling variables"};
74 
76  Gaudi::Property<bool> m_ExecEMThird {this,
77  "ExecEMThird", true, "Calculate EM 3rd sampling variables"};
78 
80  Gaudi::Property<bool> m_ExecEMCombined {this,
81  "ExecEMCombined", true,
82  "Calculate EM variables combining all samplings"};
83 };
84 
85 #endif
grepfile.info
info
Definition: grepfile.py:38
egammaStripsShape.h
egammaShowerShape::m_ExecEMThird
Gaudi::Property< bool > m_ExecEMThird
boolean to calculate variables for 3rd sampling
Definition: egammaShowerShape.h:76
IegammaShowerShape::Info
the info payload
Definition: IegammaShowerShape.h:41
egammaShowerShape
@
Definition: egammaShowerShape.h:35
egammaShowerShape::m_ExecEMFirst
Gaudi::Property< bool > m_ExecEMFirst
boolean to calculate variables for 1st sampling
Definition: egammaShowerShape.h:68
egammaPreSamplerShape.h
egammaShowerShape::m_ExecPreSampler
Gaudi::Property< bool > m_ExecPreSampler
boolean to calculate variables for presempler
Definition: egammaShowerShape.h:64
egammaShowerShape::m_ExecEMSecond
Gaudi::Property< bool > m_ExecEMSecond
boolean to calculate variables for 2nd sampling
Definition: egammaShowerShape.h:72
egammaShowerShape::initialize
StatusCode initialize() override
AlgTool initialize method.
Definition: egammaShowerShape.cxx:17
egammaShowerShape::egammaShowerShape
egammaShowerShape(const std::string &type, const std::string &name, const IInterface *parent)
Default constructor.
Definition: egammaShowerShape.cxx:9
egammaShowerShape::finalize
StatusCode finalize() override
AlgTool finalize method.
Definition: egammaShowerShape.cxx:22
xAOD::CaloCluster_v1
Description of a calorimeter cluster.
Definition: CaloCluster_v1.h:59
egammaShowerShape::~egammaShowerShape
~egammaShowerShape()=default
Destructor.
egammaShowerShape::execute
virtual StatusCode execute(const xAOD::CaloCluster &cluster, const CaloDetDescrManager &cmgr, const CaloCellContainer &cell_container, Info &info) const override final
AlgTool main method.
Definition: egammaShowerShape.cxx:26
CaloClusterFwd.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
egammaShowerShape::m_ExecAllVariables
Gaudi::Property< bool > m_ExecAllVariables
boolean to calculate all variables
Definition: egammaShowerShape.h:60
egammaMiddleShape.h
egammaShowerShape::m_ExecEMCombined
Gaudi::Property< bool > m_ExecEMCombined
boolean to calculate combined variables
Definition: egammaShowerShape.h:80
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
egammaBackShape.h
IegammaShowerShape
Definition: IegammaShowerShape.h:30
CaloCellContainer
Container class for CaloCell.
Definition: CaloCellContainer.h:55
CaloDetDescrManager
This class provides the client interface for accessing the detector description information common to...
Definition: CaloDetDescrManager.h:473
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
IegammaShowerShape.h
LArEM_ID
Helper class for LArEM offline identifiers.
Definition: LArEM_ID.h:118
AthAlgTool
Definition: AthAlgTool.h:26