ATLAS Offline Software
Loading...
Searching...
No Matches
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
24class LArEM_ID;
26
28#include "GaudiKernel/ToolHandle.h"
34
35class egammaShowerShape : public AthAlgTool, virtual public IegammaShowerShape {
36
37public:
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
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
Container class for CaloCell.
This class provides the client interface for accessing the detector description information common to...
Interface for the Reconstruction/egamma/egammaCaloTools/egammaShowerShape.
Helper class for LArEM offline identifiers.
Definition LArEM_ID.h:111
virtual StatusCode execute(const xAOD::CaloCluster &cluster, const CaloDetDescrManager &cmgr, const CaloCellContainer &cell_container, Info &info) const override final
AlgTool main method.
Gaudi::Property< bool > m_ExecPreSampler
boolean to calculate variables for presempler
Gaudi::Property< bool > m_ExecEMSecond
boolean to calculate variables for 2nd sampling
egammaShowerShape(const std::string &type, const std::string &name, const IInterface *parent)
Default constructor.
~egammaShowerShape()=default
Destructor.
StatusCode initialize() override
AlgTool initialize method.
StatusCode finalize() override
AlgTool finalize method.
Gaudi::Property< bool > m_ExecEMCombined
boolean to calculate combined variables
Gaudi::Property< bool > m_ExecEMFirst
boolean to calculate variables for 1st sampling
Gaudi::Property< bool > m_ExecEMThird
boolean to calculate variables for 3rd sampling
Gaudi::Property< bool > m_ExecAllVariables
boolean to calculate all variables
CaloCluster_v1 CaloCluster
Define the latest version of the calorimeter cluster class.