ATLAS Offline Software
RootAsciiDumperAlgHandle.h
Go to the documentation of this file.
1 
3 /*
4  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
5 */
6 
7 // RootAsciiDumperAlgHandle.h
8 // Header file for class RootAsciiDumperAlgHandle
9 // Author: S.Binet<binet@cern.ch>
11 #ifndef ATHENAROOTCOMPS_ATHENA_ROOTASCIIDUMPERALGHANDLE_H
12 #define ATHENAROOTCOMPS_ATHENA_ROOTASCIIDUMPERALGHANDLE_H 1
13 
14 // STL includes
15 #include <string>
16 #include <vector>
17 #include <stdint.h>
18 
19 // FrameWork includes
23 
24 namespace Athena {
25 
27  : public ::AthAlgorithm
28 {
29 
31  // Public methods:
33  public:
34 
35  // Copy constructor:
36 
38  RootAsciiDumperAlgHandle( const std::string& name, ISvcLocator* pSvcLocator );
39 
41  virtual ~RootAsciiDumperAlgHandle();
42 
43  // Assignment operator:
44  //RootAsciiDumperAlgHandle &operator=(const RootAsciiDumperAlgHandle &alg);
45 
46  // Athena algorithm's Hooks
47  virtual StatusCode initialize();
48  virtual StatusCode execute();
49  virtual StatusCode finalize();
50 
52  // Const methods:
54 
56  // Non-const methods:
58 
60  // Private data:
62  private:
63 
66 
68  std::string m_ofname;
69 
71  int m_ofd;
72 
75 
78 
81 
84 
87 
90 
92 };
93 
94 // I/O operators
96 
98 // Inline methods:
100 
101 } //> end namespace Athena
102 #endif //> !ATHENAROOTCOMPS_ATHENA_ROOTASCIIDUMPERALGHANDLE_H
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
Athena::RootAsciiDumperAlgHandle::m_eiKey
SG::ReadHandleKey< xAOD::EventInfo > m_eiKey
Definition: RootAsciiDumperAlgHandle.h:91
Athena::RootAsciiDumperAlgHandle::m_ofd
int m_ofd
file handle to the ASCII output file
Definition: RootAsciiDumperAlgHandle.h:71
Athena::RootAsciiDumperAlgHandle
Definition: RootAsciiDumperAlgHandle.h:28
Athena::RootAsciiDumperAlgHandle::m_evtnbr
SG::RVar< uint32_t > m_evtnbr
event number
Definition: RootAsciiDumperAlgHandle.h:80
Athena::RootAsciiDumperAlgHandle::m_el_eta
SG::RVar< std::vector< float > > m_el_eta
eta of electrons
Definition: RootAsciiDumperAlgHandle.h:86
Athena::RootAsciiDumperAlgHandle::m_ofname
std::string m_ofname
ASCII output file name.
Definition: RootAsciiDumperAlgHandle.h:68
Athena::RootAsciiDumperAlgHandle::finalize
virtual StatusCode finalize()
Definition: RootAsciiDumperAlgHandle.cxx:126
SG::ReadHandleKey< xAOD::EventInfo >
Athena::RootAsciiDumperAlgHandle::m_el_n
SG::RVar< int32_t > m_el_n
number of electrons
Definition: RootAsciiDumperAlgHandle.h:83
ReadHandle< T >
a smart pointer to an object of a given type in an IProxyDict (such as StoreGateSvc)....
AthAlgorithm.h
Athena::RootAsciiDumperAlgHandle::m_el_jetcone_dr
SG::RVar< std::vector< std::vector< float > > > m_el_jetcone_dr
jetcone dR
Definition: RootAsciiDumperAlgHandle.h:89
Athena
Some weak symbol referencing magic...
Definition: AthLegacySequence.h:21
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
Athena::RootAsciiDumperAlgHandle::initialize
virtual StatusCode initialize()
Definition: RootAsciiDumperAlgHandle.cxx:97
xAOD::uint64_t
uint64_t
Definition: EventInfo_v1.cxx:123
Athena::RootAsciiDumperAlgHandle::RootAsciiDumperAlgHandle
RootAsciiDumperAlgHandle()
Default constructor:
AthAlgorithm
Definition: AthAlgorithm.h:47
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
Athena::RootAsciiDumperAlgHandle::m_nentries
uint64_t m_nentries
number of entries processed so-far
Definition: RootAsciiDumperAlgHandle.h:74
Athena::RootAsciiDumperAlgHandle::m_runnbr
SG::RVar< uint32_t > m_runnbr
run number
Definition: RootAsciiDumperAlgHandle.h:77
EventInfo.h
Athena::RootAsciiDumperAlgHandle::execute
virtual StatusCode execute()
Definition: RootAsciiDumperAlgHandle.cxx:140
Athena::RootAsciiDumperAlgHandle::~RootAsciiDumperAlgHandle
virtual ~RootAsciiDumperAlgHandle()
Destructor:
Definition: RootAsciiDumperAlgHandle.cxx:92