ATLAS Offline Software
CaloAffectedTool.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration
3 */
4 
12 #ifndef CALOTOOLS_CaloAffectedTool_H
13 #define CALOTOOLS_CaloAffectedTool_H
14 
15 
20 
21 namespace xAOD {
22  class IParticle;
23 }
24 
26  virtual public ICaloAffectedTool
27 {
28 
29 public:
30 
31  CaloAffectedTool(const std::string& type,
32  const std::string& name,
33  const IInterface* parent);
34  virtual ~CaloAffectedTool();
35 
36  virtual bool isAffected(const xAOD::IParticle *p, const CaloAffectedRegionInfoVec *vAff, float deta=0., float dphi=0., int layer_min=0, int layer_max=-1, int problemType=-1) const override;
37 
38  virtual bool listAffected(const xAOD::IParticle* p, const CaloAffectedRegionInfoVec *vAff, std::vector<int>& layer_list, std::vector<int>& problem_list, float deta=0, float dphi=0, int problemType=-1) const override;
39 
40  virtual StatusCode initialize() override;
41 
42 
43 };
44 
45 #endif
CaloAffectedRegionInfoVec.h
CaloAffectedTool::CaloAffectedTool
CaloAffectedTool(const std::string &type, const std::string &name, const IInterface *parent)
Definition: CaloAffectedTool.cxx:12
CaloAffectedRegionInfoVec
std::vector< CaloAffectedRegionInfo > CaloAffectedRegionInfoVec
Definition: CaloAffectedRegionInfoVec.h:11
CaloAffectedTool::initialize
virtual StatusCode initialize() override
Definition: CaloAffectedTool.cxx:27
xAOD
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
Definition: ICaloAffectedTool.h:24
CaloAffectedTool
Tool to check if object is in an affected region.
Definition: CaloAffectedTool.h:27
xAOD::IParticle
Class providing the definition of the 4-vector interface.
Definition: Event/xAOD/xAODBase/xAODBase/IParticle.h:41
CaloAffectedTool::~CaloAffectedTool
virtual ~CaloAffectedTool()
python.utils.AtlRunQueryDQUtils.p
p
Definition: AtlRunQueryDQUtils.py:210
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
CaloAffectedTool::listAffected
virtual bool listAffected(const xAOD::IParticle *p, const CaloAffectedRegionInfoVec *vAff, std::vector< int > &layer_list, std::vector< int > &problem_list, float deta=0, float dphi=0, int problemType=-1) const override
Definition: CaloAffectedTool.cxx:86
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
ICaloAffectedTool
Definition: ICaloAffectedTool.h:28
IOVSvcDefs.h
defines and typedefs for IOVSvc
CaloAffectedTool::isAffected
virtual bool isAffected(const xAOD::IParticle *p, const CaloAffectedRegionInfoVec *vAff, float deta=0., float dphi=0., int layer_min=0, int layer_max=-1, int problemType=-1) const override
Definition: CaloAffectedTool.cxx:34
AthAlgTool
Definition: AthAlgTool.h:26
ICaloAffectedTool.h
IParticle
Definition: Event/EventKernel/EventKernel/IParticle.h:43