ATLAS Offline Software
Loading...
Searching...
No Matches
egammaOQFlagsBuilder.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 EGAMMATOOLS_EGAMMAOQFLAGSBUILDER_H
6#define EGAMMATOOLS_EGAMMAOQFLAGSBUILDER_H
22
24
26
31#include "GaudiKernel/EventContext.h"
32#include "GaudiKernel/ToolHandle.h"
33
40
43
45class HWIdentifier;
46class LArEM_ID;
47class CaloCell_ID;
48
50 : public AthAlgTool
51 , virtual public IegammaOQFlagsBuilder
52{
53public:
55 egammaOQFlagsBuilder(const std::string& type,
56 const std::string& name,
57 const IInterface* parent);
58
62 StatusCode initialize();
64 virtual StatusCode execute(const EventContext& ctx,
65 xAOD::Egamma& egamma) const;
67 StatusCode finalize();
68
69private:
72 this,
73 "LArBadChannelKey",
74 "LArBadChannel",
75 "Key of the LArBadChannelCont CDO"
76 };
77
79 this,
80 "LArAffectedRegionKey",
81 "LArAffectedRegionInfo",
82 "SG key for affected regions cond object"
83 };
84
85 ToolHandle<ICaloAffectedTool> m_affectedTool{ this,
86 "affectedTool",
87 "CaloAffectedTool",
88 "CaloAffectedTool" };
89
92
94 this,
95 "CellsName",
96 "AllCalo",
97 "Names of container which contain cells"
98 };
99
100 Gaudi::Property<double> m_QCellCut{ this, "QCellCut", 4000. };
101 Gaudi::Property<double> m_QCellHECCut{ this, "QCellHECCut", 60000. };
102 Gaudi::Property<double> m_QCellSporCut{ this, "QCellSporCut", 4000. };
103 Gaudi::Property<double> m_LArQCut{ this, "LArQCut", 0.8 };
104 Gaudi::Property<double> m_TCut{ this, "TCut", 10.0 };
105 Gaudi::Property<double> m_TCutVsE{ this, "TCutVsE", 2.0 };
106 Gaudi::Property<double> m_RcellCut{ this, "RcellCut", 0.8 };
107};
108
109#endif
110
Property holding a SG store/key/clid from which a ReadHandle is made.
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
Container class for CaloCell.
Helper class for offline cell identifiers.
Definition CaloCell_ID.h:34
Helper class for LArEM offline identifiers.
Definition LArEM_ID.h:111
Property holding a SG store/key/clid from which a ReadHandle is made.
StatusCode finalize()
finalize method
SG::ReadCondHandleKey< LArBadChannelCont > m_bcContKey
Handle to bad-channel CDO.
~egammaOQFlagsBuilder()=default
Destructor.
egammaOQFlagsBuilder(const std::string &type, const std::string &name, const IInterface *parent)
Default constructor.
Gaudi::Property< double > m_QCellCut
Gaudi::Property< double > m_LArQCut
Gaudi::Property< double > m_TCutVsE
Gaudi::Property< double > m_TCut
const LArEM_ID * m_emHelper
ToolHandle< ICaloAffectedTool > m_affectedTool
Gaudi::Property< double > m_QCellSporCut
StatusCode initialize()
initialize method
Gaudi::Property< double > m_QCellHECCut
virtual StatusCode execute(const EventContext &ctx, xAOD::Egamma &egamma) const
standard execute method
Gaudi::Property< double > m_RcellCut
SG::ReadHandleKey< CaloCellContainer > m_cellsKey
const CaloCell_ID * m_calocellId
SG::ReadCondHandleKey< CaloAffectedRegionInfoVec > m_affKey
elec/gamma data class.
Definition egamma.h:58
Egamma_v1 Egamma
Definition of the current "egamma version".
Definition Egamma.h:17