Jpp  19.1.0-rc.1
the software that should make you happy
Classes | Namespaces | Macros | Functions | Variables
JNeutrinoInteractionCategory.hh File Reference

Classes and methods for defining neutrino interaction categories. More...

#include <utility>
#include <iostream>
#include "km3net-dataformat/definitions/w2list_gseagen.hh"
#include "km3net-dataformat/offline/Evt.hh"
#include "km3net-dataformat/offline/Trk.hh"
#include "JLang/JClonable.hh"
#include "JLang/JParameter.hh"
#include "JLang/JPredicate.hh"
#include "JTools/JRange.hh"
#include "JAAnet/JHead.hh"
#include "JAAnet/JHeadToolkit.hh"
#include "JAAnet/JParticleTypes.hh"
#include "JAAnet/JGENIETypes.hh"
#include "JAAnet/JAAnetToolkit.hh"
#include "JAAnet/JEvtCategory.hh"

Go to the source code of this file.

Classes

struct  JAANET::JNeutrinoInteractionCategory
 Class for neutrino interaction categories. More...
 
struct  JAANET::JNeutrinoInteractionCategory::JNeutrinoInteractionCategoryHelper
 Auxiliary class for I/O of neutrino interaction category. 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)    if (A != B) { return A < B; }
 

Functions

bool JAANET::is_neutrino_primary (const int type)
 Auxiliary function to check if given PDG code corresponds to a neutrino. More...
 
JInteractionTypeGENIE_t JAANET::getInteractionType (const JHead &header)
 Auxiliary function to retrieve the GENIE interaction type corresponding to a given header. More...
 
std::pair< JParameter< int >, JParameter< int > > JAANET::getTargetInfo (const JHead &header)
 Auxiliary function to retrieve the target atomic number and mass number. More...
 

Variables

static const char *const JAANET::NEUTRAL_CURRENT = "NC"
 Neutral current header string identifier. More...
 
static const char *const JAANET::CHARGED_CURRENT = "CC"
 Charged current header string identifier. More...
 
static const JRange< double > JAANET::DEFAULT_NEUTRINO_ENERGY_RANGE = JRange<double>(0, 1e11)
 Default neutrino energy range [GeV]. More...
 
static const JRange< double > JAANET::DEFAULT_NEUTRINO_COSINE_ZENITH_ANGLE_RANGE = JRange<double>(-1.0, 1.0)
 Default neutrino cosine zenith angle range [-]. More...
 

Detailed Description

Classes and methods for defining neutrino interaction categories.

Author
bjung

Definition in file JNeutrinoInteractionCategory.hh.

Macro Definition Documentation

◆ RETURN_IF_DIFFERENT

#define RETURN_IF_DIFFERENT (   A,
 
)     if (A != B) { return A < B; }