Jpp test-rotations-old
the software that should make you happy
|
Extensions to Evt data format. More...
Classes | |
struct | calibration |
Calibration. More... | |
struct | can |
The cylinder used for photon tracking. More... | |
struct | coord_origin |
Coordinate origin. More... | |
struct | cut |
General purpose class of phase space generation. More... | |
struct | cut_in |
Phase space of incoming particle. More... | |
struct | cut_nu |
Phase space of incident neutrino. More... | |
struct | cut_primary |
Phase space of primary particle. More... | |
struct | cut_seamuon |
Phase space of atmospheric muon generation. More... | |
struct | DAQ |
Livetime of DAQ data. More... | |
struct | depth |
Depth. More... | |
struct | detector |
Detector file. More... | |
struct | drawing |
Drawing. More... | |
struct | end_event |
End of event record. More... | |
struct | fixedcan |
The fixed cylinder used for photon tracking. More... | |
struct | flux |
Neutrino flux. More... | |
struct | generator |
Description of Monte Carlo event generation applications. More... | |
struct | genhencut |
Phase space for incident neutrino. More... | |
struct | genvol |
Neutrino vertex volume. More... | |
struct | JAtmosphericNeutrinoFlux |
Implementation of atmospheric neutrino flux using official KM3NeT atmospheric flux function. More... | |
struct | JConstantFlux |
Function object for constant fluxes. More... | |
struct | JDiffuseFlux |
Low-level interface for diffuse fluxes. More... | |
struct | JDiffuseFluxHelper |
Helper class for diffuse flux factor. More... | |
struct | JEventSelector |
Event selector. More... | |
struct | JEvtCategory |
Low-level interface for event categories. More... | |
struct | JEvtCategoryHelper |
Helper class for event categories. More... | |
class | JEvtCategoryMap |
Auxiliary class for reading a map of event categories. More... | |
class | JEvtCategoryMap< JEvtWeightFactorProduct > |
Template specialisation for a map between event categories and event-weight factor products. More... | |
class | JEvtCategoryMap< JFluxHelper > |
Template specialisation for a map between event categories and flux factors. More... | |
struct | JEvtCategorySet |
Container for a set of event categories. More... | |
struct | JEvtEvaluator |
Auxiliary class to determine value of Evt objects. More... | |
struct | JEvtWeight |
Abstract base class for event weighing. More... | |
struct | JEvtWeightCorsika |
Implementation of event weighting for Corsika data. More... | |
struct | JEvtWeightDAQ |
Implementation of event weighing for DAQ data. More... | |
struct | JEvtWeighter |
Look-up table for event weighters. More... | |
struct | JEvtWeightFactor |
Abstract base class for specifiable event-weight factors. More... | |
struct | JEvtWeightFactorConstant |
Class for constant event-weight factors. More... | |
struct | JEvtWeightFactorFunction |
Implementation of event-weight factor interface. More... | |
struct | JEvtWeightFactorFunction< Flux_Atmospheric, JDiffuseFlux > |
Specialisation of event-weight factor interface for atmospheric neutrino flux. More... | |
struct | JEvtWeightFactorFunction< JDiffuseFluxFunction_t, JDiffuseFlux > |
Implementation of event-weight factor interface for diffuse flux objects. More... | |
struct | JEvtWeightFactorFunction< pDiffuseFlux, JDiffuseFlux > |
Implementation of C-style diffuse flux event-weight factor. More... | |
struct | JEvtWeightFactorFunction< pEvtWeightFactor, JEvtWeightFactor_t > |
Implementation of C-style event-weight factor. More... | |
class | JEvtWeightFactorGSeaGen |
Implementation of reweighting factor for simulated neutrino interactions according to a specifiable ROOT TFormula. More... | |
struct | JEvtWeightFactorHelper |
Helper class for event-weight factor. More... | |
struct | JEvtWeightFactorMeffRatio |
Implementation of reweighting factor for effective mass ratios. More... | |
struct | JEvtWeightFactorMupage |
Implementation of reweighting factor for mupage events according to a specifiable ROOT TFormula. More... | |
struct | JEvtWeightFactorProduct |
Class for product of event-weight factors. More... | |
class | JEvtWeightFactorTFormula |
Base class implementation for reweighting factor for simulated events according to a specifiable ROOT TFormula. More... | |
struct | JEvtWeightGenhen |
Implementation of event weighting for Genhen data. More... | |
struct | JEvtWeightGSeaGen |
Implementation of event weighting for GSeaGen data. More... | |
struct | JEvtWeightHelper |
Helper class for event weighing. More... | |
struct | JEvtWeightInterface |
Low-level interface for event weighing. More... | |
struct | JEvtWeightKM3BUU |
Implementation of event weighting for KM3BUU data. More... | |
struct | JEvtWeightMiscellaneous |
Implementation of event weighing for miscellaneous data such as a merged offline file containing neutrinos and atmospheric muons. More... | |
struct | JEvtWeightMupage |
Implementation of event weighing for MUPAGE data. More... | |
struct | JEvtWeightNormalisation |
Auxiliary data structure for storing pairs of header UUIDs and event-weight normalisations. More... | |
struct | JFlux |
Low-level interface for retrieving the flux corresponding to a given event. More... | |
struct | JFluxHelper |
Helper class for flux function. More... | |
class | JHead |
Monte Carlo run header. More... | |
struct | JHeadHelper |
Auxiliary map of application to check method. More... | |
struct | JHeadWriter |
Implementation for Head output of JHead objects with ROOT dictionary. More... | |
struct | JHondaAngularBinSpecs |
Auxiliary data structure for reading angular binning specifications of Honda flux table. More... | |
struct | JHondaBinRange |
Auxiliary data structure for reading Honda bin ranges. More... | |
class | JHondaFluxInterpolator |
Template definition for Honda flux table interpolator. More... | |
class | JHondaFluxInterpolator< JConstantFunction1D< double, JArray< 4, double > >, JCoszFunctionalMap_t, JEnergyFunctionalMap_t > |
Template specialisation for interpolator of azimuth-averaged Honda flux table. More... | |
struct | JLorentzBoost |
Auxiliary class for performing Lorentz boosts. More... | |
struct | JMultiHead |
Auxiliary data structure to store multiple headers and bookkeep event-weight normalisations. More... | |
struct | JMuonBundleCategory |
Class for muon bundle categories. More... | |
struct | JNeutrinoInteractionCategory |
Class for neutrino interaction categories. More... | |
struct | JOscFlux |
Implementation of oscillated neutrino flux. More... | |
struct | JParticle |
Auxiliary class to handle particle name, codes and mass. More... | |
struct | JPDB |
Collection of particles. More... | |
struct | JPowerLawFlux |
Example function object for computing power-law flux. More... | |
struct | JRange_t |
Type definition of range. More... | |
struct | JVolume |
Auxiliary class for histogramming of effective volume. More... | |
struct | K40 |
Livetime of noise data. More... | |
struct | livetime |
Normalisation of MUPAGE events. More... | |
struct | muon_desc_file |
Muon descriptor file. More... | |
struct | norma |
Normlisation of CORSIKA events. More... | |
struct | physics |
Physics information. More... | |
struct | primary |
Primary particle. More... | |
struct | seabottom |
The bottom of the sea. More... | |
struct | simul |
Generator for simulation. More... | |
struct | spectrum |
Neutrino energy spectrum. More... | |
struct | start_run |
Start of run record. More... | |
struct | String |
General purpose string class. More... | |
struct | target |
Target. More... | |
struct | tgen |
Time duration of event generation. More... | |
struct | time_interval |
UTC time interval for event generation. More... | |
struct | XSecFile |
Neutrino cross section file. More... | |
Typedefs | |
using | JEvtWeightFactorMap = JEvtCategoryMap<JEvtWeightFactorProduct> |
using | JFluxMap = JEvtCategoryMap<JFluxHelper> |
Type alias for flux maps. | |
using | JFluxAtmospheric = JEvtWeightFactorFunction<Flux_Atmospheric, JDiffuseFlux> |
Type alias for atmospheric flux function interface. | |
typedef double(* | pEvtWeightFactor) (const Evt &) |
Type definition of event-weight factor pointer. | |
using | pFlux = pEvtWeightFactor |
Type definition of flux function pointer. | |
typedef double(* | pDiffuseFlux) (int, double, double) |
Type definition of pointer to diffuse flux function. | |
typedef bool(* | is_head) (const JHead &) |
Type definition of test function of header. | |
template<template< class, class, class > class JCoszFunctionalMap_t = JPolint1FunctionalMap, template< class, class, class > class JEnergyFunctionalMap_t = JPolint1FunctionalMap> | |
using | JHondaFluxInterpolator2D |
Alias template definition for 2-dimensional Honda flux interpolator. | |
Functions | |
double | getTime (const Hit &hit) |
Get true time of hit. | |
double | getNPE (const Hit &hit) |
Get true charge of hit. | |
bool | is_noise (const Hit &hit) |
Verify hit origin. | |
JTimeRange | getTimeRange (const Evt &event) |
Get time range (i.e. time between earliest and latest hit) of Monte Carlo event. | |
JTimeRange | getTimeRange (const Evt &event, const JTimeRange &T_ns) |
Get time range (i.e. time between earliest and latest hit) of Monte Carlo event. | |
JPosition3D | getPosition (const Vec &pos) |
Get position. | |
Vec | getPosition (const JPosition3D &pos) |
Get position. | |
JPosition3D | getPosition (const Trk &track) |
Get position. | |
JDirection3D | getDirection (const Vec &dir) |
Get direction. | |
Vec | getDirection (const JDirection3D &dir) |
Get direction. | |
JDirection3D | getDirection (const Trk &track) |
Get direction. | |
JAxis3D | getAxis (const Trk &track) |
Get axis. | |
JTrack3E | getTrack (const Trk &track) |
Get track. | |
JTransformation3D | getTransformation (const Trk &track) |
Get transformation. | |
double | getW (const Trk &track, const size_t index, const double value) |
Get track information. | |
bool | is_photon (const Trk &track) |
Test whether given track is a photon or neutral pion. | |
bool | is_muonbundle (const Trk &track) |
Test whether given track is a (anti-)muon. | |
bool | is_neutrino (const Trk &track) |
Test whether given track is a neutrino. | |
bool | is_electron (const Trk &track) |
Test whether given track is a (anti-)electron. | |
bool | is_muon (const Trk &track) |
Test whether given track is a (anti-)muon. | |
bool | is_tau (const Trk &track) |
Test whether given track is a (anti-)tau. | |
bool | is_pion (const Trk &track) |
Test whether given track is a charged pion. | |
bool | is_proton (const Trk &track) |
Test whether given track is a (anti-)proton. | |
bool | is_neutron (const Trk &track) |
Test whether given track is a (anti-)neutron. | |
bool | is_lepton (const Trk &track) |
Test whether given track is a lepton. | |
bool | is_charged_lepton (const Trk &track) |
Test whether given track is a charged lepton. | |
bool | is_hadron (const Trk &track) |
Test whether given track is a hadron. | |
bool | is_meson (const Trk &track) |
Test whether given track is a meson (is hadron and third digit of PDG code is zero) | |
bool | is_baryon (const Trk &track) |
Test whether given track is a baryon (is hadron and third digit of PDG code is not zero) | |
bool | is_nucleus (const Trk &track) |
Test whether given track is a nucleus (PDG code corresponds to a baryon or has 10 digits, starting with '10') | |
bool | has_particleID (const Trk &track, const int type) |
Test whether given track corresponds to given particle type. | |
bool | is_initialstate (const Trk &track) |
Test whether given track corresponds to an initial state particle. | |
bool | is_finalstate (const Trk &track) |
Test whether given track corresponds to a final state particle. | |
bool | has_neutrino (const Evt &evt) |
Test whether given event has an incoming neutrino. | |
const Trk & | get_neutrino (const Evt &evt) |
Get incoming neutrino. | |
bool | has_target_nucleus (const Evt &evt) |
Test whether given event has well-defined target nucleus. | |
const Trk & | get_target_nucleus (const Evt &evt) |
Get target nucleus. | |
bool | has_primary (const Evt &evt) |
Auxiliary function to check if an event contains a primary track. | |
const Trk & | get_primary (const Evt &evt) |
Auxiliary function to retrieve the primary track of an event. | |
const Trk & | get_leading_lepton (const Evt &event) |
Auxiliary function to retrieve the leading lepton of a neutrino interaction. | |
JVertex3D | getVertex (const Trk &track) |
Get vertex. | |
JVertex3D | getVertex (const Evt &event) |
Get event vertex. | |
int | count_electrons (const Evt &evt) |
Count the number of electrons in a given event. | |
bool | has_electron (const Evt &evt) |
Test whether given event has an electron. | |
const Trk & | get_electron (const Evt &evt) |
Get first electron from the event tracklist. | |
bool | from_electron (const Hit &hit) |
Test whether given hit was produced by an electron. | |
int | count_muons (const Evt &evt) |
Count the number of muons in a given event. | |
bool | has_muon (const Evt &evt) |
Test whether given event has a muon. | |
const Trk & | get_muon (const Evt &evt) |
Get first muon from the event tracklist. | |
bool | from_muon (const Hit &hit) |
Test whether given hit was produced by a muon. | |
int | count_taus (const Evt &evt) |
Count the number of taus in a given event. | |
bool | has_tau (const Evt &evt) |
Test whether given event has a tau. | |
const Trk & | get_tau (const Evt &evt) |
Get first tau from the event tracklist. | |
bool | has_muonic_taudecay (const Evt &event) |
Test whether given event contains a tau-lepton decay into a muon. | |
bool | has_leptonic_taudecay (const Evt &event) |
Test whether given event contains a leptonic tau-decay. | |
bool | has_hadronic_taudecay (const Evt &event) |
Test whether given event contains a hadronic tau-decay. | |
int | count_taudecay_prongs (const Evt &event) |
Count the number of tau-lepton decay prongs in a given event. | |
bool | from_tau (const Hit &hit) |
Test whether given hit was produced by a tau. | |
int | count_hadrons (const Evt &evt) |
Count the number of hadrons in a given event (not including neutral pions) | |
bool | from_hadron (const Hit &hit) |
Test whether given hit was produced by a hadronic shower. | |
void | add_time_offset (Evt &evt, const double tOff) |
Add time offset to mc event; according to current definition, the absolute time of the event is defined by the track "t" attribute; this could change in the future if the global attribute mc_t is assigned to this purpose. | |
double | getKineticEnergy (const Trk &trk) |
Get track kinetic energy. | |
double | getE0 (const Evt &evt) |
Get initial state energy of a neutrino interaction. | |
double | getE1 (const Evt &evt) |
Get final state energy of a neutrino interaction. | |
Vec | getP0 (const Evt &evt) |
Get momentum vector of the initial state of a neutrino interaction. | |
Vec | getP1 (const Evt &evt) |
Get momentum vector of the final state of a neutrino interaction. | |
double | getInvariantMass (const Evt &event) |
Get final state invariant mass. | |
JEvtCategorySet | getCategories (const JHead &header) |
Auxiliary method to retrieve the unique event categories corresponding to a MC header. | |
template<class JFunction_t , class JEvtWeightFactor_t = JEvtWeightFactor> | |
JEvtWeightFactorFunction< JFunction_t, JEvtWeightFactor_t > | make_weightFactor (const JFunction_t &function) |
Auxiliary method for creating an interface to an event-weight factor. | |
template<class JEvtWeightFactor_t = JEvtWeightFactor> | |
JEvtWeightFactorFunction< pEvtWeightFactor, JEvtWeightFactor_t > | make_weightFactor (pEvtWeightFactor function) |
Auxiliary method for creating an interface to an event-weight factor. | |
template<class JFunction_t > | |
JEvtWeightFactorFunction< JFunction_t, JFlux > | make_fluxFunction (const JFunction_t &flux) |
Auxiliary method for creating an interface to a flux function. | |
JEvtWeightFactorFunction< pFlux, JFlux > | make_fluxFunction (pFlux flux) |
Auxiliary method for creating an interface to a flux function. | |
template<class JFunction_t > | |
JEvtWeightFactorFunction< JFunction_t, JDiffuseFlux > | make_diffuseFluxFunction (const JFunction_t &flux) |
Auxiliary method for creating an interface to a diffuse flux function. | |
JEvtWeightFactorFunction< pDiffuseFlux, JDiffuseFlux > | make_diffuseFluxFunction (pDiffuseFlux flux) |
Auxiliary method for creating an interface to a diffuse flux function. | |
double | getVolume (const JType< JEvtWeightGSeaGen > &type, const Evt &evt) |
Get volume of given event according given weighter. | |
double | getVolume (const JType< JEvtWeightKM3BUU > &type, const Evt &evt) |
Get volume of given event according given weighter. | |
double | getVolume (const JType< JEvtWeightGenhen > &type, const Evt &evt) |
Get volume of given event according given weighter. | |
double | getVolume (const JEvtWeight &weighter, const Evt &evt) |
Get volume of given event according given weighter. | |
JInteractionTypeGENIE_t | getInteractionType (const int intType) |
Auxiliary function to convert interaction types. | |
JScatteringTypeGENIE_t | getScatteringType (const int scatType) |
Auxiliary function to convert scattering types. | |
void | copy (const Head &from, JHead &to) |
Copy header from from to to . | |
void | copy (const JHead &from, Head &to) |
Copy header from from to to . | |
std::string | getTag (const std::string &tag) |
Get tag without aanet extension "_<counter>" for identical tags. | |
std::string | getTag (const std::string &tag, const int counter) |
Get tag with aanet extension "_<counter>" for identical tags. | |
bool | operator== (const Head &first, const Head &second) |
Equal operator. | |
bool | operator< (const Head &first, const Head &second) |
Less than operator. | |
bool | is_genhen (const JHead &header) |
Check for generator. | |
bool | is_gseagen (const JHead &header) |
Check for generator. | |
bool | is_mupage (const JHead &header) |
Check for generator. | |
bool | is_corsika (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. | |
bool | is_km3sim (const JHead &header) |
Check for detector simulation. | |
bool | is_sirene (const JHead &header) |
Check for detector simulation. | |
bool | is_pure_noise (const JHead &header) |
Check for generator. | |
bool | is_daq (const JHead &header) |
Check for real data. | |
bool | is_MC (const JHead &header) |
Check for Monte-Carlo simulations. | |
Vec | getOffset (const JHead &header) |
Get offset. | |
Vec | getOrigin (const JHead &header) |
Get origin. | |
JCylinder3D | getCylinder (const JHead &header) |
Get cylinder corresponding to the positions of generated tracks (i.e. | |
JLorentzBoost | getBoostToCOM (const Evt &event) |
Get Lorentz boost to the Center of Mass (COM) frame for a given neutrino interaction. | |
void | boostToCOM (Evt &event) |
Boost event to the Center of Mass (COM) frame. | |
bool | is_muon_bundle_primary (const int type) |
Auxiliary function to check if given PDG code corresponds to a valid muon bundle primary type. | |
bool | is_neutrino_primary (const int type) |
Auxiliary function to check if given PDG code corresponds to a neutrino. | |
JInteractionTypeGENIE_t | getInteractionType (const JHead &header) |
Auxiliary function to retrieve the GENIE interaction type corresponding to a given header. | |
std::pair< JParameter< int >, JParameter< int > > | getTargetInfo (const JHead &header) |
Auxiliary function to retrieve the target atomic number and mass number. | |
bool | select (const Trk &trk, const Evt &evt) |
Event selection. | |
bool | hasW (const Trk &trk, const int i) |
Check availability of value. | |
double | getW (const Trk &trk, const int i) |
Get associated value. | |
double | getW (const Trk &trk, const int i, const double value) |
Get associated value. | |
void | setW (Trk &trk, const int i, const double value) |
Set associated value. | |
Variables | |
static const int | AASHOWER_RECONSTRUCTION_TYPE = 101 |
AAnet shower fit reconstruction type. | |
static const JEvtEvaluator | getEvtValue |
Function object for evaluation of DAQ objects. | |
JEvtWeighter | getEventWeighter |
Function object for mapping header to event weighter. | |
static const char | AANET_TAG_SEPARATOR = '_' |
Separator for tag extension of multiple tags in Head ("_<counter>"). | |
static JHeadHelper | get_is_head |
Function object to get check method for given application. | |
static const char *const | HONDA_ENERGY_KEYWORD = "Enu(GeV)" |
static const char *const | HONDA_COSINE_ZENITH_ANGLE_KEYWORD = "cosZ" |
static const char *const | HONDA_AZIMUTH_ANGLE_KEYWORD = "phi_Az" |
static const char *const | HONDA_MUON_NEUTRINO_FLUX_KEYWORD = "NuMu" |
static const char *const | HONDA_MUON_ANTINEUTRINO_FLUX_KEYWORD = "NuMubar" |
static const char *const | HONDA_ELECTRON_NEUTRINO_FLUX_KEYWORD = "NuE" |
static const char *const | HONDA_ELECTRON_ANTINEUTRINO_FLUX_KEYWORD = "NuEbar" |
static const char *const | HONDA_BINSPECS_SEPARATOR = "--" |
static const char | HONDA_BINSPECS_BEGIN = '[' |
static const char | HONDA_BINSPECS_END = ']' |
static const JRange< double > | DEFAULT_BUNDLE_ENERGY_RANGE = JRange<double>(0, 1e11) |
Default bundle energy range [GeV]. | |
static const JRange< double > | DEFAULT_BUNDLE_COSINE_ZENITH_ANGLE_RANGE = JRange<double>(-1.0, 1.0) |
Default bundle cosine zenith angle range [-]. | |
static const JRange< int > | DEFAULT_BUNDLE_MULTIPLICITY_RANGE = JRange<int> (0, 1000) |
Default bundle multiplicity range [-]. | |
static const double | DEFAULT_BUNDLE_RADIAL_EXTENT = 1e5 |
Default bundle radial extent [m]. | |
static const char *const | NEUTRAL_CURRENT = "NC" |
Neutral current header string identifier. | |
static const char *const | CHARGED_CURRENT = "CC" |
Charged current header string identifier. | |
static const JRange< double > | DEFAULT_NEUTRINO_ENERGY_RANGE = JRange<double>(0, 1e11) |
Default neutrino energy range [GeV]. | |
static const JRange< double > | DEFAULT_NEUTRINO_COSINE_ZENITH_ANGLE_RANGE = JRange<double>(-1.0, 1.0) |
Default neutrino cosine zenith angle range [-]. | |
Extensions to Evt data format.
Definition at line 575 of file JEvtCategoryMap.hh.
using JAANET::JFluxMap = JEvtCategoryMap<JFluxHelper> |
Type alias for flux maps.
Definition at line 973 of file JEvtCategoryMap.hh.
using JAANET::JFluxAtmospheric = JEvtWeightFactorFunction<Flux_Atmospheric, JDiffuseFlux> |
Type alias for atmospheric flux function interface.
Definition at line 189 of file JEvtWeightFactorFunction.hh.
typedef double(* JAANET::pEvtWeightFactor) (const Evt &) |
Type definition of event-weight factor pointer.
Definition at line 193 of file JEvtWeightFactorFunction.hh.
using JAANET::pFlux = pEvtWeightFactor |
Type definition of flux function pointer.
Definition at line 197 of file JEvtWeightFactorFunction.hh.
typedef double(* JAANET::pDiffuseFlux) (int, double, double) |
Type definition of pointer to diffuse flux function.
Definition at line 238 of file JEvtWeightFactorFunction.hh.
typedef bool(* JAANET::is_head) (const JHead &) |
Type definition of test function of header.
Definition at line 28 of file JHeadToolkit.hh.
using JAANET::JHondaFluxInterpolator2D |
Alias template definition for 2-dimensional Honda flux interpolator.
Definition at line 947 of file JHondaFluxInterpolator.hh.
enum JAANET::JHitType_t |
Enumeration of hit types based on km3 codes.
Definition at line 76 of file JAAnetToolkit.hh.
|
strong |
Enumeration of GENIE interaction types.
Definition at line 20 of file JGENIETypes.hh.
|
strong |
Enumeration of GENIE scattering types.
Definition at line 39 of file JGENIETypes.hh.
Enumeration of hit types based on Geant4 codes, for compatbility with KM3Sim.
Definition at line 18 of file JParticleTypes.hh.
enum JAANET::JTrackType_t |
Enumeration of track types based on PDG codes.
Definition at line 96 of file JParticleTypes.hh.
|
inline |
Get true time of hit.
hit | hit |
Definition at line 96 of file JAAnetToolkit.hh.
|
inline |
Get true charge of hit.
hit | hit |
Definition at line 108 of file JAAnetToolkit.hh.
|
inline |
Verify hit origin.
hit | hit |
Definition at line 120 of file JAAnetToolkit.hh.
|
inline |
Get time range (i.e. time between earliest and latest hit) of Monte Carlo event.
Note that the global event time in not taken into account.
event | event |
Definition at line 133 of file JAAnetToolkit.hh.
|
inline |
Get time range (i.e. time between earliest and latest hit) of Monte Carlo event.
The resulting time range is larger than or equal to the given time window.
Note that the global event time in not taken into account.
event | event |
T_ns | time window [ns] |
Definition at line 156 of file JAAnetToolkit.hh.
|
inline |
Get position.
pos | position |
Definition at line 178 of file JAAnetToolkit.hh.
|
inline |
Get position.
pos | position |
Definition at line 190 of file JAAnetToolkit.hh.
|
inline |
Get position.
track | track |
Definition at line 202 of file JAAnetToolkit.hh.
|
inline |
Get direction.
dir | direction |
Definition at line 214 of file JAAnetToolkit.hh.
|
inline |
Get direction.
dir | direction |
Definition at line 226 of file JAAnetToolkit.hh.
|
inline |
Get direction.
track | track |
Definition at line 238 of file JAAnetToolkit.hh.
Get axis.
track | track |
Definition at line 250 of file JAAnetToolkit.hh.
Get track.
track | track |
Definition at line 262 of file JAAnetToolkit.hh.
|
inline |
Get transformation.
track | track |
Definition at line 274 of file JAAnetToolkit.hh.
|
inline |
Get track information.
track | track |
index | index |
value | default value |
Definition at line 288 of file JAAnetToolkit.hh.
|
inline |
Test whether given track is a photon or neutral pion.
track | track |
Definition at line 303 of file JAAnetToolkit.hh.
|
inline |
Test whether given track is a (anti-)muon.
track | track |
Definition at line 312 of file JAAnetToolkit.hh.
|
inline |
Test whether given track is a neutrino.
track | track |
Definition at line 320 of file JAAnetToolkit.hh.
|
inline |
Test whether given track is a (anti-)electron.
track | track |
Definition at line 330 of file JAAnetToolkit.hh.
|
inline |
Test whether given track is a (anti-)muon.
track | track |
Definition at line 338 of file JAAnetToolkit.hh.
|
inline |
Test whether given track is a (anti-)tau.
track | track |
Definition at line 346 of file JAAnetToolkit.hh.
|
inline |
Test whether given track is a charged pion.
track | track |
Definition at line 354 of file JAAnetToolkit.hh.
|
inline |
Test whether given track is a (anti-)proton.
track | track |
Definition at line 362 of file JAAnetToolkit.hh.
|
inline |
Test whether given track is a (anti-)neutron.
track | track |
Definition at line 370 of file JAAnetToolkit.hh.
|
inline |
Test whether given track is a lepton.
track | track |
Definition at line 378 of file JAAnetToolkit.hh.
|
inline |
Test whether given track is a charged lepton.
track | track |
Definition at line 389 of file JAAnetToolkit.hh.
|
inline |
Test whether given track is a hadron.
track | track |
Definition at line 399 of file JAAnetToolkit.hh.
|
inline |
Test whether given track is a meson (is hadron and third digit of PDG code is zero)
track | track |
Definition at line 408 of file JAAnetToolkit.hh.
|
inline |
Test whether given track is a baryon (is hadron and third digit of PDG code is not zero)
track | track |
Definition at line 417 of file JAAnetToolkit.hh.
|
inline |
Test whether given track is a nucleus (PDG code corresponds to a baryon or has 10 digits, starting with '10')
track | track |
Definition at line 426 of file JAAnetToolkit.hh.
|
inline |
Test whether given track corresponds to given particle type.
track | track |
type | particle type |
Definition at line 442 of file JAAnetToolkit.hh.
|
inline |
Test whether given track corresponds to an initial state particle.
track | track |
Definition at line 450 of file JAAnetToolkit.hh.
|
inline |
Test whether given track corresponds to a final state particle.
track | track |
Definition at line 476 of file JAAnetToolkit.hh.
|
inline |
Test whether given event has an incoming neutrino.
evt | event |
Definition at line 491 of file JAAnetToolkit.hh.
Get incoming neutrino.
evt | event |
Definition at line 513 of file JAAnetToolkit.hh.
|
inline |
Test whether given event has well-defined target nucleus.
evt | event |
Definition at line 538 of file JAAnetToolkit.hh.
Get target nucleus.
evt | event |
Definition at line 561 of file JAAnetToolkit.hh.
|
inline |
Auxiliary function to check if an event contains a primary track.
evt | event |
Definition at line 583 of file JAAnetToolkit.hh.
Auxiliary function to retrieve the primary track of an event.
evt | event |
Definition at line 604 of file JAAnetToolkit.hh.
Auxiliary function to retrieve the leading lepton of a neutrino interaction.
event | event |
Definition at line 625 of file JAAnetToolkit.hh.
Get vertex.
track | track |
Definition at line 654 of file JAAnetToolkit.hh.
Get event vertex.
event | event |
Definition at line 665 of file JAAnetToolkit.hh.
|
inline |
Count the number of electrons in a given event.
evt | event |
Definition at line 704 of file JAAnetToolkit.hh.
|
inline |
Test whether given event has an electron.
evt | event |
Definition at line 715 of file JAAnetToolkit.hh.
Get first electron from the event tracklist.
evt | event |
Definition at line 726 of file JAAnetToolkit.hh.
|
inline |
Test whether given hit was produced by an electron.
Warning: This method will only work with the output of KM3Sim. For JSirene or KM3, you should check if track.id == hit.origin
instead.
hit | hit |
Definition at line 743 of file JAAnetToolkit.hh.
|
inline |
Count the number of muons in a given event.
evt | event |
Definition at line 754 of file JAAnetToolkit.hh.
|
inline |
Test whether given event has a muon.
evt | event |
Definition at line 765 of file JAAnetToolkit.hh.
Get first muon from the event tracklist.
evt | event |
Definition at line 776 of file JAAnetToolkit.hh.
|
inline |
Test whether given hit was produced by a muon.
Warning: This method will only work with the output of KM3Sim. For JSirene or KM3, you should check if track.id == hit.origin
instead.
hit | hit |
Definition at line 793 of file JAAnetToolkit.hh.
|
inline |
Count the number of taus in a given event.
evt | event |
Definition at line 804 of file JAAnetToolkit.hh.
|
inline |
Test whether given event has a tau.
evt | event |
Definition at line 815 of file JAAnetToolkit.hh.
Get first tau from the event tracklist.
evt | event |
Definition at line 826 of file JAAnetToolkit.hh.
|
inline |
Test whether given event contains a tau-lepton decay into a muon.
event | event |
Definition at line 841 of file JAAnetToolkit.hh.
|
inline |
Test whether given event contains a leptonic tau-decay.
event | event |
Definition at line 865 of file JAAnetToolkit.hh.
|
inline |
Test whether given event contains a hadronic tau-decay.
event | event |
Definition at line 889 of file JAAnetToolkit.hh.
|
inline |
Count the number of tau-lepton decay prongs in a given event.
The number of prongs is defined as the number of charged tau-lepton decay products.
event | event |
Definition at line 901 of file JAAnetToolkit.hh.
|
inline |
Test whether given hit was produced by a tau.
Warning: This method will only work with the output of KM3Sim. For JSirene or KM3, you should check if track.id == hit.origin
instead.
hit | hit |
Definition at line 930 of file JAAnetToolkit.hh.
|
inline |
Count the number of hadrons in a given event (not including neutral pions)
evt | event |
Definition at line 941 of file JAAnetToolkit.hh.
|
inline |
Test whether given hit was produced by a hadronic shower.
Warning: This method will only work with the output of KM3Sim. For JSirene or KM3, you should check if track.id == hit.origin
instead.
hit | hit |
Definition at line 955 of file JAAnetToolkit.hh.
|
inline |
Add time offset to mc event; according to current definition, the absolute time of the event is defined by the track "t" attribute; this could change in the future if the global attribute mc_t is assigned to this purpose.
evt | event |
tOff | time offset [ns] |
Definition at line 969 of file JAAnetToolkit.hh.
|
inline |
Get track kinetic energy.
trk | track |
Definition at line 983 of file JAAnetToolkit.hh.
|
inline |
Get initial state energy of a neutrino interaction.
This method includes baryon number conservation.
evt | event |
Definition at line 999 of file JAAnetToolkit.hh.
|
inline |
Get final state energy of a neutrino interaction.
This method includes muon energy loss.
evt | event |
Definition at line 1045 of file JAAnetToolkit.hh.
Get momentum vector of the initial state of a neutrino interaction.
This method assumes neutrino DIS on a stationary nucleus
evt | event |
Definition at line 1084 of file JAAnetToolkit.hh.
Get momentum vector of the final state of a neutrino interaction.
This method includes muon energy losses.
evt | event |
Definition at line 1099 of file JAAnetToolkit.hh.
|
inline |
Get final state invariant mass.
event | event |
Definition at line 1142 of file JAAnetToolkit.hh.
|
inline |
Auxiliary method to retrieve the unique event categories corresponding to a MC header.
header | MC header |
Definition at line 110 of file JEvtCategoryToolkit.hh.
|
inline |
Auxiliary method for creating an interface to an event-weight factor.
function | function object |
Definition at line 288 of file JEvtWeightFactorFunction.hh.
|
inline |
Auxiliary method for creating an interface to an event-weight factor.
function | function pointer |
Definition at line 300 of file JEvtWeightFactorFunction.hh.
|
inline |
Auxiliary method for creating an interface to a flux function.
flux | flux function object |
Definition at line 312 of file JEvtWeightFactorFunction.hh.
|
inline |
Auxiliary method for creating an interface to a flux function.
flux | flux function pointer |
Definition at line 323 of file JEvtWeightFactorFunction.hh.
|
inline |
Auxiliary method for creating an interface to a diffuse flux function.
flux | diffuse flux function object |
Definition at line 335 of file JEvtWeightFactorFunction.hh.
|
inline |
Auxiliary method for creating an interface to a diffuse flux function.
flux | diffuse flux function pointer |
Definition at line 346 of file JEvtWeightFactorFunction.hh.
|
inline |
Get volume of given event according given weighter.
type | type |
evt | event |
Definition at line 99 of file JEvtWeightToolkit.hh.
|
inline |
Get volume of given event according given weighter.
type | type |
evt | event |
Definition at line 114 of file JEvtWeightToolkit.hh.
|
inline |
Get volume of given event according given weighter.
type | type |
evt | event |
Definition at line 129 of file JEvtWeightToolkit.hh.
|
inline |
Get volume of given event according given weighter.
The return value should be normalised to
weighter | weighter |
evt | event |
Definition at line 155 of file JEvtWeightToolkit.hh.
|
inline |
Auxiliary function to convert interaction types.
intType | GENIE interaction type |
Definition at line 72 of file JGENIETypes.hh.
|
inline |
Auxiliary function to convert scattering types.
scatType | GENIE scattering type |
Definition at line 89 of file JGENIETypes.hh.
Copy header from from
to to
.
from | header |
to | header |
Definition at line 163 of file JHead.cc.
Copy header from from
to to
.
from | header |
to | header |
Definition at line 202 of file JHead.cc.
|
inline |
Get tag without aanet extension "_<counter>" for identical tags.
tag | tag |
Definition at line 94 of file JHead.hh.
|
inline |
Get tag with aanet extension "_<counter>" for identical tags.
tag | tag |
counter | counter |
Definition at line 122 of file JHead.hh.
Equal operator.
Note that this operator uses the JHead::match method.
first | first header |
second | second header |
Less than operator.
Note that this operator uses the JHead::less method.
first | first header |
second | second header |
|
inline |
Check for generator.
header | header |
Definition at line 37 of file JHeadToolkit.hh.
|
inline |
Check for generator.
header | header |
Definition at line 61 of file JHeadToolkit.hh.
|
inline |
Check for generator.
header | header |
Definition at line 85 of file JHeadToolkit.hh.
|
inline |
Check for generator.
header | header |
Definition at line 103 of file JHeadToolkit.hh.
|
inline |
Check for generator.
header | header |
Definition at line 121 of file JHeadToolkit.hh.
|
inline |
Check for detector simulation.
header | header |
Definition at line 139 of file JHeadToolkit.hh.
|
inline |
Check for detector simulation.
header | header |
Definition at line 157 of file JHeadToolkit.hh.
|
inline |
Check for detector simulation.
header | header |
Definition at line 175 of file JHeadToolkit.hh.
|
inline |
Check for generator.
header | header |
Definition at line 193 of file JHeadToolkit.hh.
|
inline |
Check for real data.
header | header |
Definition at line 205 of file JHeadToolkit.hh.
|
inline |
Check for Monte-Carlo simulations.
header | header |
Definition at line 217 of file JHeadToolkit.hh.
Get offset.
For consistency with the position of the detector, a pending offset should be added to the positions of generated tracks (i.e. Evt::mc_trks).
The main logic can be summarised as follows.
(0,0,0)
is returned;(0,0,-zmin)
is returned;(x,y,z)
is returned;(0,0,0)
is returned;header | header |
Definition at line 291 of file JHeadToolkit.hh.
Get origin.
The origin corresponds to the offset that has already been applied to the positions of generated tracks (i.e. Evt::mc_trks).
The main logic can be summarised as follows.
(x,y,0)
is returned;(0,0,zmin)
is returned;(0,0,0)
is returned;(0,0,0)
is returned;header | header |
Definition at line 325 of file JHeadToolkit.hh.
|
inline |
Get cylinder corresponding to the positions of generated tracks (i.e.
For consistency with the position of the detector, the pending offset (see method JAANET::getOffset) should be added to the position of cylinder.
header | header |
Definition at line 347 of file JHeadToolkit.hh.
JLorentzBoost JAANET::getBoostToCOM | ( | const Evt & | event | ) |
Get Lorentz boost to the Center of Mass (COM) frame for a given neutrino interaction.
event | event |
Definition at line 248 of file JLorentzBoost.hh.
void JAANET::boostToCOM | ( | Evt & | event | ) |
Boost event to the Center of Mass (COM) frame.
event | event |
Definition at line 271 of file JLorentzBoost.hh.
|
inline |
Auxiliary function to check if given PDG code corresponds to a valid muon bundle primary type.
type | PDG type |
Definition at line 56 of file JMuonBundleCategory.hh.
|
inline |
Auxiliary function to check if given PDG code corresponds to a neutrino.
type | PDG type |
Definition at line 57 of file JNeutrinoInteractionCategory.hh.
|
inline |
Auxiliary function to retrieve the GENIE interaction type corresponding to a given header.
header | MC header |
Definition at line 73 of file JNeutrinoInteractionCategory.hh.
|
inline |
Auxiliary function to retrieve the target atomic number and mass number.
header | MC header |
Definition at line 106 of file JNeutrinoInteractionCategory.hh.
Event selection.
trk | track |
evt | event |
Definition at line 16 of file JAAnet/event_selector.cc.
|
inline |
Check availability of value.
trk | track |
i | index |
Definition at line 102 of file JAAnet/JEvD.cc.
|
inline |
Get associated value.
trk | track |
i | index |
Definition at line 115 of file JAAnet/JEvD.cc.
|
inline |
Get associated value.
trk | track |
i | index |
value | default value |
Definition at line 129 of file JAAnet/JEvD.cc.
void JAANET::setW | ( | Trk & | trk, |
const int | i, | ||
const double | value ) |
Set associated value.
trk | track |
i | index |
value | value |
Definition at line 145 of file JAAnet/JEvD.cc.
|
static |
AAnet shower fit reconstruction type.
Definition at line 70 of file JAAnetToolkit.hh.
|
static |
Function object for evaluation of DAQ objects.
Definition at line 54 of file JEvtEvaluator.hh.
JEvtWeighter JAANET::getEventWeighter |
Function object for mapping header to event weighter.
Definition at line 12 of file JEvtWeightToolkit.cc.
|
static |
|
static |
Function object to get check method for given application.
Definition at line 266 of file JHeadToolkit.hh.
|
static |
Definition at line 53 of file JHondaFluxInterpolator.hh.
|
static |
Definition at line 54 of file JHondaFluxInterpolator.hh.
|
static |
Definition at line 55 of file JHondaFluxInterpolator.hh.
|
static |
Definition at line 57 of file JHondaFluxInterpolator.hh.
|
static |
Definition at line 58 of file JHondaFluxInterpolator.hh.
|
static |
Definition at line 59 of file JHondaFluxInterpolator.hh.
|
static |
Definition at line 60 of file JHondaFluxInterpolator.hh.
|
static |
Definition at line 62 of file JHondaFluxInterpolator.hh.
|
static |
Definition at line 63 of file JHondaFluxInterpolator.hh.
|
static |
Definition at line 64 of file JHondaFluxInterpolator.hh.
Default bundle energy range [GeV].
Definition at line 44 of file JMuonBundleCategory.hh.
|
static |
Default bundle cosine zenith angle range [-].
Definition at line 45 of file JMuonBundleCategory.hh.
Default bundle multiplicity range [-].
Definition at line 46 of file JMuonBundleCategory.hh.
|
static |
Default bundle radial extent [m].
Definition at line 47 of file JMuonBundleCategory.hh.
|
static |
Neutral current header string identifier.
Definition at line 43 of file JNeutrinoInteractionCategory.hh.
|
static |
Charged current header string identifier.
Definition at line 44 of file JNeutrinoInteractionCategory.hh.
Default neutrino energy range [GeV].
Definition at line 47 of file JNeutrinoInteractionCategory.hh.
|
static |
Default neutrino cosine zenith angle range [-].
Definition at line 48 of file JNeutrinoInteractionCategory.hh.