ATLAS Offline Software
MuonTruthClassificationFillerTool.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
12 #ifndef MUONTRUTHCLASSIFICATIONFILLERTOOL_H
13 #define MUONTRUTHCLASSIFICATIONFILLERTOOL_H
14 
15 
17 
19 #include "xAODMuon/Muon.h"
20 #include "GaudiKernel/ToolHandle.h"
21 
22 
23 namespace D3PD {
24 
26  public:
28 
29  MuonTruthClassificationFillerTool (const std::string& type,
30  const std::string& name,
31  const IInterface* parent);
32 
34  virtual StatusCode book();
35  virtual StatusCode fill (const xAOD::Muon& p);
36 
37 
38  private:
39  // Variables from each stored
40  int* m_type = nullptr;
41  int* m_origin = nullptr;
42 
43  // other private
44  ToolHandle<IMCTruthClassifier> m_classifier;
45 };
46 
47 
48 } // namespace D3PD
49 
50 
51 #endif // MUONTRUTHCLASSIFICATIONFILLERTOOL_H
D3PD::MuonTruthClassificationFillerTool::m_type
int * m_type
Definition: MuonTruthClassificationFillerTool.h:40
Muon.h
D3PD::MuonTruthClassificationFillerTool::book
virtual StatusCode book()
Declare tuple variables.
Definition: MuonTruthClassificationFillerTool.cxx:35
xAOD::Muon_v1
Class describing a Muon.
Definition: Muon_v1.h:38
D3PD::MuonTruthClassificationFillerTool
Definition: MuonTruthClassificationFillerTool.h:25
BlockFillerTool.h
Type-safe wrapper for block filler tools.
D3PD
Block filler tool for noisy FEB information.
Definition: CaloCellDetailsFillerTool.cxx:29
D3PD::MuonTruthClassificationFillerTool::MuonTruthClassificationFillerTool
MuonTruthClassificationFillerTool(const std::string &type, const std::string &name, const IInterface *parent)
Definition: MuonTruthClassificationFillerTool.cxx:18
python.utils.AtlRunQueryDQUtils.p
p
Definition: AtlRunQueryDQUtils.py:210
IMCTruthClassifier.h
D3PD::MuonTruthClassificationFillerTool::initialize
StatusCode initialize()
Definition: MuonTruthClassificationFillerTool.cxx:29
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
test_pyathena.parent
parent
Definition: test_pyathena.py:15
D3PD::BlockFillerTool
Type-safe wrapper for block filler tools.
Definition: BlockFillerTool.h:65
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
D3PD::MuonTruthClassificationFillerTool::m_classifier
ToolHandle< IMCTruthClassifier > m_classifier
Definition: MuonTruthClassificationFillerTool.h:44
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
D3PD::MuonTruthClassificationFillerTool::fill
virtual StatusCode fill(const xAOD::Muon &p)
Fill one block — type-safe version.
Definition: MuonTruthClassificationFillerTool.cxx:42
D3PD::MuonTruthClassificationFillerTool::Base
BlockFillerTool< xAOD::Muon > Base
Definition: MuonTruthClassificationFillerTool.h:27
D3PD::MuonTruthClassificationFillerTool::m_origin
int * m_origin
Definition: MuonTruthClassificationFillerTool.h:41