1 #ifndef __JAANET_JHEADTOOLKIT__ 
    2 #define __JAANET_JHEADTOOLKIT__ 
    5 #include <initializer_list> 
   38     for (
const auto& i : header.
simul) {
 
   44     for (
const auto& i : header.
physics) { 
 
   62     for (
const auto& i : header.
simul) {
 
   68     for (
const auto& i : header.
physics) { 
 
   86     for (
const auto& i : header.
simul) {
 
  104     for (
const auto& i : header.
simul) {
 
  122     for (
const auto& i : header.
simul) {
 
  140     for (
const auto& i : header.
simul) {
 
  158     for (
const auto& i : header.
simul) {
 
  176     for (
const auto& i : header.
simul) {
 
  202     public std::map<std::string, is_head>
 
  222       return this->at(application);
 
  239     std::make_pair(
"DAQ",                
is_daq)
 
  250   inline T get(
const JHead& header);
 
  264       return header.coord_origin;
 
  269         return Vec(0.0, 0.0, -header.can.zmin);
 
  271         return header.coord_origin;
 
  273         return Vec(0.0, 0.0, 0.0);
 
  287     const Vec pos = get<Vec>(header);
 
  302     using namespace JGEOMETRY2D;
 
bool is_mupage(const JHead &header)
Check for generator. 
 
Data structure for vector in two dimensions. 
 
bool is_km3buu(const JHead &header)
Check for generator. 
 
static const char *const APPLICATION_KM3
detector simulation 
 
bool is_gseagen(const JHead &header)
Check for generator. 
 
Data structure for circle in two dimensions. 
 
bool(* is_head)(const JHead &)
Type definition of test function of header. 
 
static const char *const APPLICATION_GSEAGEN
event generator 
 
std::vector< JAANET::physics > physics
 
std::vector< JAANET::simul > simul
 
double livetime_s
Live time [s]. 
 
static const char *const APPLICATION_JSIRENE
detector simulation 
 
is_head operator()(const std::string &application) const 
Get check method for given application. 
 
The Vec class is a straightforward 3-d vector, which also works in pyroot. 
 
Auxiliary map of application to check method. 
 
bool is_corsika(const JHead &header)
Check for generator. 
 
static const char *const APPLICATION_CORSIKA
event generator 
 
JHeadHelper(const std::initializer_list< value_type > input)
Constructor. 
 
do set_variable OUTPUT_DIRECTORY $WORKDIR T
 
bool is_daq(const JHead &header)
Check for real data. 
 
static const char *const APPLICATION_KM3BUU
event generator 
 
static const char *const APPLICATION_KM3SIM
detector simulation 
 
static const char *const APPLICATION_MUPAGE
event generator 
 
bool is_genhen(const JHead &header)
Check for generator. 
 
static const char *const APPLICATION_GENHEN
KM3NeT Data Definitions v2.2.0-12-ge740342 https://git.km3net.de/common/km3net-dataformat. 
 
bool is_sirene(const JHead &header)
Check for detector simulation. 
 
bool is_km3sim(const JHead &header)
Check for detector simulation. 
 
static JHeadHelper get_is_head
Function object to get check method for given application. 
 
Data structure for position in three dimensions. 
 
Vec coord_origin() const 
Get coordinate origin. 
 
bool is_km3(const JHead &header)
Check for detector simulation.