ATLAS Offline Software
MuonTrackParticleAssociationTool.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 
7 // $Id$
16 #ifndef MUOND3PDMAKER_MUONTRACKPARTICLEASSOCIATIONTOOL_H
17 #define MUOND3PDMAKER_MUONTRACKPARTICLEASSOCIATIONTOOL_H
18 
19 
21 #include "xAODMuon/Muon.h"
23 #include <string>
24 
25 
26 namespace D3PD {
27 
28 
33  : public SingleAssociationTool<xAOD::Muon, xAOD::TrackParticle>
34 {
35 public:
37 
38 
45  MuonTrackParticleAssociationTool (const std::string& type,
46  const std::string& name,
47  const IInterface* parent);
48 
49 
52 
53 
60  virtual const xAOD::TrackParticle* get (const xAOD::Muon& p);
61 
62 
63 private:
65  std::string m_typeprop;
66 
67  enum {
73  } m_type;
74 };
75 
76 
77 } // namespace D3PD
78 
79 
80 
81 #endif // not MUOND3PDMAKER_MUONTRACKPARTICLEASSOCIATIONTOOL_H
D3PD::MuonTrackParticleAssociationTool::Base
SingleAssociationTool< xAOD::Muon, xAOD::TrackParticle > Base
Definition: MuonTrackParticleAssociationTool.h:36
D3PD::MuonTrackParticleAssociationTool::get
virtual const xAOD::TrackParticle * get(const xAOD::Muon &p)
Return the target object.
Definition: MuonTrackParticleAssociationTool.cxx:75
D3PD::MuonTrackParticleAssociationTool::m_type
enum D3PD::MuonTrackParticleAssociationTool::@199 m_type
D3PD::MuonTrackParticleAssociationTool
Associate from an Muon to its primary TrackParticle.
Definition: MuonTrackParticleAssociationTool.h:34
D3PD::MuonTrackParticleAssociationTool::PRIMARY
@ PRIMARY
Definition: MuonTrackParticleAssociationTool.h:68
D3PD::MuonTrackParticleAssociationTool::m_typeprop
std::string m_typeprop
Property: Which track particle should we return.
Definition: MuonTrackParticleAssociationTool.h:65
D3PD::MuonTrackParticleAssociationTool::INDET
@ INDET
Definition: MuonTrackParticleAssociationTool.h:70
Muon.h
D3PD::SingleAssociationTool
Type-safe wrapper for single associator tools.
Definition: SingleAssociationTool.h:133
xAOD::Muon_v1
Class describing a Muon.
Definition: Muon_v1.h:38
SingleAssociationTool.h
Type-safe wrapper for single associator tools.
D3PD
Block filler tool for noisy FEB information.
Definition: CaloCellDetailsFillerTool.cxx:29
python.utils.AtlRunQueryDQUtils.p
p
Definition: AtlRunQueryDQUtils.py:210
D3PD::MuonTrackParticleAssociationTool::MUONSPECTROMETER
@ MUONSPECTROMETER
Definition: MuonTrackParticleAssociationTool.h:72
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::MuonTrackParticleAssociationTool::initialize
StatusCode initialize()
Standard Gaudi initialize method.
Definition: MuonTrackParticleAssociationTool.cxx:44
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
D3PD::MuonTrackParticleAssociationTool::MuonTrackParticleAssociationTool
MuonTrackParticleAssociationTool(const std::string &type, const std::string &name, const IInterface *parent)
Standard Gaudi tool constructor.
Definition: MuonTrackParticleAssociationTool.cxx:28
D3PD::MuonTrackParticleAssociationTool::COMBINED
@ COMBINED
Definition: MuonTrackParticleAssociationTool.h:69
TrackParticle.h
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
xAOD::TrackParticle_v1
Class describing a TrackParticle.
Definition: TrackParticle_v1.h:43
D3PD::MuonTrackParticleAssociationTool::INDET_OR_PRIMARY
@ INDET_OR_PRIMARY
Definition: MuonTrackParticleAssociationTool.h:71