ATLAS Offline Software
IDiTauTruthMatchingTool.h
Go to the documentation of this file.
1 
11 // Dear emacs, this is -*- c++ -*-
12 
13 
14 #ifndef TAUANALYSISTOOLS_IDITAUTRUTHMATCHINGTOOL_H
15 #define TAUANALYSISTOOLS_IDITAUTRUTHMATCHINGTOOL_H
16 
17 
18 // Framework include(s):
19 #include "AsgTools/IAsgTool.h"
20 
21 // EDM include(s):
22 #include "xAODTau/DiTauJet.h"
23 
24 // // local include(s)
25 #include "IBuildTruthTaus.h"
26 
27 // local include(s)
28 #include "TauAnalysisTools/Enums.h"
29 
30 namespace TauAnalysisTools
31 {
32 
34  // The order matters, do not switch them !!!
35  : public virtual TauAnalysisTools::IBuildTruthTaus
36  , public virtual asg::IAsgTool
37 {
38 
41 
42 public:
44  virtual StatusCode initialize() = 0;
45 
47  virtual void getTruth(const xAOD::DiTauJet& xDiTau) = 0;
48 
49  virtual void getTruth(const std::vector<const xAOD::DiTauJet*>& vDiTaus) = 0;
50 
51 }; // class IDiTauTruthMatchingTool
52 
53 } // namespace TauAnalysisTools
54 
55 #endif // TAUANALYSISTOOLS_IDITAUTRUTHMATCHINGTOOL_H
TauAnalysisTools
Definition: TruthCollectionMakerTau.h:16
Enums.h
asg::IAsgTool
Base class for the dual-use tool interface classes.
Definition: IAsgTool.h:41
TauAnalysisTools::IDiTauTruthMatchingTool::initialize
virtual StatusCode initialize()=0
Declare the interface that the class provides.
TauAnalysisTools::IDiTauTruthMatchingTool
Definition: IDiTauTruthMatchingTool.h:37
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
ASG_TOOL_INTERFACE
#define ASG_TOOL_INTERFACE(CLASSNAME)
Definition: AsgToolMacros.h:40
IAsgTool.h
DiTauJet.h
IBuildTruthTaus.h
TauAnalysisTools::IDiTauTruthMatchingTool::getTruth
virtual void getTruth(const xAOD::DiTauJet &xDiTau)=0
get pointer to truth tau, if no truth tau was found a null pointer is returned
TauAnalysisTools::IDiTauTruthMatchingTool::getTruth
virtual void getTruth(const std::vector< const xAOD::DiTauJet * > &vDiTaus)=0
TauAnalysisTools::IBuildTruthTaus
Definition: IBuildTruthTaus.h:28
xAOD::DiTauJet_v1
Definition: DiTauJet_v1.h:31