ATLAS Offline Software
IegammaIso.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3  */
4 
6 // IegammaIso.h, (c) ATLAS Detector software 2008
8 
9 #ifndef EGAMMAINTERFACES_IEGAMMAISO_H
10 #define EGAMMAINTERFACES_IEGAMMAISO_H
11 
21 
22 // Gaudi
23 #include "GaudiKernel/IAlgTool.h"
24 // Forward declarations
26 class CaloCellContainer;
28 
29 static const InterfaceID IID_IegammaIso("IEgammaIso", 1, 0);
30 class IegammaIso : virtual public IAlgTool {
31 
32 public:
34  virtual ~IegammaIso(){};
35 
37  static const InterfaceID& interfaceID();
38 
39  class Info{
40  public:
41  double ethad=0;
42  double ethad1=0;
43  double ehad1=0;
44  unsigned short nBadT0 = 0;
45  unsigned short nBadT12 = 0;
46  };
48  virtual StatusCode execute(const xAOD::CaloCluster& cluster,
49  const CaloDetDescrManager& cmgr,
50  const CaloCellContainer& cellcoll,
51  Info& info) const =0;
52 };
53 
54 inline const InterfaceID& IegammaIso::interfaceID()
55 {
56  return IID_IegammaIso;
57 }
58 
59 #endif // EGAMMAINTERFACES_IEGAMMAISO_H
grepfile.info
info
Definition: grepfile.py:38
IegammaIso::Info::nBadT12
unsigned short nBadT12
Definition: IegammaIso.h:45
IegammaIso
Interface for the Reconstruction/egamma/egammaCaloTools/egammaIso.
Definition: IegammaIso.h:30
IegammaIso::Info::ehad1
double ehad1
Definition: IegammaIso.h:43
xAOD::CaloCluster_v1
Description of a calorimeter cluster.
Definition: CaloCluster_v1.h:59
IegammaIso::~IegammaIso
virtual ~IegammaIso()
Virtual destructor.
Definition: IegammaIso.h:34
CaloClusterFwd.h
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
IegammaIso::interfaceID
static const InterfaceID & interfaceID()
AlgTool interface methods.
Definition: IegammaIso.h:54
CaloCellContainer
Container class for CaloCell.
Definition: CaloCellContainer.h:55
CaloDetDescrManager
This class provides the client interface for accessing the detector description information common to...
Definition: CaloDetDescrManager.h:473
IegammaIso::Info::nBadT0
unsigned short nBadT0
Definition: IegammaIso.h:44
IegammaIso::Info
Definition: IegammaIso.h:39
IegammaIso::Info::ethad1
double ethad1
Definition: IegammaIso.h:42
IegammaIso::execute
virtual StatusCode execute(const xAOD::CaloCluster &cluster, const CaloDetDescrManager &cmgr, const CaloCellContainer &cellcoll, Info &info) const =0
method: Method to just calculate hadronic leakage
IegammaIso::Info::ethad
double ethad
Definition: IegammaIso.h:41