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
20
21namespace xAOD {
22 class IParticle;
23}
24
26 virtual public ICaloAffectedTool
27{
28
29public:
30
31 CaloAffectedTool(const std::string& type,
32 const std::string& name,
33 const IInterface* parent);
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
std::vector< CaloAffectedRegionInfo > CaloAffectedRegionInfoVec
defines and typedefs for IOVSvc
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.