ATLAS Offline Software
IClusterFilterTool.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration
3 */
5 // IClusterFilterTool.h, (c) ATLAS Detector software
7 #ifndef TRACKCALOCLUSTERREC_TRACKCALOCLUSTERRECINTERFACES_ICLUSTERFILTERTOOL_H
8 #define TRACKCALOCLUSTERREC_TRACKCALOCLUSTERRECINTERFACES_ICLUSTERFILTERTOOL_H
9 
10 #include "GaudiKernel/IAlgTool.h"
12 
13 static const InterfaceID IID_IClusterFilterTool("IClusterFilterTool", 1, 0);
14 
16 class IClusterFilterTool : virtual public IAlgTool {
17  public:
18 
26  virtual bool rejectCluster(const xAOD::CaloCluster& cluster) const = 0;
27 
28  static const InterfaceID& interfaceID( ) ;
29 };
30 
31 inline const InterfaceID& IClusterFilterTool::interfaceID() {
32  return IID_IClusterFilterTool;
33 }
34 
35 #endif // TRACKCALOCLUSTERREC_TRACKCALOCLUSTERRECINTERFACES_ICLUSTERFILTERTOOL_H
IClusterFilterTool::rejectCluster
virtual bool rejectCluster(const xAOD::CaloCluster &cluster) const =0
Method to check if a given cluster has to be rejected or not based on primary vertices requirements.
IClusterFilterTool
Interface for extending Particles with calo intersections.
Definition: IClusterFilterTool.h:16
xAOD::CaloCluster_v1
Description of a calorimeter cluster.
Definition: CaloCluster_v1.h:59
CaloClusterContainer.h
IClusterFilterTool::interfaceID
static const InterfaceID & interfaceID()
Definition: IClusterFilterTool.h:31