Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
dunecore
dunecore
ArtSupport
Tool
TestTool_tool.cc
Go to the documentation of this file.
1
// TestTool_tool.cc
2
3
#include "
TestTool.h
"
4
#include <iostream>
5
#include <fstream>
6
#include <sstream>
7
#include <iomanip>
8
9
using
std::string
;
10
using
std::cout;
11
using
std::endl
;
12
using
std::ofstream;
13
using
std::ostream;
14
using
std::ostringstream;
15
using
std::setw
;
16
using
std::fixed;
17
using
std::setprecision
;
18
19
using
Index
=
unsigned
int
;
20
21
//**********************************************************************
22
// Class methods.
23
//**********************************************************************
24
25
TestTool::TestTool
(
fhicl::ParameterSet
const
&
ps
)
26
: m_Label(ps.
get
<
string
>(
"Label"
)),
27
m_count(0) {
28
const
string
myname =
"TestTool::ctor: "
;
29
cout << myname <<
"Creating \""
<<
label
() <<
"\" at @"
<<
this
<<
endl
;
30
}
31
32
//**********************************************************************
33
34
TestTool::~TestTool
() {
35
const
string
myname =
"TestTool::dtor: "
;
36
cout << myname <<
"Deleting \""
<<
label
() <<
"\" at @"
<<
this
<<
endl
;
37
}
38
39
//**********************************************************************
40
41
DEFINE_ART_CLASS_TOOL
(
TestTool
)
DEFINE_ART_CLASS_TOOL
#define DEFINE_ART_CLASS_TOOL(tool)
Definition:
ToolMacros.h:42
string
std::string string
Definition:
nybbler.cc:12
Index
unsigned int Index
Definition:
sspmapmaker_v1.c:14
TestTool::label
std::string label() override
Definition:
TestTool.h:29
setprecision
Q_EXPORT QTSManip setprecision(int p)
Definition:
qtextstream.h:343
TestTool.h
genie::units::ps
static constexpr double ps
Definition:
Units.h:99
setw
Q_EXPORT QTSManip setw(int w)
Definition:
qtextstream.h:331
keras_to_tensorflow.int
int
Definition:
keras_to_tensorflow.py:69
TestTool::~TestTool
~TestTool() override
Definition:
TestTool_tool.cc:34
TestTool::TestTool
TestTool(fhicl::ParameterSet const &ps)
Definition:
TestTool_tool.cc:25
art::get
auto const & get(AssnsNode< L, R, D > const &r)
Definition:
AssnsNode.h:115
TestTool
Definition:
TestTool.h:19
endl
QTextStream & endl(QTextStream &s)
Definition:
qtextstream.cpp:2030
fhicl::ParameterSet
Definition:
ParameterSet.h:36
Generated by
1.8.11