ATLAS Offline Software
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
46 
47  private:
48 
49  NTuple::Tuple* m_ntuplePtr;
51  int m_maxNtag;
52  int m_close;
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
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
TileMuToNtuple::m_close
int m_close
Definition: TileMuToNtuple.h:52
TileMuToNtuple::m_phi
NTuple::Array< float > m_phi
Definition: TileMuToNtuple.h:57
TileMuToNtuple::m_muContainerKey
SG::ReadHandleKey< TileMuContainer > m_muContainerKey
Definition: TileMuToNtuple.h:63
TileMuToNtuple::m_eta
NTuple::Array< float > m_eta
Definition: TileMuToNtuple.h:56
TileMuToNtuple::finalize
StatusCode finalize()
Definition: TileMuToNtuple.cxx:110
TileMuToNtuple::m_ntupleLoc
std::string m_ntupleLoc
Definition: TileMuToNtuple.h:53
TileMuToNtuple::~TileMuToNtuple
virtual ~TileMuToNtuple()
Definition: TileMuToNtuple.cxx:40
TileMuToNtuple::TileMuToNtuple
TileMuToNtuple(const std::string &name, ISvcLocator *pSvcLocator)
Definition: TileMuToNtuple.cxx:24
TileMuToNtuple::m_ntag
NTuple::Item< int > m_ntag
Definition: TileMuToNtuple.h:55
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition: StoreGate/StoreGate/ReadHandleKey.h:39
TileMuToNtuple
Definition: TileMuToNtuple.h:34
AthAlgorithm.h
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
TileMuToNtuple::m_energy
NTuple::Matrix< float > m_energy
Definition: TileMuToNtuple.h:58
TileMuToNtuple::m_ntuplePtr
NTuple::Tuple * m_ntuplePtr
Definition: TileMuToNtuple.h:49
AthAlgorithm
Definition: AthAlgorithm.h:47
TileMuToNtuple::m_maxNtag
int m_maxNtag
Definition: TileMuToNtuple.h:51
TileMuToNtuple::m_quality
NTuple::Array< float > m_quality
Definition: TileMuToNtuple.h:59
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
TileMuToNtuple::m_ntupleID
int m_ntupleID
Definition: TileMuToNtuple.h:50
TileMuToNtuple::initialize
StatusCode initialize()
Definition: TileMuToNtuple.cxx:44
TileMuToNtuple::m_tileMuContainer
std::string m_tileMuContainer
Definition: TileMuToNtuple.h:61
TileContainer.h
TileMuToNtuple::execute
StatusCode execute()
Definition: TileMuToNtuple.cxx:76