ATLAS Offline Software
TruthParticleClassificationFillerTool.h
Go to the documentation of this file.
1 // This file's extension implies that it's C, but it's really -*- C++ -*-.
2 
3 /*
4  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
5 */
6 
14 #ifndef TRUTHD3PDMAKER_TRUTHPARTICLECLASSIFICATIONFILLERTOOL_H
15 #define TRUTHD3PDMAKER_TRUTHPARTICLECLASSIFICATIONFILLERTOOL_H
16 
17 
21 #include "GaudiKernel/ToolHandle.h"
22 
23 
24 namespace D3PD {
25 
26 
28  : public BlockFillerTool<xAOD::TruthParticle>
29 {
30 public:
32 
33 
40  TruthParticleClassificationFillerTool (const std::string& type,
41  const std::string& name,
42  const IInterface* parent);
43 
44 
46  StatusCode initialize() override;
47 
48 
50  virtual StatusCode book() final;
51 
52 
61  virtual StatusCode fill (const xAOD::TruthParticle& p) override;
62 
63 
64  private:
67 
69  int* m_type;
70 
72  int* m_origin;
73 };
74 
75 
76 } // namespace D3PD
77 
78 
79 #endif // TRUTHD3PDMAKER_TRUTHPARTICLECLASSIFICATIONFILLERTOOL_H
D3PD::TruthParticleClassificationFillerTool::m_type
int * m_type
Variable: type from classifier tool.
Definition: TruthParticleClassificationFillerTool.h:69
python.PerfMonSerializer.p
def p
Definition: PerfMonSerializer.py:743
D3PD::TruthParticleClassificationFillerTool
Definition: TruthParticleClassificationFillerTool.h:29
TruthParticle
Definition: PhysicsAnalysis/TruthParticleID/McParticleEvent/McParticleEvent/TruthParticle.h:58
xAOD
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
Definition: ICaloAffectedTool.h:24
const
bool const RAWDATA *ch2 const
Definition: LArRodBlockPhysicsV0.cxx:562
D3PD::TruthParticleClassificationFillerTool::initialize
StatusCode initialize() override
Standard Gaudi initialize method.
Definition: TruthParticleClassificationFillerTool.cxx:42
D3PD::TruthParticleClassificationFillerTool::TruthParticleClassificationFillerTool
TruthParticleClassificationFillerTool(const std::string &type, const std::string &name, const IInterface *parent)
Standard Gaudi tool constructor.
Definition: TruthParticleClassificationFillerTool.cxx:27
BlockFillerTool.h
Type-safe wrapper for block filler tools.
D3PD
Block filler tool for noisy FEB information.
Definition: InnerDetector/InDetMonitoring/InDetGlobalMonitoring/macros/EnhancedPrimaryVertexMonitoring/TrigD3PD/ChainGroup.h:21
IMCTruthClassifier.h
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:68
D3PD::TruthParticleClassificationFillerTool::m_origin
int * m_origin
Variable: origin from classifier tool.
Definition: TruthParticleClassificationFillerTool.h:72
D3PD::TruthParticleClassificationFillerTool::Base
BlockFillerTool< xAOD::TruthParticle > Base
Definition: TruthParticleClassificationFillerTool.h:31
D3PD::TruthParticleClassificationFillerTool::book
virtual StatusCode book() final
Book variables for this block.
Definition: TruthParticleClassificationFillerTool.cxx:52
private
#define private
Definition: DetDescrConditionsDict_dict_fixes.cxx:13
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
D3PD::TruthParticleClassificationFillerTool::fill
virtual StatusCode fill(const xAOD::TruthParticle &p) override
Fill one block — type-safe version.
Definition: TruthParticleClassificationFillerTool.cxx:70
IMCTruthClassifier
Definition: IMCTruthClassifier.h:103
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
D3PD::TruthParticleClassificationFillerTool::m_classifier
ToolHandle< IMCTruthClassifier > m_classifier
Property: The classifier tool.
Definition: TruthParticleClassificationFillerTool.h:66
TruthParticle.h