ATLAS Offline Software
IBTaggingTruthTaggingTool.h
Go to the documentation of this file.
1 // IBTaggingTruthTaggingTool.h, (c) ATLAS Detector software
4 
5 #ifndef CPIBTAGGINGTRUTHTAGGINGTOOL_H
6 #define CPIBTAGGINGTRUTHTAGGINGTOOL_H
7 
8 #include "AsgTools/IAsgTool.h"
13 
14 #include <string>
15 #include <vector>
16 
18 
19 #include "xAODJet/JetContainer.h"
20 #include "xAODJet/Jet.h"
21 
25 
26 namespace Analysis {
27  class TruthTagResults;
28 }
29 
31 
33  ASG_TOOL_INTERFACE( IBTagTruthTaggingTool )
34 
35  public:
36 
37  virtual StatusCode setEffMapIndex(const std::string& flavour, unsigned int index)=0 ;
38 
39  virtual StatusCode CalculateResults( std::vector<float>& pt, std::vector<float>& eta, std::vector<int>& flav, std::vector<float>& tagw, Analysis::TruthTagResults& results,int rand_seed=-1)=0 ;
40 
42 
43  virtual StatusCode CalculateResultsONNX( const std::vector<std::vector<float>>& node_feat, std::vector<float>& tagw, Analysis::TruthTagResults& results, int rand_seed=-1)=0 ;
44 
45  virtual StatusCode CalculateResultsONNX( const xAOD::JetContainer& jets, const std::vector<std::vector<float>>& node_feat, Analysis::TruthTagResults& results, int rand_seed=-1)=0;
46 
47 };
48 #endif // CPIBTAGGINGTRUTHTAGGINGTOOL_H
Jet.h
IBTaggingTruthTaggingTool::CalculateResults
virtual StatusCode CalculateResults(const xAOD::JetContainer &jets, Analysis::TruthTagResults &results, int rand_seed=-1)=0
IBTaggingTruthTaggingTool::setEffMapIndex
virtual StatusCode setEffMapIndex(const std::string &flavour, unsigned int index)=0
Declare the interface that the class provides.
eta
Scalar eta() const
pseudorapidity method
Definition: AmgMatrixBasePlugin.h:79
index
Definition: index.py:1
SystematicSet.h
test_pyathena.pt
pt
Definition: test_pyathena.py:11
IBTaggingTruthTaggingTool::CalculateResultsONNX
virtual StatusCode CalculateResultsONNX(const std::vector< std::vector< float >> &node_feat, std::vector< float > &tagw, Analysis::TruthTagResults &results, int rand_seed=-1)=0
CalibrationDataVariables.h
ISystematicsTool.h
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
Analysis::TruthTagResults
Definition: TruthTagResults.h:14
ASG_TOOL_INTERFACE
#define ASG_TOOL_INTERFACE(CLASSNAME)
Definition: AsgToolMacros.h:40
IAsgTool.h
DataVector
Derived DataVector<T>.
Definition: DataVector.h:581
StatusCode.h
Analysis
The namespace of all packages in PhysicsAnalysis/JetTagging.
Definition: BTaggingCnvAlg.h:20
python.ami.results
def results
Definition: ami.py:386
IBTaggingTruthTaggingTool::CalculateResultsONNX
virtual StatusCode CalculateResultsONNX(const xAOD::JetContainer &jets, const std::vector< std::vector< float >> &node_feat, Analysis::TruthTagResults &results, int rand_seed=-1)=0
CP::ISystematicsTool
Interface for all CP tools supporting systematic variations.
Definition: ISystematicsTool.h:32
IBTaggingTruthTaggingTool
Definition: IBTaggingTruthTaggingTool.h:30
JetContainer.h
IBTaggingTruthTaggingTool::CalculateResults
virtual StatusCode CalculateResults(std::vector< float > &pt, std::vector< float > &eta, std::vector< int > &flav, std::vector< float > &tagw, Analysis::TruthTagResults &results, int rand_seed=-1)=0
CorrectionCode.h
defineDB.jets
list jets
Definition: JetTagCalibration/share/defineDB.py:24