ATLAS Offline Software
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 
32 class CaloLVL1_ID;
33 class TileTBID;
34 
35 #include <string>
36 
38 public:
39  //Constructor
40  TileTTL1ToNtuple(const std::string& name, ISvcLocator* pSvcLocator);
41 
42  //Destructor
43  virtual ~TileTTL1ToNtuple();
44 
45  //Gaudi Hooks
49 
50 private:
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
TileTTL1ToNtuple::~TileTTL1ToNtuple
virtual ~TileTTL1ToNtuple()
Definition: TileTTL1ToNtuple.cxx:53
TileTTL1ToNtuple::m_eta
NTuple::Array< int > m_eta
Definition: TileTTL1ToNtuple.h:61
TileTTL1ToNtuple::m_nSamples
int m_nSamples
Definition: TileTTL1ToNtuple.h:56
TileTTL1ToNtuple::m_tileTBID
const TileTBID * m_tileTBID
Definition: TileTTL1ToNtuple.h:69
TileTTL1ToNtuple::m_samples
NTuple::Matrix< float > m_samples
Definition: TileTTL1ToNtuple.h:64
AthAlgorithm.h
TileTTL1ToNtuple::m_ntupleLoc
std::string m_ntupleLoc
Definition: TileTTL1ToNtuple.h:53
TileTTL1ToNtuple::initialize
StatusCode initialize()
Definition: TileTTL1ToNtuple.cxx:61
TileTTL1ToNtuple::m_ntupleID
std::string m_ntupleID
Definition: TileTTL1ToNtuple.h:52
TileTTL1ToNtuple::m_ttl1Container
std::string m_ttl1Container
Definition: TileTTL1ToNtuple.h:66
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
TileTTL1ToNtuple::TileTTL1ToNtuple
TileTTL1ToNtuple(const std::string &name, ISvcLocator *pSvcLocator)
Definition: TileTTL1ToNtuple.cxx:35
TileTTL1ToNtuple::m_phi
NTuple::Array< int > m_phi
Definition: TileTTL1ToNtuple.h:62
TileTTL1ToNtuple::m_nchan
NTuple::Item< int > m_nchan
Definition: TileTTL1ToNtuple.h:58
TileTTL1ToNtuple::finalize
StatusCode finalize()
Definition: TileTTL1ToNtuple.cxx:176
TileTTL1ToNtuple
Definition: TileTTL1ToNtuple.h:37
AthAlgorithm
Definition: AthAlgorithm.h:47
TileTTL1ToNtuple::m_commitNtuple
bool m_commitNtuple
Definition: TileTTL1ToNtuple.h:54
TileTTL1ToNtuple::m_maxLength
int m_maxLength
Definition: TileTTL1ToNtuple.h:55
TileTTL1ToNtuple::m_TT_ID
const CaloLVL1_ID * m_TT_ID
Definition: TileTTL1ToNtuple.h:68
CaloLVL1_ID
Helper class for offline TT identifiers.
Definition: CaloLVL1_ID.h:66
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
TileTBID
Helper class for TileCal offline identifiers of ancillary testbeam detectors and MBTS.
Definition: Calorimeter/CaloIdentifier/CaloIdentifier/TileTBID.h:65
TileTTL1ToNtuple::m_ntuplePtr
NTuple::Tuple * m_ntuplePtr
Definition: TileTTL1ToNtuple.h:51
TileTTL1ToNtuple::execute
StatusCode execute()
Definition: TileTTL1ToNtuple.cxx:110
TileTTL1ToNtuple::m_side
NTuple::Array< int > m_side
Definition: TileTTL1ToNtuple.h:60