ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
TileCalorimeter
TileRec
TileRec
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"
30
#include "
AthenaBaseComps/AthAlgorithm.h
"
31
32
class
TileID
;
33
class
TileTBID
;
34
35
#include <string>
36
37
class
TileCellToNtuple
:
public
AthAlgorithm
{
38
public
:
39
//Constructor
40
TileCellToNtuple
(
const
std::string& name, ISvcLocator* pSvcLocator);
41
42
//Destructor
43
virtual
~TileCellToNtuple
();
44
45
//Gaudi Hooks
46
StatusCode
initialize
();
47
StatusCode
execute
(
const
EventContext& ctx);
48
StatusCode
finalize
();
49
50
private
:
51
NTuple::Tuple*
m_ntuplePtr
;
52
std::string
m_ntupleID
;
53
std::string
m_ntupleLoc
;
54
bool
m_scinCells
;
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
;
77
const
TileTBID
*
m_tileTBID
;
78
};
79
80
#endif
AthAlgorithm.h
AthAlgorithm::AthAlgorithm
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Definition
AthAlgorithm.cxx:10
TileCellToNtuple::m_tileTBID
const TileTBID * m_tileTBID
Definition
TileCellToNtuple.h:77
TileCellToNtuple::m_channel
NTuple::Array< int > m_channel
Definition
TileCellToNtuple.h:71
TileCellToNtuple::m_eta
NTuple::Array< int > m_eta
Definition
TileCellToNtuple.h:67
TileCellToNtuple::TileCellToNtuple
TileCellToNtuple(const std::string &name, ISvcLocator *pSvcLocator)
Definition
TileCellToNtuple.cxx:41
TileCellToNtuple::~TileCellToNtuple
virtual ~TileCellToNtuple()
Definition
TileCellToNtuple.cxx:57
TileCellToNtuple::m_time
NTuple::Array< float > m_time
Definition
TileCellToNtuple.h:61
TileCellToNtuple::m_side
NTuple::Array< int > m_side
Definition
TileCellToNtuple.h:65
TileCellToNtuple::m_type
NTuple::Array< int > m_type
Definition
TileCellToNtuple.h:70
TileCellToNtuple::m_quality
NTuple::Array< float > m_quality
Definition
TileCellToNtuple.h:62
TileCellToNtuple::finalize
StatusCode finalize()
Definition
TileCellToNtuple.cxx:183
TileCellToNtuple::m_module
NTuple::Array< int > m_module
Definition
TileCellToNtuple.h:72
TileCellToNtuple::m_scinCells
bool m_scinCells
Definition
TileCellToNtuple.h:54
TileCellToNtuple::m_nchan
NTuple::Item< int > m_nchan
Definition
TileCellToNtuple.h:56
TileCellToNtuple::m_energy
NTuple::Array< float > m_energy
Definition
TileCellToNtuple.h:59
TileCellToNtuple::m_cellContainer
std::string m_cellContainer
Definition
TileCellToNtuple.h:74
TileCellToNtuple::m_phi
NTuple::Array< int > m_phi
Definition
TileCellToNtuple.h:68
TileCellToNtuple::initialize
StatusCode initialize()
Definition
TileCellToNtuple.cxx:62
TileCellToNtuple::m_ntupleID
std::string m_ntupleID
Definition
TileCellToNtuple.h:52
TileCellToNtuple::m_sample
NTuple::Array< int > m_sample
Definition
TileCellToNtuple.h:66
TileCellToNtuple::m_tolE
NTuple::Item< double > m_tolE
Definition
TileCellToNtuple.h:57
TileCellToNtuple::m_enediff
NTuple::Array< float > m_enediff
Definition
TileCellToNtuple.h:60
TileCellToNtuple::m_tileID
const TileID * m_tileID
Definition
TileCellToNtuple.h:76
TileCellToNtuple::execute
StatusCode execute(const EventContext &ctx)
Execute method.
Definition
TileCellToNtuple.cxx:111
TileCellToNtuple::m_ntupleLoc
std::string m_ntupleLoc
Definition
TileCellToNtuple.h:53
TileCellToNtuple::m_detector
NTuple::Array< int > m_detector
Definition
TileCellToNtuple.h:64
TileCellToNtuple::m_ntuplePtr
NTuple::Tuple * m_ntuplePtr
Definition
TileCellToNtuple.h:51
TileID
Helper class for TileCal offline identifiers.
Definition
TileID.h:67
TileTBID
Helper class for TileCal offline identifiers of ancillary testbeam detectors and MBTS.
Definition
Calorimeter/CaloIdentifier/CaloIdentifier/TileTBID.h:65
Generated on
for ATLAS Offline Software by
1.17.0