Jpp 19.3.0-rc.1
the software that should make you happy
Loading...
Searching...
No Matches
JAANET::JHeadHelper Struct Reference

Auxiliary map of application to check method. More...

#include <JHeadToolkit.hh>

Inheritance diagram for JAANET::JHeadHelper:
std::map< std::string, is_head >

Public Member Functions

 JHeadHelper ()
 Default constructor.
 
is_head operator() (const std::string &application) const
 Get check method for given application.
 

Detailed Description

Auxiliary map of application to check method.

Definition at line 230 of file JHeadToolkit.hh.

Constructor & Destructor Documentation

◆ JHeadHelper()

JAANET::JHeadHelper::JHeadHelper ( )
inline

Default constructor.

Definition at line 236 of file JHeadToolkit.hh.

237 {
238 (*this)[APPLICATION_GENHEN] = is_genhen;
240 (*this)[APPLICATION_MUPAGE] = is_mupage;
242 (*this)[APPLICATION_KM3BUU] = is_km3buu;
243 (*this)[APPLICATION_KM3] = is_km3;
244 (*this)[APPLICATION_KM3SIM] = is_km3sim;
246 (*this)["DAQ"] = is_daq;
247 }
static const char *const APPLICATION_KM3SIM
detector simulation
static const char *const APPLICATION_KM3BUU
event generator
static const char *const APPLICATION_GENHEN
KM3NeT Data Definitions v3.5.1-1-gd514d72 https://git.km3net.de/common/km3net-dataformat.
static const char *const APPLICATION_GSEAGEN
event generator
static const char *const APPLICATION_JSIRENE
detector simulation
static const char *const APPLICATION_MUPAGE
event generator
static const char *const APPLICATION_CORSIKA
event generator
static const char *const APPLICATION_KM3
detector simulation
bool is_genhen(const JHead &header)
Check for generator.
bool is_daq(const JHead &header)
Check for real data.
bool is_km3sim(const JHead &header)
Check for detector simulation.
bool is_corsika(const JHead &header)
Check for generator.
bool is_sirene(const JHead &header)
Check for detector simulation.
bool is_gseagen(const JHead &header)
Check for generator.
bool is_mupage(const JHead &header)
Check for generator.
bool is_km3buu(const JHead &header)
Check for generator.
bool is_km3(const JHead &header)
Check for detector simulation.

Member Function Documentation

◆ operator()()

is_head JAANET::JHeadHelper::operator() ( const std::string & application) const
inline

Get check method for given application.

Parameters
applicationapplication
Returns
check method

Definition at line 256 of file JHeadToolkit.hh.

257 {
258 return this->at(application);
259 }

The documentation for this struct was generated from the following file: