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 : virtual public AthAlgTool,
31  virtual public IAugmentationTool {
32  public:
33  BTrackVertexMapLogger(const std::string& t, const std::string& n,
34  const IInterface* p);
35 
36  virtual StatusCode initialize();
37  virtual StatusCode finalize();
38 
39  virtual StatusCode addBranches() const;
40 
41  private:
42  // job options
43  ToolHandleArray<xAOD::IBPhysTrackVertexMapTool> m_ttvmTools;
44  bool m_enable;
45 
46  }; // class
47 } // namespace
48 
49 #endif // DERIVATIONFRAMEWORK_BTrackVertexMapLogger_H
python.PerfMonSerializer.p
def p
Definition: PerfMonSerializer.py:743
IAugmentationTool.h
IBPhysTrackVertexMapTool.h
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
DerivationFramework::IAugmentationTool
Definition: IAugmentationTool.h:24
DerivationFramework::BTrackVertexMapLogger::BTrackVertexMapLogger
BTrackVertexMapLogger(const std::string &t, const std::string &n, const IInterface *p)
Definition: BTrackVertexMapLogger.cxx:46
beamspotman.n
n
Definition: beamspotman.py:731
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:43
DerivationFramework::BTrackVertexMapLogger
Definition: BTrackVertexMapLogger.h:31
DerivationFramework::BTrackVertexMapLogger::finalize
virtual StatusCode finalize()
Definition: BTrackVertexMapLogger.cxx:78
DerivationFramework::BTrackVertexMapLogger::addBranches
virtual StatusCode addBranches() const
Pass the thinning service
Definition: BTrackVertexMapLogger.cxx:86
DerivationFramework::BTrackVertexMapLogger::initialize
virtual StatusCode initialize()
Definition: BTrackVertexMapLogger.cxx:60
AthAlgTool
Definition: AthAlgTool.h:26
DerivationFramework::BTrackVertexMapLogger::m_enable
bool m_enable
Definition: BTrackVertexMapLogger.h:44