ATLAS Offline Software
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"
11 #include "xAODEgamma/EgammaFwd.h"
12 
13 namespace Trk {
15 }
16 static const InterfaceID
17  IID_caloCluster_OnTrackBuilder("ICaloCluster_OnTrackBuilder", 1, 0);
18 
19 class ICaloCluster_OnTrackBuilder : virtual public IAlgTool
20 {
21 public:
22  static const InterfaceID& interfaceID()
23  {
24  return IID_caloCluster_OnTrackBuilder;
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
ICaloCluster_OnTrackBuilder::~ICaloCluster_OnTrackBuilder
~ICaloCluster_OnTrackBuilder()
Definition: ICaloCluster_OnTrackBuilder.h:27
ICaloCluster_OnTrackBuilder::interfaceID
static const InterfaceID & interfaceID()
Definition: ICaloCluster_OnTrackBuilder.h:22
EgammaFwd.h
Trk::MeasurementBaseType::CaloCluster_OnTrack
@ CaloCluster_OnTrack
Definition: MeasurementBase.h:53
xAOD::CaloCluster_v1
Description of a calorimeter cluster.
Definition: CaloCluster_v1.h:59
CaloClusterFwd.h
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition: FakeTrackBuilder.h:9
ICaloCluster_OnTrackBuilder
Definition: ICaloCluster_OnTrackBuilder.h:20
charge
double charge(const T &p)
Definition: AtlasPID.h:756
ICaloCluster_OnTrackBuilder::buildClusterOnTrack
virtual std::unique_ptr< Trk::CaloCluster_OnTrack > buildClusterOnTrack(const EventContext &ctx, const xAOD::CaloCluster *cl, int charge=0) const =0
dq_make_web_display.cl
cl
print [x.__class__ for x in toList(dqregion.getSubRegions()) ]
Definition: dq_make_web_display.py:26