Jpp  17.1.0
the software that should make you happy
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Functions
software/JTrigger/JTriggerParameters.cc File Reference
#include "JSystem/JStat.hh"
#include "JROOT/JRootStreamer.hh"
#include "JLang/JStringStream.hh"
#include "JTrigger/JTriggerParameters.hh"
#include "JTrigger/JTriggerDictionary.hh"

Go to the source code of this file.

Functions

std::istream & operator>> (std::istream &in, JTRIGGER::JL2Parameters &parameters)
 Read L2 parameters from input. More...
 
std::ostream & operator<< (std::ostream &out, const JTRIGGER::JL2Parameters &parameters)
 Write L2 parameters to output. More...
 
std::istream & operator>> (std::istream &in, JTRIGGER::JTriggerParameters &parameters)
 Read trigger parameters from input. More...
 
std::ostream & operator<< (std::ostream &out, const JTRIGGER::JTriggerParameters &parameters)
 Write trigger parameters to output. More...
 

Function Documentation

std::istream& operator>> ( std::istream &  in,
JTRIGGER::JL2Parameters parameters 
)

Read L2 parameters from input.

Parameters
ininput stream
parametersL2 parameters
Returns
input stream

Definition at line 24 of file software/JTrigger/JTriggerParameters.cc.

25 {
26  using namespace JPP;
27 
29 
30  return in;
31 }
JRootReader & get(T &object)
Read object according equation format.
Simple data structure to support I/O of equations (see class JLANG::JEquation).
Implementation for ASCII input of objects with ROOT dictionary.
T & getInstance(const T &object)
Get static instance from temporary object.
Definition: JObject.hh:75
then fatal Wrong number of arguments fi set_variable DETECTOR $argv[1] set_variable INPUT_FILE $argv[2] eval JPrintDetector a $DETECTOR O IDENTIFIER eval JPrintDetector a $DETECTOR O SUMMARY JAcoustics sh $DETECTOR_ID source JAcousticsToolkit sh CHECK_EXIT_CODE typeset A EMITTERS get_tripods $WORKDIR tripod txt EMITTERS get_transmitters $WORKDIR transmitter txt EMITTERS for EMITTER in
Definition: JCanberra.sh:46
std::ostream& operator<< ( std::ostream &  out,
const JTRIGGER::JL2Parameters parameters 
)

Write L2 parameters to output.

Parameters
outoutput stream
parametersL2 parameters
Returns
output stream

Definition at line 41 of file software/JTrigger/JTriggerParameters.cc.

42 {
43  using namespace JPP;
44 
46 
47  return out;
48 }
Implementation for ASCII output of objects with ROOT dictionary.
Simple data structure to support I/O of equations (see class JLANG::JEquation).
T & getInstance(const T &object)
Get static instance from temporary object.
Definition: JObject.hh:75
JRootWriter & put(const T &object)
Write object according equation format.
std::istream& operator>> ( std::istream &  in,
JTRIGGER::JTriggerParameters parameters 
)

Read trigger parameters from input.

Parameters
ininput stream
parameterstrigger parameters
Returns
input stream

Definition at line 58 of file software/JTrigger/JTriggerParameters.cc.

59 {
60  using namespace JPP;
61 
63 
64  if (getFileStatus(is.str().c_str())) {
65  is.load();
66  }
67 
69 
70  return in;
71 }
JRootReader & get(T &object)
Read object according equation format.
Simple data structure to support I/O of equations (see class JLANG::JEquation).
is
Definition: JDAQCHSM.chsm:167
Implementation for ASCII input of objects with ROOT dictionary.
T & getInstance(const T &object)
Get static instance from temporary object.
Definition: JObject.hh:75
static JStat getFileStatus
Function object for file status.
Definition: JStat.hh:173
Wrapper class around STL stringstream class to facilitate optional loading of data from file...
then fatal Wrong number of arguments fi set_variable DETECTOR $argv[1] set_variable INPUT_FILE $argv[2] eval JPrintDetector a $DETECTOR O IDENTIFIER eval JPrintDetector a $DETECTOR O SUMMARY JAcoustics sh $DETECTOR_ID source JAcousticsToolkit sh CHECK_EXIT_CODE typeset A EMITTERS get_tripods $WORKDIR tripod txt EMITTERS get_transmitters $WORKDIR transmitter txt EMITTERS for EMITTER in
Definition: JCanberra.sh:46
std::ostream& operator<< ( std::ostream &  out,
const JTRIGGER::JTriggerParameters parameters 
)

Write trigger parameters to output.

Parameters
outoutput stream
parameterstrigger parameters
Returns
output stream

Definition at line 81 of file software/JTrigger/JTriggerParameters.cc.

82 {
83  using namespace JPP;
84 
86 
87  return out;
88 }
Implementation for ASCII output of objects with ROOT dictionary.
Simple data structure to support I/O of equations (see class JLANG::JEquation).
T & getInstance(const T &object)
Get static instance from temporary object.
Definition: JObject.hh:75
JRootWriter & put(const T &object)
Write object according equation format.