ATLAS Offline Software
TileHitFillerTool.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: TileHitFillerTool.h
7  * Author: Stephen Cole <stephen.cole@cern.ch>
8  *
9  * Created on January 13, 2012, 1:11 PM
10  */
11 
12 #ifndef TILEHITFILLERTOOL_H
13 #define TILEHITFILLERTOOL_H
14 
16 #include "TileSimEvent/TileHit.h"
17 
18 class TileID;
19 
20 namespace D3PD{
21 
22 class TileHitFillerTool : public BlockFillerTool<TileHit> {
23 public:
30  TileHitFillerTool(const std::string& type,
31  const std::string& name,
32  const IInterface* parent);
33 
35  virtual StatusCode initialize();
36 
37  //Book variables for this block.
38  virtual StatusCode book();
39 
48  virtual StatusCode fill (const TileHit& p);
49 
50 private:
51  const TileID* m_tileID;
52 
53  std::vector<float>* m_energy;
54  std::vector<float>* m_time;
55  std::vector<int>* m_pmt;
56  std::vector<int>* m_detector;
57  std::vector<int>* m_side;
58  std::vector<int>* m_sample;
59  std::vector<int>* m_eta;
60  std::vector<int>* m_phi;
61 
62 
63 };
64 
65 }
66 
67 #endif /* TILEHITFILLERTOOL_H */
68 
D3PD::TileHitFillerTool
Definition: TileHitFillerTool.h:22
D3PD::TileHitFillerTool::fill
virtual StatusCode fill(const TileHit &p)
Fill one block — type-safe version.
Definition: TileHitFillerTool.cxx:52
D3PD::TileHitFillerTool::m_time
std::vector< float > * m_time
Definition: TileHitFillerTool.h:54
D3PD::TileHitFillerTool::m_phi
std::vector< int > * m_phi
Definition: TileHitFillerTool.h:60
D3PD::TileHitFillerTool::book
virtual StatusCode book()
Declare tuple variables.
Definition: TileHitFillerTool.cxx:40
D3PD::TileHitFillerTool::m_tileID
const TileID * m_tileID
Definition: TileHitFillerTool.h:51
BlockFillerTool.h
Type-safe wrapper for block filler tools.
D3PD
Block filler tool for noisy FEB information.
Definition: CaloCellDetailsFillerTool.cxx:29
python.utils.AtlRunQueryDQUtils.p
p
Definition: AtlRunQueryDQUtils.py:210
D3PD::TileHitFillerTool::initialize
virtual StatusCode initialize()
Standard Gaudi initialize method.
Definition: TileHitFillerTool.cxx:34
TileID
Helper class for TileCal offline identifiers.
Definition: TileID.h:68
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
D3PD::TileHitFillerTool::m_detector
std::vector< int > * m_detector
Definition: TileHitFillerTool.h:56
test_pyathena.parent
parent
Definition: test_pyathena.py:15
D3PD::BlockFillerTool
Type-safe wrapper for block filler tools.
Definition: BlockFillerTool.h:65
D3PD::TileHitFillerTool::m_eta
std::vector< int > * m_eta
Definition: TileHitFillerTool.h:59
D3PD::TileHitFillerTool::m_side
std::vector< int > * m_side
Definition: TileHitFillerTool.h:57
TileHit.h
D3PD::TileHitFillerTool::m_sample
std::vector< int > * m_sample
Definition: TileHitFillerTool.h:58
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
TileHit
Definition: TileSimEvent/TileSimEvent/TileHit.h:30
D3PD::TileHitFillerTool::TileHitFillerTool
TileHitFillerTool(const std::string &type, const std::string &name, const IInterface *parent)
Standard Gaudi tool constructor.
Definition: TileHitFillerTool.cxx:23
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
D3PD::TileHitFillerTool::m_energy
std::vector< float > * m_energy
Definition: TileHitFillerTool.h:53
D3PD::TileHitFillerTool::m_pmt
std::vector< int > * m_pmt
Definition: TileHitFillerTool.h:55