ATLAS Offline Software
Loading...
Searching...
No Matches
TileCellIDCToNtuple.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 : TileCellIDCToNtuple.h
7// Author : Zhifang
8// Created : Jan. 2003
9//
10// DESCRIPTION
11//
12// To create Cell Ntuple file from CellIDC 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 TileCellIDCToNtuple_H
27#define TileCellIDCToNtuple_H
28
29#include "GaudiKernel/NTuple.h"
31
32class TileID;
33
34#include <string>
35
37public:
38 //Constructor
39 TileCellIDCToNtuple(const std::string& name, ISvcLocator* pSvcLocator);
40
41 //Destructor
42 virtual ~TileCellIDCToNtuple();
43
44 //Gaudi Hooks
45 StatusCode initialize();
46 StatusCode execute();
47 StatusCode finalize();
48
49private:
50 NTuple::Tuple* m_ntuplePtr;
51 std::string m_ntupleID;
52 std::string m_ntupleLoc;
53
54 NTuple::Item<int> m_nchan;
55 NTuple::Item<double> m_tolE;
56
57 NTuple::Array<float> m_energy;
58 NTuple::Array<float> m_enediff;
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
68 std::string m_cellContainer;
70};
71
72#endif
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
NTuple::Item< double > m_tolE
NTuple::Array< float > m_energy
NTuple::Array< int > m_sample
NTuple::Array< float > m_time
NTuple::Array< int > m_phi
NTuple::Item< int > m_nchan
NTuple::Tuple * m_ntuplePtr
NTuple::Array< int > m_eta
NTuple::Array< int > m_detector
NTuple::Array< float > m_quality
NTuple::Array< float > m_enediff
NTuple::Array< int > m_side
TileCellIDCToNtuple(const std::string &name, ISvcLocator *pSvcLocator)
Helper class for TileCal offline identifiers.
Definition TileID.h:67