ATLAS Offline Software
TileRawChannelToNtuple.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 //****************************************************************************
6 // Filename : TileRawChannelToNtuple.h
7 // Author : Zhifang
8 // Created : Nov. 2002
9 //
10 // DESCRIPTION
11 //
12 // To create RawChannel Ntuple file from RawChannel container
13 //
14 // Properties (JobOption Parameters):
15 //
16 // TileRawChannelContainer string key value of RawChannels in TDS
17 // NtupleLoc string pathname of ntuple file
18 // NtupleID int ID of ntuple
19 //
20 // BUGS:
21 //
22 // History:
23 //
24 //
25 //****************************************************************************
26 #ifndef TileRawChannelToNtuple_H
27 #define TileRawChannelToNtuple_H
28 
29 #include "GaudiKernel/NTuple.h"
31 
32 class TileID;
33 class TileHWID;
34 
35 #include <string>
36 
38 public:
39  //Constructor
40  TileRawChannelToNtuple(const std::string& name, ISvcLocator* pSvcLocator);
41 
42  //Destructor
43  virtual ~TileRawChannelToNtuple();
44 
45  //Gaudi Hooks
49 
50 private:
51  NTuple::Tuple* m_ntuplePtr;
52  std::string m_ntupleID;
53  std::string m_ntupleLoc;
54 
55  NTuple::Item<int> m_nchan;
56  NTuple::Item<double> m_tolE;
57 
58  NTuple::Array<float> m_energy;
59  NTuple::Array<float> m_time;
60  NTuple::Array<float> m_quality;
61 
62  NTuple::Array<int> m_detector;
63  NTuple::Array<int> m_side;
64  NTuple::Array<int> m_sample;
65  NTuple::Array<int> m_eta;
66  NTuple::Array<int> m_phi;
67  NTuple::Array<int> m_pmt;
68  NTuple::Array<int> m_channel;
69  NTuple::Array<int> m_gain;
70 
71  std::string m_rawChannelContainer;
72 
73  const TileID* m_tileID;
75 };
76 
77 #endif
TileRawChannelToNtuple::m_sample
NTuple::Array< int > m_sample
Definition: TileRawChannelToNtuple.h:64
TileRawChannelToNtuple::m_side
NTuple::Array< int > m_side
Definition: TileRawChannelToNtuple.h:63
TileRawChannelToNtuple::m_ntuplePtr
NTuple::Tuple * m_ntuplePtr
Definition: TileRawChannelToNtuple.h:51
TileRawChannelToNtuple::execute
StatusCode execute()
Definition: TileRawChannelToNtuple.cxx:113
TileRawChannelToNtuple::m_ntupleID
std::string m_ntupleID
Definition: TileRawChannelToNtuple.h:52
TileRawChannelToNtuple::initialize
StatusCode initialize()
Definition: TileRawChannelToNtuple.cxx:58
TileRawChannelToNtuple::m_detector
NTuple::Array< int > m_detector
Definition: TileRawChannelToNtuple.h:62
TileRawChannelToNtuple::m_ntupleLoc
std::string m_ntupleLoc
Definition: TileRawChannelToNtuple.h:53
AthAlgorithm.h
TileHWID
Helper class for TileCal online (hardware) identifiers.
Definition: TileHWID.h:49
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
TileRawChannelToNtuple::m_phi
NTuple::Array< int > m_phi
Definition: TileRawChannelToNtuple.h:66
TileRawChannelToNtuple::m_nchan
NTuple::Item< int > m_nchan
Definition: TileRawChannelToNtuple.h:55
TileRawChannelToNtuple
Definition: TileRawChannelToNtuple.h:37
TileRawChannelToNtuple::finalize
StatusCode finalize()
Definition: TileRawChannelToNtuple.cxx:171
AthAlgorithm
Definition: AthAlgorithm.h:47
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
TileRawChannelToNtuple::m_time
NTuple::Array< float > m_time
Definition: TileRawChannelToNtuple.h:59
TileRawChannelToNtuple::m_rawChannelContainer
std::string m_rawChannelContainer
Definition: TileRawChannelToNtuple.h:71
TileRawChannelToNtuple::m_tolE
NTuple::Item< double > m_tolE
Definition: TileRawChannelToNtuple.h:56
TileRawChannelToNtuple::TileRawChannelToNtuple
TileRawChannelToNtuple(const std::string &name, ISvcLocator *pSvcLocator)
Definition: TileRawChannelToNtuple.cxx:39
TileRawChannelToNtuple::m_gain
NTuple::Array< int > m_gain
Definition: TileRawChannelToNtuple.h:69
TileRawChannelToNtuple::m_tileID
const TileID * m_tileID
Definition: TileRawChannelToNtuple.h:73
TileRawChannelToNtuple::m_quality
NTuple::Array< float > m_quality
Definition: TileRawChannelToNtuple.h:60
TileRawChannelToNtuple::~TileRawChannelToNtuple
virtual ~TileRawChannelToNtuple()
Definition: TileRawChannelToNtuple.cxx:53
TileRawChannelToNtuple::m_energy
NTuple::Array< float > m_energy
Definition: TileRawChannelToNtuple.h:58
TileRawChannelToNtuple::m_eta
NTuple::Array< int > m_eta
Definition: TileRawChannelToNtuple.h:65
TileRawChannelToNtuple::m_pmt
NTuple::Array< int > m_pmt
Definition: TileRawChannelToNtuple.h:67
TileRawChannelToNtuple::m_tileHWID
const TileHWID * m_tileHWID
Definition: TileRawChannelToNtuple.h:74
TileRawChannelToNtuple::m_channel
NTuple::Array< int > m_channel
Definition: TileRawChannelToNtuple.h:68