ATLAS Offline Software
TileRawChannelFillerTool.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 /*
6  * File: TileRawChannelFillerTool.h
7  * Author: Stephen Cole <scole@niu.edu>
8  *
9  * Created on March 1, 2011, 9:27 AM
10  */
11 
12 #ifndef TILERAWCHANNELFILLERTOOL_H
13 #define TILERAWCHANNELFILLERTOOL_H
14 
18 #include "GaudiKernel/ToolHandle.h"
20 
21 class TileHWID;
22 class TileCablingService;
23 
24 namespace D3PD{
25 
26  class TileRawChannelFillerTool: public BlockFillerTool<TileRawChannel> {
27  public:
35  TileRawChannelFillerTool(const std::string& type,
36  const std::string& name,
37  const IInterface* parent);
38 
40  virtual StatusCode initialize();
41 
42  //Book variables for this block.
43  virtual StatusCode book();
44 
53  virtual StatusCode fill (const TileRawChannel& p);
54  private:
55  //amplitude/time/quality and optionally ped as floats.
57 
58  bool m_SaveHWid;
60 
61  char* m_ros;
62  char* m_drawer;
63  char* m_channel;
64  char* m_gain;
65 
66  float* m_ped;
67  std::vector<float>* m_amplitude;
68  std::vector<float>* m_time;
69  std::vector<float>* m_quality;
70 
71  };
72 
73 }
74 #endif /* TILERAWCHANNELFILLERTOOL_H */
75 
TileRawChannel.h
D3PD::TileRawChannelFillerTool::Base
D3PD::BlockFillerTool< TileRawChannel > Base
Definition: TileRawChannelFillerTool.h:28
D3PD::TileRawChannelFillerTool::m_amplitude
std::vector< float > * m_amplitude
Definition: TileRawChannelFillerTool.h:67
D3PD::TileRawChannelFillerTool::m_ped
float * m_ped
Definition: TileRawChannelFillerTool.h:66
D3PD::TileRawChannelFillerTool::TileRawChannelFillerTool
TileRawChannelFillerTool(const std::string &type, const std::string &name, const IInterface *parent)
Standard Gaudi tool constructor.
Definition: TileRawChannelFillerTool.cxx:22
D3PD::TileRawChannelFillerTool::m_ros
char * m_ros
Definition: TileRawChannelFillerTool.h:61
BlockFillerTool.h
Type-safe wrapper for block filler tools.
TileRawChannelContainer.h
TileHWID
Helper class for TileCal online (hardware) identifiers.
Definition: TileHWID.h:49
D3PD::TileRawChannelFillerTool::initialize
virtual StatusCode initialize()
Standard Gaudi initialize method.
Definition: TileRawChannelFillerTool.cxx:36
D3PD
Block filler tool for noisy FEB information.
Definition: CaloCellDetailsFillerTool.cxx:29
python.utils.AtlRunQueryDQUtils.p
p
Definition: AtlRunQueryDQUtils.py:210
D3PD::TileRawChannelFillerTool::book
virtual StatusCode book()
Declare tuple variables.
Definition: TileRawChannelFillerTool.cxx:42
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
D3PD::TileRawChannelFillerTool::m_tilehwid
const TileHWID * m_tilehwid
Definition: TileRawChannelFillerTool.h:56
TileRawChannel
Definition: TileRawChannel.h:35
test_pyathena.parent
parent
Definition: test_pyathena.py:15
D3PD::TileRawChannelFillerTool::m_channel
char * m_channel
Definition: TileRawChannelFillerTool.h:63
D3PD::BlockFillerTool
Type-safe wrapper for block filler tools.
Definition: BlockFillerTool.h:68
D3PD::TileRawChannelFillerTool::fill
virtual StatusCode fill(const TileRawChannel &p)
Fill one block — type-safe version.
Definition: TileRawChannelFillerTool.cxx:60
TileCablingService
Definition: TileCablingService.h:23
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
D3PD::TileRawChannelFillerTool
Definition: TileRawChannelFillerTool.h:26
D3PD::TileRawChannelFillerTool::m_SaveHWid
bool m_SaveHWid
Definition: TileRawChannelFillerTool.h:58
D3PD::TileRawChannelFillerTool::m_quality
std::vector< float > * m_quality
Definition: TileRawChannelFillerTool.h:69
D3PD::TileRawChannelFillerTool::m_SaveRawCh
bool m_SaveRawCh
Definition: TileRawChannelFillerTool.h:59
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
D3PD::TileRawChannelFillerTool::m_gain
char * m_gain
Definition: TileRawChannelFillerTool.h:64
D3PD::TileRawChannelFillerTool::m_drawer
char * m_drawer
Definition: TileRawChannelFillerTool.h:62
ITileBadChanTool.h
D3PD::TileRawChannelFillerTool::m_time
std::vector< float > * m_time
Definition: TileRawChannelFillerTool.h:68