Jpp 20.0.0-27-g39925593c-D
the software that should make you happy
Loading...
Searching...
No Matches
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

namespace  JAANET
 Extensions to Evt data format.
 
namespace  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.
 
JInteractionTypeGENIE_t JAANET::getInteractionType (const JHead &header)
 Auxiliary function to retrieve the GENIE interaction type corresponding to a given header.
 
std::pair< JParameter< int >, JParameter< int > > JAANET::getTargetInfo (const JHead &header)
 Auxiliary function to retrieve the target atomic number and mass number.
 

Variables

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

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,
B )    if (A != B) { return A < B; }