ATLAS Offline Software
Loading...
Searching...
No Matches
TileMuToNtuple.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 : TileMuToNtuple.h
7//
8// create ntuple with tile mu tag information
9//
10// JobOption Parameters
11//
12// TileMuTagContainer string key value of the TileMuContainer in TDS
13// NtupleLoc string pathname of ntuple file
14// NtupleID int ID of ntuple
15//
16//****************************************************************************
17#ifndef TILEMUID_TILEMUTONTUPLE_H
18#define TILEMUID_TILEMUTONTUPLE_H
19
20// Tile includes
22
23// Athena includes
26
27// Gaudi includes
28#include "GaudiKernel/NTuple.h"
29
30
31#include <string>
32
33
35 public:
36 //Constructor
37 TileMuToNtuple(const std::string& name, ISvcLocator* pSvcLocator);
38
39 //Destructor
40 virtual ~TileMuToNtuple();
41
42 //Gaudi Hooks
43 StatusCode initialize();
44 StatusCode execute();
45 StatusCode finalize();
46
47 private:
48
49 NTuple::Tuple* m_ntuplePtr;
53 std::string m_ntupleLoc;
54
55 NTuple::Item<int> m_ntag;
56 NTuple::Array<float> m_eta;
57 NTuple::Array<float> m_phi;
58 NTuple::Matrix<float> m_energy;
59 NTuple::Array<float> m_quality;
60
61 std::string m_tileMuContainer;
62
64 "TileMuObj",
65 "Input Tile mu container key"};
66
67};
68
69#endif
Property holding a SG store/key/clid from which a ReadHandle is made.
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
Property holding a SG store/key/clid from which a ReadHandle is made.
std::string m_ntupleLoc
NTuple::Tuple * m_ntuplePtr
NTuple::Item< int > m_ntag
StatusCode finalize()
NTuple::Array< float > m_phi
NTuple::Array< float > m_quality
SG::ReadHandleKey< TileMuContainer > m_muContainerKey
TileMuToNtuple(const std::string &name, ISvcLocator *pSvcLocator)
virtual ~TileMuToNtuple()
StatusCode execute()
std::string m_tileMuContainer
NTuple::Array< float > m_eta
NTuple::Matrix< float > m_energy
StatusCode initialize()