ATLAS Offline Software
IJetTruthNtupleTool.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 // IJetTruthNtupleTool.h
7 // Header file for interface of TruthNtupleTools
9 // (c) ATLAS Detector software
11 // Sebastian.Fleischmann@cern.ch
13 
14 #ifndef TRK_IJETTRUTHNTUPLETOOL_H
15 #define TRK_IJETTRUTHNTUPLETOOL_H
16 
17 #include "GaudiKernel/IAlgTool.h"
18 //#include "TrkValEvent/GenParticleJet.h"
19 
20 #include <vector>
21 
23 namespace Trk {
24  class GenParticleJet;
25 
26 static const InterfaceID IID_IJetTruthNtupleTool("IJetTruthNtupleTool",1,0);
27 
35 class IJetTruthNtupleTool : virtual public IAlgTool {
36 public:
38  static const InterfaceID& interfaceID();
39 
41  virtual StatusCode writeJetTruthData (const std::vector< Trk::GenParticleJet >&,
42  const int& ) = 0;
43 
44  virtual unsigned int getNumberOfTreeRecords() const = 0;
45 };
46 
47 inline const InterfaceID& Trk::IJetTruthNtupleTool::interfaceID() {
48  return IID_IJetTruthNtupleTool;
49 }
50 
51 } // end of namespace
52 
53 #endif // TRK_IJETTRUTHNTUPLETOOL_H
Trk::IJetTruthNtupleTool::getNumberOfTreeRecords
virtual unsigned int getNumberOfTreeRecords() const =0
GenParticle_fwd.h
Trk::IJetTruthNtupleTool
Definition: IJetTruthNtupleTool.h:35
Trk::IJetTruthNtupleTool::writeJetTruthData
virtual StatusCode writeJetTruthData(const std::vector< Trk::GenParticleJet > &, const int &)=0
fill ntuple data for a given vector of truth jets
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
Trk::IJetTruthNtupleTool::interfaceID
static const InterfaceID & interfaceID()
Interface ID, declared here, and defined below.
Definition: IJetTruthNtupleTool.h:47
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition: FakeTrackBuilder.h:9