ATLAS Offline Software
Loading...
Searching...
No Matches
INav4MomDumper.h
Go to the documentation of this file.
1
2
3/*
4 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
5*/
6
7// INav4MomDumper.h
8// Header file for class INav4MomDumper
9// Author: S.Binet<binet@cern.ch>
11#ifndef EVENTCOMMONALGS_INAV4MOMDUMPER_H
12#define EVENTCOMMONALGS_INAV4MOMDUMPER_H
13
14// STL includes
15#include <string>
16#include <iosfwd>
17
18
19// FrameWork includes
21#include "GaudiKernel/ServiceHandle.h"
22
24{
25
27 // Public methods:
29 public:
30
31 // Copy constructor:
32
34 INav4MomDumper( const std::string& name, ISvcLocator* pSvcLocator );
35
37 virtual ~INav4MomDumper();
38
39 // Assignment operator:
40 //INav4MomDumper &operator=(const INav4MomDumper &alg);
41
42 // Athena algorithm's Hooks
43 virtual StatusCode initialize();
44 virtual StatusCode execute();
45 virtual StatusCode finalize();
46
48 // Const methods:
50
52 // Non-const methods:
54
59 StatusCode dump( const std::string& collName );
60
62 // Protected methods:
64 protected:
65
68
71 void setupOutputStream( Gaudi::Details::PropertyBase& outputStreamName );
72
74 // Protected data:
76 protected:
77 // Containers
78
80 StringArrayProperty m_inav4momContainersName;
81
86 StringProperty m_outputStreamName;
87
90 std::ostream * m_outputStream;
91};
92
95
99
100#endif //> EVENTCOMMONALGS_INAV4MOMDUMPER_H
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
StringArrayProperty m_inav4momContainersName
List of INavigable4Momentum containers one wants to dump.
virtual ~INav4MomDumper()
Destructor:
std::ostream * m_outputStream
pointer to the file descriptor in case the output stream is not a "MsgStream"
StringProperty m_outputStreamName
Name of the output stream where we'll dump informations from the INav4MomAssocs object.
virtual StatusCode initialize()
virtual StatusCode finalize()
void setupOutputStream(Gaudi::Details::PropertyBase &outputStreamName)
Callback method to configure the output stream into which we'll dump the informations from INavigable...
INav4MomDumper(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
INav4MomDumper()
Default constructor:
virtual StatusCode execute()
-event-from-file