Jpp  18.2.1-ARCA-DF-PATCH
the software that should make you happy
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Namespaces | Macros | Functions | Variables
JHead.hh File Reference
#include <string>
#include <vector>
#include <cmath>
#include <ctype.h>
#include <sstream>
#include "TObject.h"
#include "km3net-dataformat/offline/Vec.hh"
#include "km3net-dataformat/offline/Head.hh"
#include "JLang/JUUID.hh"
#include "JLang/JException.hh"
#include "JLang/JEquationParameters.hh"
#include "JLang/JLangToolkit.hh"
#include "JTools/JRange.hh"
#include "JROOT/JRootClass.hh"

Go to the source code of this file.

Classes

struct  JAANET::JRange_t
 Type definition of range. More...
 
struct  JAANET::start_run
 Start of run record. More...
 
struct  JAANET::String
 General purpose string class. More...
 
struct  JAANET::detector
 Detector file. More...
 
struct  JAANET::muon_desc_file
 Muon descriptor file. More...
 
struct  JAANET::target
 Target. More...
 
struct  JAANET::XSecFile
 Neutrino cross section file. More...
 
struct  JAANET::drawing
 Drawing. More...
 
struct  JAANET::calibration
 Calibration. More...
 
struct  JAANET::cut
 General purpose class of phase space generation. More...
 
struct  JAANET::cut_primary
 Phase space of primary particle. More...
 
struct  JAANET::cut_seamuon
 Phase space of atmospheric muon generation. More...
 
struct  JAANET::cut_in
 Phase space of incoming particle. More...
 
struct  JAANET::cut_nu
 Phase space of incident neutrino. More...
 
struct  JAANET::generator
 Description of Monte Carlo event generation applications. More...
 
struct  JAANET::physics
 Physics information. More...
 
struct  JAANET::simul
 Generator for simulation. More...
 
struct  JAANET::spectrum
 Neutrino energy spectrum. More...
 
struct  JAANET::can
 The cylinder used for photon tracking. More...
 
struct  JAANET::fixedcan
 The fixed cylinder used for photon tracking. More...
 
struct  JAANET::genvol
 Neutrino vertex volume. More...
 
struct  JAANET::coord_origin
 Coordinate origin. More...
 
struct  JAANET::genhencut
 Phase space for incident neutrino. More...
 
struct  JAANET::norma
 Normlisation of CORSIKA events. More...
 
struct  JAANET::livetime
 Normalisation of MUPAGE events. More...
 
struct  JAANET::flux
 Neutrino flux. More...
 
struct  JAANET::seabottom
 The bottom of the sea. More...
 
struct  JAANET::depth
 Depth. More...
 
struct  JAANET::DAQ
 Livetime of DAQ data. More...
 
struct  JAANET::K40
 Livetime of noise data. More...
 
struct  JAANET::tgen
 Time duration of event generation. More...
 
struct  JAANET::time_interval
 UTC time interval for event generation. More...
 
struct  JAANET::primary
 Primary particle. More...
 
struct  JAANET::end_event
 End of event record. More...
 
class  JAANET::JHead
 Monte Carlo run header. More...
 

Namespaces

 JAANET
 Extensions to Evt data format.
 
 JPP
 This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
 

Macros

#define IF_MATCH(A, B, C, D)
 
#define RETURN_IF_DIFFERENT(A, B)
 

Functions

void JAANET::copy (const JHead &from, Head &to)
 Copy header from from to to. More...
 
void JAANET::copy (const Head &from, JHead &to)
 Copy header from from to to. More...
 
std::string JAANET::getTag (const std::string &tag)
 Get tag without aanet extension "_<counter>" for identical tags. More...
 
std::string JAANET::getTag (const std::string &tag, const int counter)
 Get tag with aanet extension "_<counter>" for identical tags. More...
 
bool JAANET::operator== (const Head &first, const Head &second)
 Equal operator. More...
 
bool JAANET::operator< (const Head &first, const Head &second)
 Less than operator. More...
 
std::istream & operator>> (std::istream &in, JAANET::JHead &header)
 Read header from input. More...
 
std::ostream & operator<< (std::ostream &out, const JAANET::JHead &header)
 Write header to output. More...
 

Variables

static const char JAANET::AANET_TAG_SEPARATOR = '_'
 Separator for tag extension of multiple tags in Head ("_<counter>"). More...
 

Macro Definition Documentation

#define IF_MATCH (   A,
  B,
  C,
  D 
)
Value:
if (match(B,C,D)) { A.push(D); } \
else { A.erase(D); }
static const double C
Physics constants.
source $JPP_DIR setenv csh $JPP_DIR &dev null eval JShellParser o a A
do echo Generating $dir eval D
Definition: JDrawLED.sh:53
#define RETURN_IF_DIFFERENT (   A,
 
)
Value:
if (less(A,B)) { return true; } \
if (less(B,A)) { return false; }
then fatal Wrong number of arguments fi set_variable DETECTOR $argv[1] set_variable TRIPOD $argv[2] set_variable TX $argv[3] set_variable TY $argv[4] if[[!-f $DETECTOR]]
Definition: JFootprint.sh:28
source $JPP_DIR setenv csh $JPP_DIR &dev null eval JShellParser o a A

Function Documentation

std::istream& operator>> ( std::istream &  in,
JAANET::JHead header 
)
inline

Read header from input.

Parameters
ininput stream
headerheader
Returns
input stream

Definition at line 1829 of file JHead.hh.

1830 {
1831  return header.read(in);
1832 }
std::istream & read(std::istream &in)
Read header from input.
Definition: JHead.cc:53
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 JAANET::JHead header 
)
inline

Write header to output.

Parameters
outoutput stream
headerheader
Returns
output stream

Definition at line 1842 of file JHead.hh.

1843 {
1844  return header.write(out);
1845 }
std::ostream & write(std::ostream &out) const
Write header to output.
Definition: JHead.cc:91