ATLAS Offline Software
TileCellToNtuple.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 : TileCellToNtuple.h
7 // Author : Zhifang
8 // Created : Jan. 2003
9 //
10 // DESCRIPTION
11 //
12 // To create Cell Ntuple file from CaloCell container
13 //
14 // Properties (JobOption Parameters):
15 //
16 // TileCellContainer string key value of Cells 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 TileCellToNtuple_H
27 #define TileCellToNtuple_H
28 
29 #include "GaudiKernel/NTuple.h"
31 
32 class TileID;
33 class TileTBID;
34 
35 #include <string>
36 
38 public:
39  //Constructor
40  TileCellToNtuple(const std::string& name, ISvcLocator* pSvcLocator);
41 
42  //Destructor
43  virtual ~TileCellToNtuple();
44 
45  //Gaudi Hooks
49 
50 private:
51  NTuple::Tuple* m_ntuplePtr;
52  std::string m_ntupleID;
53  std::string m_ntupleLoc;
55 
56  NTuple::Item<int> m_nchan;
57  NTuple::Item<double> m_tolE;
58 
59  NTuple::Array<float> m_energy;
60  NTuple::Array<float> m_enediff;
61  NTuple::Array<float> m_time;
62  NTuple::Array<float> m_quality;
63 
64  NTuple::Array<int> m_detector;
65  NTuple::Array<int> m_side;
66  NTuple::Array<int> m_sample;
67  NTuple::Array<int> m_eta;
68  NTuple::Array<int> m_phi;
69 
70  NTuple::Array<int> m_type;
71  NTuple::Array<int> m_channel;
72  NTuple::Array<int> m_module;
73 
74  std::string m_cellContainer;
75 
76  const TileID* m_tileID;
78 };
79 
80 #endif
TileCellToNtuple::finalize
StatusCode finalize()
Definition: TileCellToNtuple.cxx:183
TileCellToNtuple::m_module
NTuple::Array< int > m_module
Definition: TileCellToNtuple.h:72
TileCellToNtuple::initialize
StatusCode initialize()
Definition: TileCellToNtuple.cxx:62
TileCellToNtuple::m_cellContainer
std::string m_cellContainer
Definition: TileCellToNtuple.h:74
TileCellToNtuple::m_phi
NTuple::Array< int > m_phi
Definition: TileCellToNtuple.h:68
TileCellToNtuple::TileCellToNtuple
TileCellToNtuple(const std::string &name, ISvcLocator *pSvcLocator)
Definition: TileCellToNtuple.cxx:41
TileCellToNtuple::m_energy
NTuple::Array< float > m_energy
Definition: TileCellToNtuple.h:59
TileCellToNtuple::m_channel
NTuple::Array< int > m_channel
Definition: TileCellToNtuple.h:71
TileCellToNtuple::m_type
NTuple::Array< int > m_type
Definition: TileCellToNtuple.h:70
TileCellToNtuple::m_nchan
NTuple::Item< int > m_nchan
Definition: TileCellToNtuple.h:56
AthAlgorithm.h
TileCellToNtuple::m_quality
NTuple::Array< float > m_quality
Definition: TileCellToNtuple.h:62
TileCellToNtuple::m_detector
NTuple::Array< int > m_detector
Definition: TileCellToNtuple.h:64
TileCellToNtuple::m_tileTBID
const TileTBID * m_tileTBID
Definition: TileCellToNtuple.h:77
TileCellToNtuple::m_sample
NTuple::Array< int > m_sample
Definition: TileCellToNtuple.h:66
TileCellToNtuple::m_tileID
const TileID * m_tileID
Definition: TileCellToNtuple.h:76
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
TileCellToNtuple::m_scinCells
bool m_scinCells
Definition: TileCellToNtuple.h:54
TileCellToNtuple::m_time
NTuple::Array< float > m_time
Definition: TileCellToNtuple.h:61
TileCellToNtuple::m_ntupleLoc
std::string m_ntupleLoc
Definition: TileCellToNtuple.h:53
TileCellToNtuple::m_ntuplePtr
NTuple::Tuple * m_ntuplePtr
Definition: TileCellToNtuple.h:51
TileCellToNtuple::m_side
NTuple::Array< int > m_side
Definition: TileCellToNtuple.h:65
AthAlgorithm
Definition: AthAlgorithm.h:47
TileCellToNtuple::execute
StatusCode execute()
Definition: TileCellToNtuple.cxx:111
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
TileCellToNtuple::m_ntupleID
std::string m_ntupleID
Definition: TileCellToNtuple.h:52
TileCellToNtuple::~TileCellToNtuple
virtual ~TileCellToNtuple()
Definition: TileCellToNtuple.cxx:57
TileCellToNtuple::m_eta
NTuple::Array< int > m_eta
Definition: TileCellToNtuple.h:67
TileCellToNtuple
Definition: TileCellToNtuple.h:37
TileCellToNtuple::m_enediff
NTuple::Array< float > m_enediff
Definition: TileCellToNtuple.h:60
TileTBID
Helper class for TileCal offline identifiers of ancillary testbeam detectors and MBTS.
Definition: Calorimeter/CaloIdentifier/CaloIdentifier/TileTBID.h:65
TileCellToNtuple::m_tolE
NTuple::Item< double > m_tolE
Definition: TileCellToNtuple.h:57