Jpp 19.3.0-rc.3
the software that should make you happy
Loading...
Searching...
No Matches
JNeutrinoInteractionCategory.hh File Reference

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

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)
 

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< double > JAANET::DEFAULT_NEUTRINO_ENERGY_RANGE = JRange<double>(0, 1e11)
 Default neutrino energy range [GeV].
 
static const JRange< double > JAANET::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 )
Value:
if (A != B) { return A < B; }