ATLAS Offline Software
RootAsciiDumperAlg.h
Go to the documentation of this file.
1 
3 /*
4  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
5 */
6 
7 // RootAsciiDumperAlg.h
8 // Header file for class RootAsciiDumperAlg
9 // Author: S.Binet<binet@cern.ch>
11 #ifndef ATHENAROOTCOMPS_ATHENA_ROOTASCIIDUMPERALG_H
12 #define ATHENAROOTCOMPS_ATHENA_ROOTASCIIDUMPERALG_H 1
13 
14 // STL includes
15 #include <string>
16 #include <vector>
17 #include <stdint.h>
18 
19 // FrameWork includes
21 
22 namespace Athena {
23 
25  : public ::AthAlgorithm
26 {
27 
29  // Public methods:
31  public:
32 
33  // Copy constructor:
34 
36  RootAsciiDumperAlg( const std::string& name, ISvcLocator* pSvcLocator );
37 
39  virtual ~RootAsciiDumperAlg();
40 
41  // Assignment operator:
42  //RootAsciiDumperAlg &operator=(const RootAsciiDumperAlg &alg);
43 
44  // Athena algorithm's Hooks
45  virtual StatusCode initialize();
46  virtual StatusCode execute();
47  virtual StatusCode finalize();
48 
50  // Const methods:
52 
54  // Non-const methods:
56 
58  // Private data:
60  private:
61 
64 
66  std::string m_ofname;
67 
69  int m_ofd{-1};
70 
73 
75  const uint32_t* m_runnbr{};
76 
78  const uint32_t* m_evtnbr{};
79 
81  const int32_t* m_el_n{};
82 
84  const std::vector<float> *m_el_eta;
85 
87  const std::vector<std::vector<float> > *m_el_jetcone_dr;
88 
89 };
90 
91 // I/O operators
93 
95 // Inline methods:
97 
98 } //> end namespace Athena
99 #endif //> !ATHENAROOTCOMPS_ATHENA_ROOTASCIIDUMPERALG_H
Athena::RootAsciiDumperAlg::m_nentries
uint64_t m_nentries
number of entries processed so-far
Definition: RootAsciiDumperAlg.h:72
xAOD::uint32_t
setEventNumber uint32_t
Definition: EventInfo_v1.cxx:127
Athena::RootAsciiDumperAlg::initialize
virtual StatusCode initialize()
Definition: RootAsciiDumperAlg.cxx:74
Athena::RootAsciiDumperAlg::m_el_n
const int32_t * m_el_n
number of electrons
Definition: RootAsciiDumperAlg.h:81
Athena::RootAsciiDumperAlg::execute
virtual StatusCode execute()
Definition: RootAsciiDumperAlg.cxx:111
AthAlgorithm.h
Athena::RootAsciiDumperAlg::m_runnbr
const uint32_t * m_runnbr
run number
Definition: RootAsciiDumperAlg.h:75
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::RootAsciiDumperAlg::m_el_eta
const std::vector< float > * m_el_eta
eta of electrons
Definition: RootAsciiDumperAlg.h:84
Athena::RootAsciiDumperAlg::~RootAsciiDumperAlg
virtual ~RootAsciiDumperAlg()
Destructor:
Definition: RootAsciiDumperAlg.cxx:69
Athena::RootAsciiDumperAlg::m_ofname
std::string m_ofname
ASCII output file name.
Definition: RootAsciiDumperAlg.h:66
xAOD::uint64_t
uint64_t
Definition: EventInfo_v1.cxx:123
AthAlgorithm
Definition: AthAlgorithm.h:47
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
Athena::RootAsciiDumperAlg::RootAsciiDumperAlg
RootAsciiDumperAlg()
Default constructor:
Athena::RootAsciiDumperAlg::m_evtnbr
const uint32_t * m_evtnbr
event number
Definition: RootAsciiDumperAlg.h:78
Athena::RootAsciiDumperAlg::m_ofd
int m_ofd
file handle to the ASCII output file
Definition: RootAsciiDumperAlg.h:69
Athena::RootAsciiDumperAlg::m_el_jetcone_dr
const std::vector< std::vector< float > > * m_el_jetcone_dr
jetcone dR
Definition: RootAsciiDumperAlg.h:87
Athena::RootAsciiDumperAlg::finalize
virtual StatusCode finalize()
Definition: RootAsciiDumperAlg.cxx:97
Athena::RootAsciiDumperAlg
Definition: RootAsciiDumperAlg.h:26