ATLAS Offline Software
TileTrackFillerTool.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 /*
6  * File: TileTrackFillerTool.h
7  * Author: Marco van Woerden <mvanwoer@cern.ch>, Gang Qin <gang.qin@cern.ch>, Archil Durglishvili <archil.durglishvili@cern.ch>
8  * Date: Nov 2014
9  *
10  */
11 
12 #ifndef TILETRACKFILLERTOOL_H
13 #define TILETRACKFILLERTOOL_H
14 
15 // INCLUDE HEADER FILES
16 // D3PD INCLUDES
18 
19 // TRACK TOOL INCLUDES
20 #include "TrackTools.h"
22 
23 // MONTE CARLO INCLUDES
24 #include "AtlasHepMC/GenParticle.h"
25 #include "AtlasHepMC/GenVertex.h"
26 #include "AtlasHepMC/GenEvent.h"
27 
28 // MONTE CARLO (TRUTH) INFORMATION
30 
31 using namespace std;
32 
33 // ADD TILEMUONTRACKFILLERTOOL TO D3PD NAMESPACE
34 namespace D3PD {
35 //=========================================================================
36 class TileTrackFillerTool:public D3PD::BlockFillerTool<xAOD::TrackParticle>{
37 //=========================================================================
38 
39  public:
40  // CONSTRUCTOR
41  TileTrackFillerTool(const std::string& type,const std::string& name,const IInterface* parent);
42 
43  // FUNCTIONS
44  virtual StatusCode initialize();
45  virtual StatusCode book();
46  virtual StatusCode fill (const xAOD::TrackParticle &p);
47 
48  private:
49  // DATA MEMBERS
50  float m_defaultValue; // DEFAULT PARAMETER VALUE
52  std::string m_standalone;
53 
54  // LEVEL OF DETAILS
56 
57  // TRACK PARAMETERS
58  int *m_nucone05;
59  int *m_nucone10;
60  int *m_nucone20;
61  int *m_nucone30;
62  int *m_nucone40;
63 
79 
80 
81  float *m_ptcone10;
82  float *m_ptcone20;
83  float *m_ptcone30;
84  float *m_ptcone40;
85  float *m_ptcone45;
86 
87  float *m_pt;
88  float *m_p;
89 
90 
91  float *m_vtxX;
92  float *m_vtxY;
93  float *m_vtxZ;
94  float *m_d0;
95  float *m_z0;
96  float *m_phi0;
97  float *m_theta;
98  float *m_qOverP;
99 
100 
101  std::vector<float>* m_eta;
102  std::vector<float>* m_phi;
103  std::vector<float>* m_x;
104  std::vector<float>* m_y;
105  std::vector<float>* m_z;
106 
107  // TOOLHANDLES
108  ToolHandle<ITrackTools> m_trackInCalo;
109  ToolHandle<Reco::ITrackToVertex> m_trackToVertexTool;
110  std::string m_calocellContainerName; // INPUT CELL CONTAINER
111  std::string m_MCeventCollection;
112 
113 }; // class TrkTrackParametersAtBLFillerTool
114 
115 } // namespace D3PD
116 
117 #endif // not TRACKD3PDMAKER_TRKTRACKPARAMETERSATBLFILLERTOOL_H
D3PD::TileTrackFillerTool::m_nucone30
int * m_nucone30
Definition: TileTrackFillerTool.h:61
D3PD::TileTrackFillerTool::m_d0
float * m_d0
Definition: TileTrackFillerTool.h:94
D3PD::TileTrackFillerTool::m_p
float * m_p
Definition: TileTrackFillerTool.h:88
D3PD::TileTrackFillerTool::m_nucone40
int * m_nucone40
Definition: TileTrackFillerTool.h:62
GenEvent.h
D3PD::TileTrackFillerTool::m_vtxX
float * m_vtxX
Definition: TileTrackFillerTool.h:91
D3PD::TileTrackFillerTool::m_defaultValue
float m_defaultValue
Definition: TileTrackFillerTool.h:50
D3PD::TileTrackFillerTool::m_trackInCalo
ToolHandle< ITrackTools > m_trackInCalo
Definition: TileTrackFillerTool.h:108
D3PD::TileTrackFillerTool::m_eta
std::vector< float > * m_eta
Definition: TileTrackFillerTool.h:101
initialize
void initialize()
Definition: run_EoverP.cxx:894
D3PD::TileTrackFillerTool::m_numberOfTrackSummaryTypes
int * m_numberOfTrackSummaryTypes
Definition: TileTrackFillerTool.h:78
GenVertex.h
D3PD::TileTrackFillerTool::m_numberOfGangedPixels
int * m_numberOfGangedPixels
Definition: TileTrackFillerTool.h:76
TrackTools.h
D3PD::TileTrackFillerTool::m_ptcone40
float * m_ptcone40
Definition: TileTrackFillerTool.h:84
D3PD::TileTrackFillerTool::m_numberOfBLayerHits
int * m_numberOfBLayerHits
Definition: TileTrackFillerTool.h:64
D3PD::TileTrackFillerTool::m_ptcone30
float * m_ptcone30
Definition: TileTrackFillerTool.h:83
D3PD::TileTrackFillerTool::m_y
std::vector< float > * m_y
Definition: TileTrackFillerTool.h:104
D3PD::TileTrackFillerTool::m_nucone05
int * m_nucone05
Definition: TileTrackFillerTool.h:58
D3PD::TileTrackFillerTool::m_numberOfPixelSharedHits
int * m_numberOfPixelSharedHits
Definition: TileTrackFillerTool.h:70
D3PD::TileTrackFillerTool::m_phi
std::vector< float > * m_phi
Definition: TileTrackFillerTool.h:102
D3PD::TileTrackFillerTool::m_nucone10
int * m_nucone10
Definition: TileTrackFillerTool.h:59
GenParticle.h
D3PD::TileTrackFillerTool::m_phi0
float * m_phi0
Definition: TileTrackFillerTool.h:96
BlockFillerTool.h
Type-safe wrapper for block filler tools.
D3PD::TileTrackFillerTool::m_numberOfTRTHighThresholdOutliers
int * m_numberOfTRTHighThresholdOutliers
Definition: TileTrackFillerTool.h:75
D3PD::TileTrackFillerTool::m_LevelOfDetails
short m_LevelOfDetails
Definition: TileTrackFillerTool.h:55
D3PD::TileTrackFillerTool::m_theta
float * m_theta
Definition: TileTrackFillerTool.h:97
D3PD::TileTrackFillerTool::m_x
std::vector< float > * m_x
Definition: TileTrackFillerTool.h:103
D3PD
Block filler tool for noisy FEB information.
Definition: CaloCellDetailsFillerTool.cxx:29
D3PD::TileTrackFillerTool::m_standalone
std::string m_standalone
Definition: TileTrackFillerTool.h:52
python.utils.AtlRunQueryDQUtils.p
p
Definition: AtlRunQueryDQUtils.py:210
D3PD::TileTrackFillerTool::m_numberOfPixelHoles
int * m_numberOfPixelHoles
Definition: TileTrackFillerTool.h:71
D3PD::TileTrackFillerTool::m_numberOfSCTSharedHits
int * m_numberOfSCTSharedHits
Definition: TileTrackFillerTool.h:72
McEventCollection.h
D3PD::TileTrackFillerTool::m_numberOfTRTHighThresholdHits
int * m_numberOfTRTHighThresholdHits
Definition: TileTrackFillerTool.h:68
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
D3PD::TileTrackFillerTool
Definition: TileTrackFillerTool.h:36
D3PD::TileTrackFillerTool::m_numberOfPixelHits
int * m_numberOfPixelHits
Definition: TileTrackFillerTool.h:65
test_pyathena.parent
parent
Definition: test_pyathena.py:15
D3PD::TileTrackFillerTool::m_pt
float * m_pt
Definition: TileTrackFillerTool.h:87
D3PD::BlockFillerTool
Type-safe wrapper for block filler tools.
Definition: BlockFillerTool.h:68
D3PD::TileTrackFillerTool::m_z
std::vector< float > * m_z
Definition: TileTrackFillerTool.h:105
D3PD::TileTrackFillerTool::m_numberOfBLayerSharedHits
int * m_numberOfBLayerSharedHits
Definition: TileTrackFillerTool.h:69
D3PD::TileTrackFillerTool::m_calocellContainerName
std::string m_calocellContainerName
Definition: TileTrackFillerTool.h:110
D3PD::TileTrackFillerTool::m_vtxZ
float * m_vtxZ
Definition: TileTrackFillerTool.h:93
ITrackToVertex.h
fill
void fill(H5::Group &out_file, size_t iterations)
Definition: test-hdf5-writer.cxx:95
D3PD::TileTrackFillerTool::m_ptcone10
float * m_ptcone10
Definition: TileTrackFillerTool.h:81
D3PD::TileTrackFillerTool::m_numberOfSCTHits
int * m_numberOfSCTHits
Definition: TileTrackFillerTool.h:66
D3PD::TileTrackFillerTool::m_numberOfTRTHits
int * m_numberOfTRTHits
Definition: TileTrackFillerTool.h:67
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
D3PD::TileTrackFillerTool::m_numberOfOutliersOnTrack
int * m_numberOfOutliersOnTrack
Definition: TileTrackFillerTool.h:77
D3PD::TileTrackFillerTool::m_qOverP
float * m_qOverP
Definition: TileTrackFillerTool.h:98
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
D3PD::TileTrackFillerTool::m_numberOfSCTHoles
int * m_numberOfSCTHoles
Definition: TileTrackFillerTool.h:73
D3PD::TileTrackFillerTool::m_vtxY
float * m_vtxY
Definition: TileTrackFillerTool.h:92
D3PD::TileTrackFillerTool::m_trkParType
int m_trkParType
Definition: TileTrackFillerTool.h:51
D3PD::TileTrackFillerTool::m_ptcone45
float * m_ptcone45
Definition: TileTrackFillerTool.h:85
D3PD::TileTrackFillerTool::m_nucone20
int * m_nucone20
Definition: TileTrackFillerTool.h:60
xAOD::TrackParticle_v1
Class describing a TrackParticle.
Definition: TrackParticle_v1.h:43
D3PD::TileTrackFillerTool::m_trackToVertexTool
ToolHandle< Reco::ITrackToVertex > m_trackToVertexTool
Definition: TileTrackFillerTool.h:109
D3PD::TileTrackFillerTool::m_z0
float * m_z0
Definition: TileTrackFillerTool.h:95
D3PD::TileTrackFillerTool::m_MCeventCollection
std::string m_MCeventCollection
Definition: TileTrackFillerTool.h:111
D3PD::TileTrackFillerTool::m_numberOfTRTOutliers
int * m_numberOfTRTOutliers
Definition: TileTrackFillerTool.h:74
D3PD::TileTrackFillerTool::m_ptcone20
float * m_ptcone20
Definition: TileTrackFillerTool.h:82