ATLAS Offline Software
TrackRecordFillerTool.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef MUOND3PDMAKER_TRACKRECORDFILLERTOOL_H
6 #define MUOND3PDMAKER_TRACKRECORDFILLERTOOL_H
7 
8 // EDM include(s):
10 
11 // D3PDMaker include(s):
13 
14 
15 namespace D3PD {
16 
24  class TrackRecordFillerTool : public BlockFillerTool< TrackRecord > {
25 
26  public:
28  TrackRecordFillerTool( const std::string& type, const std::string& name,
29  const IInterface* parent );
30 
32  virtual StatusCode book();
34  virtual StatusCode fill( const TrackRecord& obj );
35 
36  private:
37 
38  int* m_barcode = nullptr;
39  int* m_pdgid = nullptr;
40  float* m_energy = nullptr;
41  float* m_pt = nullptr;
42  float* m_eta = nullptr;
43  float* m_phi = nullptr;
44  float* m_posx = nullptr;
45  float* m_posy = nullptr;
46  float* m_posz = nullptr;
47  float* m_time = nullptr;
48 
49  // Property: fill info for only muons or all particles entering Muon Spectrometer?
50  bool m_OnlyMuon;
51  // Property: minimum particle energy
53  }; // class TrackRecordFillerTool
54 
55 } // namespace D3PD
56 
57 #endif // MUOND3PDMAKER_TRACKRECORDFILLERTOOL_H
D3PD::TrackRecordFillerTool::m_posy
float * m_posy
Definition: TrackRecordFillerTool.h:45
D3PD::TrackRecordFillerTool::m_phi
float * m_phi
Definition: TrackRecordFillerTool.h:43
D3PD::TrackRecordFillerTool::m_barcode
int * m_barcode
Definition: TrackRecordFillerTool.h:38
D3PD::TrackRecordFillerTool::m_eta
float * m_eta
Definition: TrackRecordFillerTool.h:42
D3PD::TrackRecordFillerTool::m_posz
float * m_posz
Definition: TrackRecordFillerTool.h:46
BlockFillerTool.h
Type-safe wrapper for block filler tools.
D3PD
Block filler tool for noisy FEB information.
Definition: CaloCellDetailsFillerTool.cxx:29
D3PD::TrackRecordFillerTool::fill
virtual StatusCode fill(const TrackRecord &obj)
Function filling the ntuple variables for a single object.
Definition: TrackRecordFillerTool.cxx:43
D3PD::TrackRecordFillerTool::m_time
float * m_time
Definition: TrackRecordFillerTool.h:47
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
D3PD::TrackRecordFillerTool::m_EnergyThreshold
float m_EnergyThreshold
Definition: TrackRecordFillerTool.h:52
test_pyathena.parent
parent
Definition: test_pyathena.py:15
D3PD::BlockFillerTool
Type-safe wrapper for block filler tools.
Definition: BlockFillerTool.h:65
D3PD::TrackRecordFillerTool::m_OnlyMuon
bool m_OnlyMuon
Definition: TrackRecordFillerTool.h:50
D3PD::TrackRecordFillerTool::m_pt
float * m_pt
Definition: TrackRecordFillerTool.h:41
D3PD::TrackRecordFillerTool::book
virtual StatusCode book()
Function booking the ntuple variables.
Definition: TrackRecordFillerTool.cxx:28
D3PD::TrackRecordFillerTool::m_energy
float * m_energy
Definition: TrackRecordFillerTool.h:40
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
TrackRecordCollection.h
D3PD::TrackRecordFillerTool::m_pdgid
int * m_pdgid
Definition: TrackRecordFillerTool.h:39
TrackRecord
Definition: TrackRecord.h:12
D3PD::TrackRecordFillerTool::m_posx
float * m_posx
Definition: TrackRecordFillerTool.h:44
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
python.PyAthena.obj
obj
Definition: PyAthena.py:132
D3PD::TrackRecordFillerTool
Filler tool for the basic properties of TrackRecord.
Definition: TrackRecordFillerTool.h:24
D3PD::TrackRecordFillerTool::TrackRecordFillerTool
TrackRecordFillerTool(const std::string &type, const std::string &name, const IInterface *parent)
Regular Gaudi AlgTool constructor.
Definition: TrackRecordFillerTool.cxx:18