ATLAS Offline Software
Loading...
Searching...
No Matches
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
19
20namespace xAOD {
21 class IParticle;
22}
23
25 virtual public ICaloAffectedTool
26{
27
28public:
29
30 CaloAffectedTool(const std::string& type,
31 const std::string& name,
32 const IInterface* parent);
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
std::vector< CaloAffectedRegionInfo > CaloAffectedRegionInfoVec
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
virtual StatusCode initialize() override
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
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
CaloAffectedTool(const std::string &type, const std::string &name, const IInterface *parent)
virtual ~CaloAffectedTool()
Class providing the definition of the 4-vector interface.
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.