ATLAS Offline Software
Loading...
Searching...
No Matches
CaloClustersInConeTool.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef PARTICLESINCONETOOLS_CALOCLUSTERSINCONETOOL_H
6#define PARTICLESINCONETOOLS_CALOCLUSTERSINCONETOOL_H
7
9#include "GaudiKernel/ServiceHandle.h"
11
17
18namespace xAOD {
19
21 public:
23 CaloClustersInConeTool(const std::string& type, const std::string& name, const IInterface* parent);
24
27
29 virtual StatusCode initialize() override;
30
32 virtual StatusCode finalize() override;
33
35 virtual bool particlesInCone( float eta, float phi, float dr, std::vector< const CaloCluster*>& output ) const override;
36
38 virtual bool particlesInCone( float eta, float phi, float dr, std::vector< ElementLink<CaloClusterContainer> >& output ) const override;
39
41
42 private:
43 // init look-up table
44 const LookUpTable* getTable() const;
45
48 "CaloClusterLocation", "CaloCalTopoClusters"};
49 };
50
51} // end of namespace
52
53
55
56#endif
57
58
Scalar eta() const
pseudorapidity method
macros to associate a CLID to a type
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
Property holding a SG store/key/clid from which a ReadHandle is made.
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
Property holding a SG store/key/clid from which a ReadHandle is made.
virtual ~CaloClustersInConeTool(void)
destructor
virtual StatusCode finalize() override
finalize
CaloClustersInConeTool(const std::string &type, const std::string &name, const IInterface *parent)
constructor
const LookUpTable * getTable() const
SG::ReadHandleKey< CaloClusterContainer > m_caloClusterLocation
ID track collection name.
virtual bool particlesInCone(float eta, float phi, float dr, std::vector< const CaloCluster * > &output) const override
ICaloClustersInConeTool interface.
IParticlesLookUpTable< CaloCluster > LookUpTable
virtual StatusCode initialize() override
initialize
interface for collecting truth particles inside a cone
2D look up table for iParticles
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.