1 #ifndef __JAANET_JHEADTOOLKIT__ 
    2 #define __JAANET_JHEADTOOLKIT__ 
    5 #include <initializer_list> 
   39     for (
const auto& 
i : header.
simul) {
 
   45     for (
const auto& 
i : header.
physics) { 
 
   63     for (
const auto& 
i : header.
simul) {
 
   69     for (
const auto& 
i : header.
physics) { 
 
   87     for (
const auto& 
i : header.
simul) {
 
  105     for (
const auto& 
i : header.
simul) {
 
  123     for (
const auto& 
i : header.
simul) {
 
  141     for (
const auto& 
i : header.
simul) {
 
  159     for (
const auto& 
i : header.
simul) {
 
  177     for (
const auto& 
i : header.
simul) {
 
  203     public std::map<std::string, is_head>
 
  223       return this->at(application);
 
  240     std::make_pair(
"DAQ",                
is_daq)
 
  251   inline T get(
const JHead& header);
 
  265       return header.coord_origin;
 
  270         return Vec(-header.fixedcan.xcenter, 
 
  271                    -header.fixedcan.ycenter, 
 
  272                    -header.fixedcan.zmin);           
 
  274         return Vec(0.0, 0.0, -header.can.zmin);
 
  276         return header.coord_origin;
 
  278         return Vec(0.0, 0.0, 0.0);
 
  292     const Vec pos = get<Vec>(header);
 
  307     using namespace JGEOMETRY2D;
 
  312                                              header.fixedcan.ycenter), 
 
  313                                    header.fixedcan.radius),
 
  314                          header.fixedcan.zmin,
 
  315                          header.fixedcan.zmax);
 
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. 
 
JAANET::fixedcan fixedcan
 
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 v3.0.0-5-gcddadc1 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.