ATLAS Offline Software
TileClusterFillerTool.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 /*
6  * File: TileClusterFillerTool.cxx
7  * Author: Marco van Woerden <mvanwoer@cern.ch>, Gang Qin <gang.qin@cern.ch>
8  * Date: September 2012
9  *
10  */
11 
12 #ifndef TILECLUSTERFILLERTOOL_H
13 #define TILECLUSTERFILLERTOOL_H
14 
15 // INCLUDE HEADER FILES
16 // D3PD INCLUDES
18 
19 #include "TrackTools.h"
20 
21 // MONTE CARLO INCLUDES
22 #include "AtlasHepMC/GenParticle.h"
23 #include "AtlasHepMC/GenVertex.h"
24 #include "AtlasHepMC/GenEvent.h"
25 
26 // MONTE CARLO (TRUTH) INFORMATION
28 
29 namespace D3PD {
30 
31 //=========================================================================
32  class TileClusterFillerTool:public D3PD::BlockFillerTool<xAOD::CaloCluster>{
33 //=========================================================================
34 
35  public:
36 
37  TileClusterFillerTool(const std::string& type,const std::string& name,const IInterface* parent);
38 
40 
41  virtual StatusCode initialize();
42  virtual StatusCode book();
43  virtual StatusCode fill (const xAOD::CaloCluster &p);
44 
45  private:
46 
47  float m_defaultValue; // DEFAULT PARAMETER VALUE
49 
50  float *m_e;
51  float *m_eta;
52  float *m_phi;
53  int *m_nSamples;
54  float *m_time;
55  int *m_size;
56  unsigned int *m_etaSize;
57  unsigned int *m_phiSize;
58  float *m_eta0;
59  float *m_phi0;
60 
61  std::vector<float> *m_eSample;
62  std::vector<float> *m_etaSample;
63  std::vector<float> *m_phiSample;
64  };
65 
66 }
67 
68 #endif
D3PD::TileClusterFillerTool::m_e
float * m_e
Definition: TileClusterFillerTool.h:50
GenEvent.h
D3PD::TileClusterFillerTool::TileClusterFillerTool
TileClusterFillerTool(const std::string &type, const std::string &name, const IInterface *parent)
Definition: TileClusterFillerTool.cxx:19
D3PD::TileClusterFillerTool::~TileClusterFillerTool
~TileClusterFillerTool()
Definition: TileClusterFillerTool.h:39
D3PD::TileClusterFillerTool::book
virtual StatusCode book()
Declare tuple variables.
Definition: TileClusterFillerTool.cxx:42
D3PD::TileClusterFillerTool::fill
virtual StatusCode fill(const xAOD::CaloCluster &p)
Fill one block — type-safe version.
Definition: TileClusterFillerTool.cxx:69
D3PD::TileClusterFillerTool::initialize
virtual StatusCode initialize()
Definition: TileClusterFillerTool.cxx:31
D3PD::TileClusterFillerTool
Definition: TileClusterFillerTool.h:32
GenVertex.h
D3PD::TileClusterFillerTool::m_eta0
float * m_eta0
Definition: TileClusterFillerTool.h:58
TrackTools.h
D3PD::TileClusterFillerTool::m_phi
float * m_phi
Definition: TileClusterFillerTool.h:52
D3PD::TileClusterFillerTool::m_phi0
float * m_phi0
Definition: TileClusterFillerTool.h:59
GenParticle.h
D3PD::TileClusterFillerTool::m_nSamples
int * m_nSamples
Definition: TileClusterFillerTool.h:53
BlockFillerTool.h
Type-safe wrapper for block filler tools.
D3PD::TileClusterFillerTool::m_eSample
std::vector< float > * m_eSample
Definition: TileClusterFillerTool.h:61
D3PD::TileClusterFillerTool::m_phiSample
std::vector< float > * m_phiSample
Definition: TileClusterFillerTool.h:63
xAOD::CaloCluster_v1
Description of a calorimeter cluster.
Definition: CaloCluster_v1.h:59
D3PD
Block filler tool for noisy FEB information.
Definition: CaloCellDetailsFillerTool.cxx:29
python.utils.AtlRunQueryDQUtils.p
p
Definition: AtlRunQueryDQUtils.py:210
McEventCollection.h
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
D3PD::TileClusterFillerTool::m_etaSize
unsigned int * m_etaSize
Definition: TileClusterFillerTool.h:56
D3PD::TileClusterFillerTool::m_size
int * m_size
Definition: TileClusterFillerTool.h:55
test_pyathena.parent
parent
Definition: test_pyathena.py:15
D3PD::BlockFillerTool
Type-safe wrapper for block filler tools.
Definition: BlockFillerTool.h:68
D3PD::TileClusterFillerTool::m_phiSize
unsigned int * m_phiSize
Definition: TileClusterFillerTool.h:57
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
D3PD::TileClusterFillerTool::m_defaultValue
float m_defaultValue
Definition: TileClusterFillerTool.h:47
D3PD::TileClusterFillerTool::m_LevelOfDetails
short m_LevelOfDetails
Definition: TileClusterFillerTool.h:48
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
D3PD::TileClusterFillerTool::m_etaSample
std::vector< float > * m_etaSample
Definition: TileClusterFillerTool.h:62
D3PD::TileClusterFillerTool::m_time
float * m_time
Definition: TileClusterFillerTool.h:54
D3PD::TileClusterFillerTool::m_eta
float * m_eta
Definition: TileClusterFillerTool.h:51