ATLAS Offline Software
BTrackVertexMapLogger.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 // BTrackVertexMapLogger.h
7 //============================================================================
8 //
9 // Author : Wolfgang Walkowiak <Wolfgang.Walkowiak@cern.ch.>
10 // Changes:
11 //
12 // Initiate dumps of track-to-vertex maps to log file which are provided
13 // by BPhysTrackVertexMapTool instances.
14 //
15 // The BPhysTrackVertexMapTool instances need to be configured separately
16 // and handed to this tool.
17 //
18 //============================================================================
19 //
20 #ifndef DERIVATIONFRAMEWORK_BTrackVertexMapLogger_H
21 #define DERIVATIONFRAMEWORK_BTrackVertexMapLogger_H
22 
25 #include "GaudiKernel/ToolHandle.h"
27 
28 namespace DerivationFramework {
29 
30  class BTrackVertexMapLogger : public extends<AthAlgTool, IAugmentationTool> {
31  public:
32  BTrackVertexMapLogger(const std::string& t, const std::string& n,
33  const IInterface* p);
34 
35  virtual StatusCode initialize();
36  virtual StatusCode finalize();
37 
38  virtual StatusCode addBranches() const;
39 
40  private:
41  // job options
42  ToolHandleArray<xAOD::IBPhysTrackVertexMapTool> m_ttvmTools;
43  bool m_enable;
44 
45  }; // class
46 } // namespace
47 
48 #endif // DERIVATIONFRAMEWORK_BTrackVertexMapLogger_H
IAugmentationTool.h
IBPhysTrackVertexMapTool.h
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
DerivationFramework::BTrackVertexMapLogger::BTrackVertexMapLogger
BTrackVertexMapLogger(const std::string &t, const std::string &n, const IInterface *p)
Definition: BTrackVertexMapLogger.cxx:46
python.utils.AtlRunQueryDQUtils.p
p
Definition: AtlRunQueryDQUtils.py:209
beamspotman.n
n
Definition: beamspotman.py:729
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgTool.h
DerivationFramework
THE reconstruction tool.
Definition: ParticleSortingAlg.h:24
DerivationFramework::BTrackVertexMapLogger::m_ttvmTools
ToolHandleArray< xAOD::IBPhysTrackVertexMapTool > m_ttvmTools
Definition: BTrackVertexMapLogger.h:42
DerivationFramework::BTrackVertexMapLogger
Definition: BTrackVertexMapLogger.h:30
DerivationFramework::BTrackVertexMapLogger::finalize
virtual StatusCode finalize()
Definition: BTrackVertexMapLogger.cxx:76
DerivationFramework::BTrackVertexMapLogger::addBranches
virtual StatusCode addBranches() const
Definition: BTrackVertexMapLogger.cxx:84
DerivationFramework::BTrackVertexMapLogger::initialize
virtual StatusCode initialize()
Definition: BTrackVertexMapLogger.cxx:58
DerivationFramework::BTrackVertexMapLogger::m_enable
bool m_enable
Definition: BTrackVertexMapLogger.h:43