ATLAS Offline Software
Loading...
Searching...
No Matches
TileHitToNtuple.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 : TileHitToNtuple.h
7// Author : Gia
8// Created : March. 2003
9//
10// DESCRIPTION
11//
12// To create Hit Ntuple file from TileHitContainer
13//
14// Properties (JobOption Parameters):
15//
16// TileHitContainer string key value of Hits in TDS
17// NtupleLoc string pathname of ntuple file
18// NtupleID string ID of ntuple
19//
20// BUGS:
21//
22// History:
23//
24//
25//****************************************************************************
26#ifndef TileHitToNtuple_H
27#define TileHitToNtuple_H
28
29#include "GaudiKernel/NTuple.h"
31
32class TileID;
33
34#include <string>
35
37public:
38 //Constructor
39 TileHitToNtuple(const std::string& name, ISvcLocator* pSvcLocator);
40
41 //Destructor
42 virtual ~TileHitToNtuple();
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;
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_time;
61 NTuple::Array<int> m_pmt ;
62
63 NTuple::Array<int> m_detector;
64 NTuple::Array<int> m_side;
65 NTuple::Array<int> m_sample;
66 NTuple::Array<int> m_eta;
67 NTuple::Array<int> m_phi;
68
69 std::string m_hitContainer;
70
72};
73
74#endif
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
NTuple::Array< int > m_detector
NTuple::Array< float > m_energy
NTuple::Array< int > m_sample
NTuple::Item< double > m_tolE
NTuple::Array< int > m_side
NTuple::Array< int > m_eta
virtual ~TileHitToNtuple()
StatusCode finalize()
std::string m_hitContainer
TileHitToNtuple(const std::string &name, ISvcLocator *pSvcLocator)
const TileID * m_tileID
NTuple::Array< int > m_phi
std::string m_ntupleID
StatusCode initialize()
NTuple::Tuple * m_ntuplePtr
NTuple::Array< float > m_time
NTuple::Array< int > m_pmt
NTuple::Item< int > m_nchan
std::string m_ntupleLoc
Helper class for TileCal offline identifiers.
Definition TileID.h:67