ATLAS Offline Software
MuonNumberOfSegmentsFillerTool.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_MUONNUMBEROFSEGMENTSFILLERTOOL_H
17 #define MUOND3PDMAKER_MUONNUMBEROFSEGMENTSFILLERTOOL_H
18 
19 
21 #include "xAODMuon/Muon.h"
22 #include "GaudiKernel/ToolHandle.h"
23 
24 
25 namespace D3PD {
26 
27 
32  : public BlockFillerTool<xAOD::Muon>
33 {
34 public:
41  MuonNumberOfSegmentsFillerTool (const std::string& type,
42  const std::string& name,
43  const IInterface* parent);
44 
45 
47  virtual StatusCode book();
48 
49 
58  virtual StatusCode fill (const xAOD::Muon& p);
59 
60 
61 private:
63  bool* m_numberOfSegments = nullptr;
64 };
65 
66 
67 } // namespace D3PD
68 
69 
70 #endif // not MUOND3PDMAKER_MUONNUMBEROFSEGMENTSFILLERTOOL_H
python.PerfMonSerializer.p
def p
Definition: PerfMonSerializer.py:743
Muon.h
xAOD::Muon_v1
Class describing a Muon.
Definition: Muon_v1.h:38
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
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
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
D3PD::MuonNumberOfSegmentsFillerTool::m_numberOfSegments
bool * m_numberOfSegments
Variable: Number of muon segments.
Definition: MuonNumberOfSegmentsFillerTool.h:63
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
D3PD::MuonNumberOfSegmentsFillerTool::book
virtual StatusCode book()
Book variables for this block.
Definition: MuonNumberOfSegmentsFillerTool.cxx:39
D3PD::MuonNumberOfSegmentsFillerTool::MuonNumberOfSegmentsFillerTool
MuonNumberOfSegmentsFillerTool(const std::string &type, const std::string &name, const IInterface *parent)
Standard Gaudi tool constructor.
Definition: MuonNumberOfSegmentsFillerTool.cxx:27
D3PD::MuonNumberOfSegmentsFillerTool
Fill number of muon segments.
Definition: MuonNumberOfSegmentsFillerTool.h:33
D3PD::MuonNumberOfSegmentsFillerTool::fill
virtual StatusCode fill(const xAOD::Muon &p)
Fill one block — type-safe version.
Definition: MuonNumberOfSegmentsFillerTool.cxx:55