ATLAS Offline Software
MDTSimHitFillerTool.h
Go to the documentation of this file.
1 // Dear emacs, this is -*- c++ -*-
2 
3 /*
4  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
5 */
6 
7 // $Id: MDTSimHitFillerTool.h 499698 2012-05-08 16:02:28Z krasznaa $
8 #ifndef MUOND3PDMAKER_MDTSIMHITFILLERTOOL_H
9 #define MUOND3PDMAKER_MDTSIMHITFILLERTOOL_H
10 
11 // EDM include(s):
12 #include "MuonSimEvent/MDTSimHit.h"
13 
14 // D3PDMaker include(s):
16 
17 namespace D3PD {
18 
30  class MDTSimHitFillerTool : public BlockFillerTool< MDTSimHit > {
31 
32  public:
34  MDTSimHitFillerTool( const std::string& type, const std::string& name,
35  const IInterface* parent );
36 
38  virtual StatusCode book();
40  virtual StatusCode fill( const MDTSimHit& obj );
41 
42  private:
43  float* m_globalTime = nullptr;
44  float* m_driftRadius = nullptr;
45  float* m_stepLength = nullptr;
46  float* m_energyDeposit = nullptr;
47  int* m_particleEncoding = nullptr;
48  float* m_kineticEnergy = nullptr;
49  int* m_MDTid = nullptr;
50  int* m_trackNumber = nullptr;
51 
52  }; // class MDTSimHitFillerTool
53 
54 } // namespace D3PD
55 
56 #endif // MUOND3PDMAKER_MDTSIMHITFILLERTOOL_H
D3PD::MDTSimHitFillerTool::MDTSimHitFillerTool
MDTSimHitFillerTool(const std::string &type, const std::string &name, const IInterface *parent)
Regular Gaudi AlgTool constructor.
Definition: MDTSimHitFillerTool.cxx:15
D3PD::MDTSimHitFillerTool::m_globalTime
float * m_globalTime
Definition: MDTSimHitFillerTool.h:43
MDTSimHit
Definition: MDTSimHit.h:21
D3PD::MDTSimHitFillerTool::m_MDTid
int * m_MDTid
Definition: MDTSimHitFillerTool.h:49
D3PD::MDTSimHitFillerTool::m_stepLength
float * m_stepLength
Definition: MDTSimHitFillerTool.h:45
D3PD::MDTSimHitFillerTool::m_driftRadius
float * m_driftRadius
Definition: MDTSimHitFillerTool.h:44
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
MDTSimHit.h
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
D3PD::MDTSimHitFillerTool::m_particleEncoding
int * m_particleEncoding
Definition: MDTSimHitFillerTool.h:47
test_pyathena.parent
parent
Definition: test_pyathena.py:15
D3PD::BlockFillerTool
Type-safe wrapper for block filler tools.
Definition: BlockFillerTool.h:68
D3PD::MDTSimHitFillerTool::m_trackNumber
int * m_trackNumber
Number of track which released this energy.
Definition: MDTSimHitFillerTool.h:50
D3PD::MDTSimHitFillerTool::fill
virtual StatusCode fill(const MDTSimHit &obj)
Function filling the ntuple variables for a single object.
Definition: MDTSimHitFillerTool.cxx:45
D3PD::MDTSimHitFillerTool::m_kineticEnergy
float * m_kineticEnergy
Definition: MDTSimHitFillerTool.h:48
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
D3PD::MDTSimHitFillerTool::m_energyDeposit
float * m_energyDeposit
Definition: MDTSimHitFillerTool.h:46
python.PyAthena.obj
obj
Definition: PyAthena.py:135
D3PD::MDTSimHitFillerTool
Filler tool for the basic properties of MDTSimHit.
Definition: MDTSimHitFillerTool.h:30
D3PD::MDTSimHitFillerTool::book
virtual StatusCode book()
Function booking the ntuple variables.
Definition: MDTSimHitFillerTool.cxx:23