Jpp  pmt_effective_area_update
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/JException.hh"
#include "JLang/JEquationParameters.hh"
#include "JLang/JLangToolkit.hh"
#include "JROOT/JRootClass.hh"

Go to the source code of this file.

Classes

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::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::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...
 
struct  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 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 RETURN_IF_DIFFERENT (   A,
 
)
Value:
if (less(A,B)) { return true; } \
if (less(B,A)) { return false; }
source $JPP_DIR setenv csh $JPP_DIR eval JShellParser o a A
do if[[!-f $ACOUSTICS_WORKDIR/${KEY}.txt]]
Definition: JAcoustics.sh:38

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 1618 of file JHead.hh.

1619 {
1620  return header.read(in);
1621 }
std::istream & read(std::istream &in)
Read header from input.
Definition: JHead.cc:30
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 source JAcoustics sh $DETECTOR_ID CHECK_EXIT_CODE typeset A TRIPODS get_tripods $WORKDIR tripod txt TRIPODS for EMITTER in
Definition: JCanberra.sh:40
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 1631 of file JHead.hh.

1632 {
1633  return header.write(out);
1634 }
std::ostream & write(std::ostream &out) const
Write header to output.
Definition: JHead.cc:68