Jpp
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
JAcoustics/JTriggerParameters.hh
Go to the documentation of this file.
1 #ifndef __JACOUSTICS__JTRIGGERPARAMETERS__
2 #define __JACOUSTICS__JTRIGGERPARAMETERS__
3 
4 #include <iostream>
5 #include <iomanip>
6 
7 #include <TROOT.h>
8 #include <TObject.h>
9 
10 
11 /**
12  * \file
13  *
14  * Acoustic trigger parameters.
15  * \author mdejong
16  */
17 namespace JACOUSTICS {}
18 namespace JPP { using namespace JACOUSTICS; }
19 
20 namespace JACOUSTICS {
21 
22  /**
23  * Trigger parameters.
24  */
26  public TObject
27  {
28  /**
29  * Default constructor.
30  */
32  Q(0.0),
33  TMax_s(0.0),
34  numberOfHits(0)
35  {}
36 
37 
38  /**
39  * Virtual destructor.
40  */
42  {}
43 
45 
46  double Q;
47  double TMax_s;
49  };
50 }
51 
52 
53 /**
54  * Read parameters from input stream.
55  *
56  * \param in input stream
57  * \param parameters parameters
58  * \return input stream
59  */
60 std::istream& operator>>(std::istream& in, JACOUSTICS::JTriggerParameters& parameters);
61 
62 
63 /**
64  * Write parameters to output stream.
65  *
66  * \param out output stream
67  * \param parameters parameters
68  * \return output stream
69  */
70 std::ostream& operator<<(std::ostream& out, const JACOUSTICS::JTriggerParameters& parameters);
71 
72 #endif
esac print_variable DETECTOR INPUT_FILE OUTPUT_FILE CDF for TYPE in
Definition: JSirene.sh:45
Definition: JRoot.hh:19
*fatal Wrong number of arguments esac JCookie sh typeset Z DETECTOR typeset Z SOURCE_RUN typeset Z TARGET_RUN set_variable PARAMETERS_FILE $WORKDIR parameters
Definition: diff-Tuna.sh:38
std::istream & operator>>(std::istream &in, JAANET::JHead &header)
Read header from input.
Definition: JHead.hh:1278
ClassDef(JTriggerParameters, 1)
std::ostream & operator<<(std::ostream &stream, const CLBCommonHeader &header)
virtual ~JTriggerParameters()
Virtual destructor.