ATLAS Offline Software
Loading...
Searching...
No Matches
ICaloCluster_OnTrackBuilder.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef ICALOCLUSTER_ONTRACKBUILER_H
6#define ICALOCLUSTER_ONTRACKBUILER_H
7
8#include "GaudiKernel/IAlgTool.h"
9#include "GaudiKernel/EventContext.h"
12
13namespace Trk {
15}
16static const InterfaceID
17 IID_caloCluster_OnTrackBuilder("ICaloCluster_OnTrackBuilder", 1, 0);
18
19class ICaloCluster_OnTrackBuilder : virtual public IAlgTool
20{
21public:
22 static const InterfaceID& interfaceID()
23 {
25 };
26
28
29 virtual std::unique_ptr<Trk::CaloCluster_OnTrack> buildClusterOnTrack(
30 const EventContext& ctx,
31 const xAOD::CaloCluster* cl,
32 int charge = 0) const = 0;
33};
34
35#endif // ICALOCLUSTER_ONTRACKBUILER_H
double charge(const T &p)
Definition AtlasPID.h:997
static const InterfaceID IID_caloCluster_OnTrackBuilder("ICaloCluster_OnTrackBuilder", 1, 0)
virtual std::unique_ptr< Trk::CaloCluster_OnTrack > buildClusterOnTrack(const EventContext &ctx, const xAOD::CaloCluster *cl, int charge=0) const =0
static const InterfaceID & interfaceID()
Class to handle Cluster On Tracks (ROT) for CaloClusters, it inherits from the common MeasurementBase...
Ensure that the ATLAS eigen extensions are properly loaded.
CaloCluster_v1 CaloCluster
Define the latest version of the calorimeter cluster class.