ATLAS Offline Software
Loading...
Searching...
No Matches
TileTTL1ToNtuple.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 : TileTTL1ToNtuple.h
7// Author : Sanya.Solodkov@cern.ch
8// Created : Nov 2005
9//
10// DESCRIPTION
11//
12// To create Ntuple with all TileTTL1 file from TileTTL1Container
13//
14// Properties (JobOption Parameters):
15//
16// TileTTL1Container string key value of TileTTL1 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 TileTTL1ToNtuple_H
27#define TileTTL1ToNtuple_H
28
29#include "GaudiKernel/NTuple.h"
31
32class CaloLVL1_ID;
33class TileTBID;
34
35#include <string>
36
38public:
39 //Constructor
40 TileTTL1ToNtuple(const std::string& name, ISvcLocator* pSvcLocator);
41
42 //Destructor
43 virtual ~TileTTL1ToNtuple();
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;
57
58 NTuple::Item<int> m_nchan;
59
60 NTuple::Array<int> m_side;
61 NTuple::Array<int> m_eta;
62 NTuple::Array<int> m_phi;
63
64 NTuple::Matrix<float> m_samples;
65
66 std::string m_ttl1Container;
67
70};
71
72#endif
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
Helper class for offline TT identifiers.
Definition CaloLVL1_ID.h:66
Helper class for TileCal offline identifiers of ancillary testbeam detectors and MBTS.
const CaloLVL1_ID * m_TT_ID
std::string m_ntupleID
NTuple::Array< int > m_eta
const TileTBID * m_tileTBID
NTuple::Matrix< float > m_samples
NTuple::Tuple * m_ntuplePtr
NTuple::Array< int > m_side
std::string m_ntupleLoc
std::string m_ttl1Container
NTuple::Array< int > m_phi
TileTTL1ToNtuple(const std::string &name, ISvcLocator *pSvcLocator)
NTuple::Item< int > m_nchan
StatusCode initialize()