ATLAS Offline Software
Loading...
Searching...
No Matches
TileHitVecToNtuple.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3*/
4
5//****************************************************************************
6// Filename : TileHitVecToNtuple.h
7// Author : Mikhail Makouski
8// Created : July. 2005
9//
10// DESCRIPTION
11//
12// To create Hit Ntuple file from TileHitVector
13//
14// Properties (JobOption Parameters):
15//
16// TileHitVector string key value of HitVector
17// NtupleLoc string pathname of ntuple file
18// NtupleID string ID of ntuple
19//
20// BUGS:
21//
22// History:
23//
24//
25//****************************************************************************
26
27#ifndef TileHitVecToNtuple_H
28#define TileHitVecToNtuple_H
29
30#include "GaudiKernel/NTuple.h"
32
33class TileID;
34
35#include <string>
36
38public:
39 // Constructor
40 TileHitVecToNtuple(const std::string& name, ISvcLocator* pSvcLocator);
41
42 //Destructor
43 virtual ~TileHitVecToNtuple();
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;
56
57 NTuple::Item<int> m_nchan;
58 NTuple::Item<double> m_tolE;
59 NTuple::Item<double> m_tolE0;
60 NTuple::Item<double> m_tolE1;
61 NTuple::Item<double> m_tolE2;
62 NTuple::Item<double> m_tolE3;
63 NTuple::Item<double> m_tolE4;
64
65 NTuple::Array<float> m_energy;
66 NTuple::Array<float> m_time;
67 NTuple::Array<int> m_pmt ;
68
69 NTuple::Array<int> m_detector;
70 NTuple::Array<int> m_side;
71 NTuple::Array<int> m_sample;
72 NTuple::Array<int> m_eta;
73 NTuple::Array<int> m_phi;
74
75 std::string m_hitVector;
76
78};
79
80#endif
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
NTuple::Item< double > m_tolE4
NTuple::Array< float > m_energy
NTuple::Array< int > m_phi
const TileID * m_tileID
NTuple::Array< int > m_sample
NTuple::Array< int > m_eta
TileHitVecToNtuple(const std::string &name, ISvcLocator *pSvcLocator)
NTuple::Array< int > m_pmt
NTuple::Array< int > m_detector
NTuple::Item< int > m_nchan
NTuple::Array< float > m_time
NTuple::Array< int > m_side
NTuple::Tuple * m_ntuplePtr
NTuple::Item< double > m_tolE2
NTuple::Item< double > m_tolE1
NTuple::Item< double > m_tolE3
NTuple::Item< double > m_tolE
NTuple::Item< double > m_tolE0
Helper class for TileCal offline identifiers.
Definition TileID.h:67