ATLAS Offline Software
Loading...
Searching...
No Matches
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
32class TileID;
33class TileTBID;
34
35#include <string>
36
38public:
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();
48 StatusCode finalize();
49
50private:
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
78};
79
80#endif
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
const TileTBID * m_tileTBID
NTuple::Array< int > m_channel
NTuple::Array< int > m_eta
TileCellToNtuple(const std::string &name, ISvcLocator *pSvcLocator)
NTuple::Array< float > m_time
NTuple::Array< int > m_side
NTuple::Array< int > m_type
NTuple::Array< float > m_quality
NTuple::Array< int > m_module
NTuple::Item< int > m_nchan
NTuple::Array< float > m_energy
std::string m_cellContainer
NTuple::Array< int > m_phi
StatusCode initialize()
std::string m_ntupleID
NTuple::Array< int > m_sample
NTuple::Item< double > m_tolE
NTuple::Array< float > m_enediff
const TileID * m_tileID
std::string m_ntupleLoc
NTuple::Array< int > m_detector
NTuple::Tuple * m_ntuplePtr
Helper class for TileCal offline identifiers.
Definition TileID.h:67
Helper class for TileCal offline identifiers of ancillary testbeam detectors and MBTS.