ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Calorimeter
CaloTools
CaloTools
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
11
12
#ifndef CALOTOOLS_CaloAffectedTool_H
13
#define CALOTOOLS_CaloAffectedTool_H
14
15
16
#include "
AthenaBaseComps/AthAlgTool.h
"
17
#include "
CaloInterface/ICaloAffectedTool.h
"
18
#include "
CaloConditions/CaloAffectedRegionInfoVec.h
"
19
20
namespace
xAOD
{
21
class
IParticle
;
22
}
23
24
class
CaloAffectedTool
:
public
AthAlgTool
,
25
virtual
public
ICaloAffectedTool
26
{
27
28
public
:
29
30
CaloAffectedTool
(
const
std::string&
type
,
31
const
std::string& name,
32
const
IInterface* parent);
33
virtual
~CaloAffectedTool
();
34
35
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
;
36
37
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
;
38
39
virtual
StatusCode
initialize
()
override
;
40
41
42
};
43
44
#endif
AthAlgTool.h
CaloAffectedRegionInfoVec.h
CaloAffectedRegionInfoVec
std::vector< CaloAffectedRegionInfo > CaloAffectedRegionInfoVec
Definition
CaloAffectedRegionInfoVec.h:11
ICaloAffectedTool.h
AthAlgTool::AthAlgTool
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
Definition
AthAlgTool.cxx:16
CaloAffectedTool::initialize
virtual StatusCode initialize() override
Definition
CaloAffectedTool.cxx:27
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
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
CaloAffectedTool::CaloAffectedTool
CaloAffectedTool(const std::string &type, const std::string &name, const IInterface *parent)
Definition
CaloAffectedTool.cxx:12
CaloAffectedTool::~CaloAffectedTool
virtual ~CaloAffectedTool()
ICaloAffectedTool
Definition
ICaloAffectedTool.h:28
xAOD::IParticle
Class providing the definition of the 4-vector interface.
Definition
Event/xAOD/xAODBase/xAODBase/IParticle.h:41
xAOD
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
Definition
ICaloAffectedTool.h:24
type
Generated on
for ATLAS Offline Software by
1.17.0