Jpp 21.0.0
the software that should make you happy
Loading...
Searching...
No Matches
software/JTrigger/JTriggerParameters.cc
Go to the documentation of this file.
1#include <istream>
2#include <ostream>
3
8
9/**
10 * \author mdejong
11 */
12
13/**
14 * Streamer version of JTriggerParameters as obtained from ROOT file.
15 */
17
18
19/**
20 * Read L2 parameters from input.
21 *
22 * \param in input stream
23 * \param parameters L2 parameters
24 * \return input stream
25 */
26std::istream& operator>>(std::istream& in, JTRIGGER::JL2Parameters& parameters)
27{
28 using namespace JPP;
29
31
32 return in;
33}
34
35
36/**
37 * Write L2 parameters to output.
38 *
39 * \param out output stream
40 * \param parameters L2 parameters
41 * \return output stream
42 */
43std::ostream& operator<<(std::ostream& out, const JTRIGGER::JL2Parameters& parameters)
44{
45 using namespace JPP;
46
48
49 return out;
50}
51
52
53/**
54 * Read trigger parameters from input.
55 *
56 * \param in input stream
57 * \param parameters trigger parameters
58 * \return input stream
59 */
60std::istream& operator>>(std::istream& in, JTRIGGER::JTriggerParameters& parameters)
61{
62 using namespace JPP;
63
64 JStringStream is(in);
65
67
68 return in;
69}
70
71
72/**
73 * Write trigger parameters to output.
74 *
75 * \param out output stream
76 * \param parameters trigger parameters
77 * \return output stream
78 */
79std::ostream& operator<<(std::ostream& out, const JTRIGGER::JTriggerParameters& parameters)
80{
81 using namespace JPP;
82
84
85 return out;
86}
ASCII I/O of objects with ROOT dictionary.
Simple data structure to support I/O of equations (see class JLANG::JEquation).
Wrapper class around STL stringstream class to facilitate optional loading of data from file.
Implementation for ASCII input of objects with ROOT dictionary.
JRootReader & get(T &object)
Read object according equation format.
Implementation for ASCII output of objects with ROOT dictionary.
JRootWriter & put(const T &object)
Write object according equation format.
static JRootDictionary & getInstance()
Get reference to unique instance of this class object.
Data structure for all trigger parameters.
static int ROOT_IO_VERSION
Streamer version of JTriggerParameters as obtained from ROOT file.
std::ostream & operator<<(std::ostream &out, const morphology_type &object)
Write morphology to output stream.
std::istream & operator>>(std::istream &in, morphology_type &object)
Read morphology from input stream.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
Data structure for L2 parameters.