1 #ifndef __JAANET_JHEADTOOLKIT__
2 #define __JAANET_JHEADTOOLKIT__
107 this->
simul.resize(1);
126 this->
simul.resize(1);
145 this->
simul.resize(1);
285 inline T get(
const JHead& header);
299 return header.coord_origin;
304 return Vec(0.0, 0.0, -header.can.zmin);
306 return header.coord_origin;
308 return Vec(0.0, 0.0, 0.0);
322 const Vec pos = get<Vec>(header);
337 using namespace JGEOMETRY2D;
bool is_mupage(const JHead &header)
Check for generator.
Data structure for vector in two dimensions.
static const std::string GSEAGEN
static const std::string KM3
Data structure for circle in two dimensions.
Generator for simulation.
std::string program
program name
static const std::string KM3SIM
std::vector< JAANET::physics > physics
std::vector< JAANET::simul > simul
double livetime_s
Live time [s].
Generator for neutrino interaction.
The Vec class is a straightforward 3-d vector, which also works in pyroot.
void push(T JHead::*pd)
Push given data member to Head.
JAANET::livetime livetime
do set_variable OUTPUT_DIRECTORY $WORKDIR T
static const std::string GENIE
bool is_daq(const JHead &header)
Check for real data.
static const std::string JSIRENE
bool is_genhen(const JHead &header)
Check for generator.
Normalisation of MUPAGE events.
bool is_sirene(const JHead &header)
Check for detector simulation.
bool is_km3sim(const JHead &header)
Check for detector simulation.
Data structure for position in three dimensions.
static const std::string GENHEN
Generators.
bool match(const JHead &header, const bool option=true) const
Test match of headers.
double numberOfSeconds
Live time [s].
Vec coord_origin() const
Get coordinate origin.
source $JPP_DIR setenv csh $JPP_DIR eval JShellParser o a A
bool is_genie(const JHead &header)
Check for generator.
bool is_km3(const JHead &header)
Check for detector simulation.