|
Jpp 21.0.0
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... | |
| class | JAAnetDictionary |
| Simple wrapper class around JROOT::JRootDictionary so that other classes are included by construction. 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... | |
| class | JEvtWeightFactorDictionary |
| Dictionary to map distinct event-weight factors to unique identifiers. 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 | 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... | |
| struct | JEvtWeightFactorRadiativeCorrections |
| Class for radiative corrections to the neutrino CC-DIS weights, based on references: More... | |
| class | JEvtWeightFactorTFormula |
| Base class implementation for reweighting factor for simulated events according to a specifiable ROOT TFormula. More... | |
| struct | JEvtWeightFactorTriggerEfficiencyRatio |
| Implementation of reweighting factor for trigger efficiency ratios. 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... | |
| class | JFluxDictionary |
| Dictionary to map distinct flux function categories to unique identifiers. 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 | JMultipleTagsStreamer |
| Auxiliary class for reading multiple entries in Monte Carlo header with same tag into single std::vector. 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 | JPDBSelection |
| Selection of particle data book entries. 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. | |
| JVertex3D | getVertex (const Trk &track) |
| Get vertex. | |
| JAxis3D | getAxis (const Trk &track) |
| Get axis. | |
| JTrack3E | getTrack (const Trk &track) |
| Get track. | |
| JShower3E | getShower (const Trk &shower) |
| Get shower. | |
| 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_charged_lepton (const Trk &track) |
| Test whether given track is a charged lepton. | |
| bool | is_lepton (const Trk &track) |
| Test whether given track is a lepton. | |
| bool | is_nucleus (const Trk &track) |
| Test whether given track is a nucleus. | |
| bool | is_hadron (const Trk &track) |
| Test whether given track is a hadron. | |
| bool | is_baryon (const Trk &track) |
| Test whether given track is a baryon. | |
| bool | is_meson (const Trk &track) |
| Test whether given track is a meson (is hadron and third digit of PDG code is zero) | |
| 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_muonbundle (const Evt &evt) |
| Test whether given event has an incoming muonbundle. | |
| const Trk & | get_muonbundle (const Evt &evt) |
| Get incoming muonbundle. | |
| bool | has_target_nucleus (const Evt &evt) |
| Test whether given event contains target nucleus. | |
| const Trk & | get_target_nucleus (const Evt &evt) |
| Get target nucleus. | |
| bool | has_target_nucleon (const Evt &evt) |
| Test whether given event contains target nucleon. | |
| const Trk & | get_target_nucleon (const Evt &evt) |
| Get target nucleon. | |
| 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. | |
| bool | has_leading_lepton (const Evt &event) |
| Auxiliary function to check if an event contains the leading lepton of a neutrino interaction. | |
| const Trk & | get_leading_lepton (const Evt &event) |
| Auxiliary function to retrieve the leading lepton of a neutrino interaction. | |
| 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, const int tauID) |
| Count the number of tau-lepton decay prongs for the given tau lepton. | |
| int | count_taudecay_prongs (const Evt &event) |
| Count the number of tau-lepton decay prongs for the first tau among the event tracklist. | |
| 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. | |
| double | get_target_nucleon_mass (const Evt &evt) |
| Get target nucleon mass. | |
| 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 | getQ2 (const Evt &event) |
| Get negative squared momentum transfer (Q^2 = -q^2 >= 0) of a neutrino interaction. | |
| double | getS0 (const Evt &event) |
| Get initial state squared invariant mass of a neutrino interaction. | |
| double | getS1 (const Evt &event) |
| Get final state squared invariant mass of a neutrino interaction. | |
| int | getInteractionID (const Evt &event, const bool useScatteringType=true, const bool useDecayType=true) |
| Retrieve interaction identifier. | |
| 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. | |
| JGENIEInteractionType_t | getInteractionType (const int intType) |
| Auxiliary function to convert interaction types. | |
| JGENIEScatteringType_t | getScatteringType (const int scatType) |
| Auxiliary function to convert scattering types. | |
| double | get_target_nucleon_mass (const int type) |
| Get target nucleon mass. | |
| 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. | |
| bool | has_mupage_weights (const JHead &header) |
| Check for generator. | |
| 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. | |
| JGENIEInteractionType_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. | |
| const JPDBSelection & | getQuarks () |
| Retrieve quark entries from particle data book. | |
| const JPDBSelection & | getChargedLeptons () |
| Retrieve charged lepton entries from particle data book. | |
| 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. | |
| static const char *const | PRIMARY_QUARK_PDG_KEY = "primary_quark_pdg" |
| ID string for primary quark user info. | |
| 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 JEEP::JVersion | MUPAGE_MINIMAL_VERSION (6, 0, 2) |
| MUPAGE minimal version using weights. | |
| 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 571 of file JEvtCategoryMap.hh.
| using JAANET::JFluxMap = JEvtCategoryMap<JFluxHelper> |
Type alias for flux maps.
Definition at line 966 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 30 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 87 of file JAAnetToolkit.hh.
|
strong |
Enumeration of GENIE interaction types.
Definition at line 31 of file JGENIETypes.hh.
|
strong |
Enumeration of GENIE scattering types.
Definition at line 50 of file JGENIETypes.hh.
|
strong |
PDG codes for GENIE special particles.
Definition at line 80 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.
| enum JAANET::JQuarkType_t |
Enumeration of quark types based on PDG codes.
Definition at line 173 of file JParticleTypes.hh.
|
inline |
Get true time of hit.
| hit | hit |
Definition at line 107 of file JAAnetToolkit.hh.
|
inline |
Get true charge of hit.
| hit | hit |
Definition at line 119 of file JAAnetToolkit.hh.
|
inline |
Verify hit origin.
| hit | hit |
Definition at line 131 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 144 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 167 of file JAAnetToolkit.hh.
|
inline |
Get position.
| pos | position |
Definition at line 189 of file JAAnetToolkit.hh.
|
inline |
Get position.
| pos | position |
Definition at line 201 of file JAAnetToolkit.hh.
|
inline |
Get position.
| track | track |
Definition at line 213 of file JAAnetToolkit.hh.
|
inline |
Get direction.
| dir | direction |
Definition at line 225 of file JAAnetToolkit.hh.
|
inline |
Get direction.
| dir | direction |
Definition at line 237 of file JAAnetToolkit.hh.
|
inline |
Get direction.
| track | track |
Definition at line 249 of file JAAnetToolkit.hh.
Get vertex.
| track | track |
Definition at line 261 of file JAAnetToolkit.hh.
Get axis.
| track | track |
Definition at line 273 of file JAAnetToolkit.hh.
Get track.
| track | track |
Definition at line 285 of file JAAnetToolkit.hh.
Get shower.
| shower | shower |
Definition at line 297 of file JAAnetToolkit.hh.
|
inline |
Get transformation.
| track | track |
Definition at line 309 of file JAAnetToolkit.hh.
|
inline |
Get track information.
| track | track |
| index | index |
| value | default value |
Definition at line 323 of file JAAnetToolkit.hh.
|
inline |
Test whether given track is a photon or neutral pion.
| track | track |
Definition at line 338 of file JAAnetToolkit.hh.
|
inline |
Test whether given track is a (anti-)muon.
| track | track |
Definition at line 348 of file JAAnetToolkit.hh.
|
inline |
Test whether given track is a neutrino.
| track | track |
Definition at line 357 of file JAAnetToolkit.hh.
|
inline |
Test whether given track is a (anti-)electron.
| track | track |
Definition at line 368 of file JAAnetToolkit.hh.
|
inline |
Test whether given track is a (anti-)muon.
| track | track |
Definition at line 377 of file JAAnetToolkit.hh.
|
inline |
Test whether given track is a (anti-)tau.
| track | track |
Definition at line 386 of file JAAnetToolkit.hh.
|
inline |
Test whether given track is a charged pion.
| track | track |
Definition at line 395 of file JAAnetToolkit.hh.
|
inline |
Test whether given track is a (anti-)proton.
| track | track |
Definition at line 404 of file JAAnetToolkit.hh.
|
inline |
Test whether given track is a (anti-)neutron.
| track | track |
Definition at line 413 of file JAAnetToolkit.hh.
|
inline |
Test whether given track is a charged lepton.
| track | track |
Definition at line 422 of file JAAnetToolkit.hh.
|
inline |
Test whether given track is a lepton.
| track | track |
Definition at line 433 of file JAAnetToolkit.hh.
|
inline |
Test whether given track is a nucleus.
| track | track |
Definition at line 443 of file JAAnetToolkit.hh.
|
inline |
Test whether given track is a hadron.
| track | track |
Definition at line 467 of file JAAnetToolkit.hh.
|
inline |
Test whether given track is a baryon.
| track | track |
Definition at line 479 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 507 of file JAAnetToolkit.hh.
|
inline |
Test whether given track corresponds to given particle type.
| track | track |
| type | particle type |
Definition at line 517 of file JAAnetToolkit.hh.
|
inline |
Test whether given track corresponds to an initial state particle.
| track | track |
Definition at line 526 of file JAAnetToolkit.hh.
|
inline |
Test whether given track corresponds to a final state particle.
| track | track |
Definition at line 555 of file JAAnetToolkit.hh.
|
inline |
Test whether given event has an incoming neutrino.
| evt | event |
Definition at line 571 of file JAAnetToolkit.hh.
Get incoming neutrino.
| evt | event |
Definition at line 594 of file JAAnetToolkit.hh.
|
inline |
Test whether given event has an incoming muonbundle.
| evt | event |
Definition at line 617 of file JAAnetToolkit.hh.
Get incoming muonbundle.
| evt | event |
Definition at line 631 of file JAAnetToolkit.hh.
|
inline |
Test whether given event contains target nucleus.
| evt | event |
Definition at line 647 of file JAAnetToolkit.hh.
Get target nucleus.
| evt | event |
Definition at line 670 of file JAAnetToolkit.hh.
|
inline |
Test whether given event contains target nucleon.
| evt | event |
Definition at line 689 of file JAAnetToolkit.hh.
Get target nucleon.
| evt | event |
Definition at line 716 of file JAAnetToolkit.hh.
|
inline |
Auxiliary function to check if an event contains a primary track.
| evt | event |
Definition at line 739 of file JAAnetToolkit.hh.
Auxiliary function to retrieve the primary track of an event.
| evt | event |
Definition at line 757 of file JAAnetToolkit.hh.
|
inline |
Auxiliary function to check if an event contains the leading lepton of a neutrino interaction.
| event | event |
Definition at line 775 of file JAAnetToolkit.hh.
Auxiliary function to retrieve the leading lepton of a neutrino interaction.
| event | event |
Definition at line 798 of file JAAnetToolkit.hh.
Get event vertex.
| event | event |
Definition at line 825 of file JAAnetToolkit.hh.
|
inline |
Count the number of electrons in a given event.
| evt | event |
Definition at line 862 of file JAAnetToolkit.hh.
|
inline |
Test whether given event has an electron.
| evt | event |
Definition at line 874 of file JAAnetToolkit.hh.
Get first electron from the event tracklist.
| evt | event |
Definition at line 886 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 904 of file JAAnetToolkit.hh.
|
inline |
Count the number of muons in a given event.
| evt | event |
Definition at line 916 of file JAAnetToolkit.hh.
|
inline |
Test whether given event has a muon.
| evt | event |
Definition at line 928 of file JAAnetToolkit.hh.
Get first muon from the event tracklist.
| evt | event |
Definition at line 940 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 958 of file JAAnetToolkit.hh.
|
inline |
Count the number of taus in a given event.
| evt | event |
Definition at line 970 of file JAAnetToolkit.hh.
|
inline |
Test whether given event has a tau.
| evt | event |
Definition at line 982 of file JAAnetToolkit.hh.
Get first tau from the event tracklist.
| evt | event |
Definition at line 994 of file JAAnetToolkit.hh.
|
inline |
Test whether given event contains a tau-lepton decay into a muon.
| event | event |
Definition at line 1009 of file JAAnetToolkit.hh.
|
inline |
Test whether given event contains a leptonic tau-decay.
| event | event |
Definition at line 1035 of file JAAnetToolkit.hh.
|
inline |
Test whether given event contains a hadronic tau-decay.
| event | event |
Definition at line 1061 of file JAAnetToolkit.hh.
|
inline |
Count the number of tau-lepton decay prongs for the given tau lepton.
The number of prongs is defined as the number of charged tau-lepton decay products.
| event | event |
| tauID | track ID of tau lepton |
Definition at line 1075 of file JAAnetToolkit.hh.
|
inline |
Count the number of tau-lepton decay prongs for the first tau among the event tracklist.
The number of prongs is defined as the number of charged tau-lepton decay products.
| event | event |
Definition at line 1116 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 1148 of file JAAnetToolkit.hh.
|
inline |
Count the number of hadrons in a given event (not including neutral pions)
| evt | event |
Definition at line 1160 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 1175 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 1189 of file JAAnetToolkit.hh.
|
inline |
Get track kinetic energy.
| trk | track |
Definition at line 1203 of file JAAnetToolkit.hh.
|
inline |
Get initial state energy of a neutrino interaction.
This method includes baryon number conservation.
| evt | event |
Definition at line 1219 of file JAAnetToolkit.hh.
|
inline |
Get final state energy of a neutrino interaction.
This method includes muon energy loss.
| evt | event |
Definition at line 1276 of file JAAnetToolkit.hh.
|
inline |
Get target nucleon mass.
| evt | event |
Definition at line 1312 of file JAAnetToolkit.hh.
Get momentum vector of the initial state of a neutrino interaction.
Fermi motion is accounted for if the target nucleon information is available.
| evt | event |
Definition at line 1343 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 1369 of file JAAnetToolkit.hh.
|
inline |
Get negative squared momentum transfer (Q^2 = -q^2 >= 0) of a neutrino interaction.
| event | event |
Definition at line 1416 of file JAAnetToolkit.hh.
|
inline |
Get initial state squared invariant mass of a neutrino interaction.
| event | event |
Definition at line 1434 of file JAAnetToolkit.hh.
|
inline |
Get final state squared invariant mass of a neutrino interaction.
| event | event |
Definition at line 1449 of file JAAnetToolkit.hh.
|
inline |
Retrieve interaction identifier.
The interaction identifier is defined as a 7 digit number. The first two digits indicate PDG code of the primary particle in the interaction. For neutrino-interactions, the 3rd digit differentiates the interaction type (CC: 2, NC: 3), whilst the 4th and 5th digits differentiate the scattering type (QE: 01, DIS: 03, RES: 04, COH: 05, DIFF: 06, MEC: 10). For tau-neutrino interactions, the last two digits are used to differentiate between tau-decay modes:
| event | event |
| useScatteringType | toggle distinction between different scattering types |
| useDecayType | toggle distinction between different tau-decays |
Definition at line 1475 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 105 of file JGENIETypes.hh.
|
inline |
Auxiliary function to convert scattering types.
| scatType | GENIE scattering type |
Definition at line 122 of file JGENIETypes.hh.
|
inline |
Get target nucleon mass.
| type | target nucleon PDG code |
Definition at line 142 of file JGENIETypes.hh.
Copy header from from to to.
| from | header |
| to | header |
Definition at line 157 of file JHead.cc.
Copy header from from to to.
| from | header |
| to | header |
Definition at line 196 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 39 of file JHeadToolkit.hh.
|
inline |
Check for generator.
| header | header |
Definition at line 63 of file JHeadToolkit.hh.
|
inline |
Check for generator.
| header | header |
Definition at line 87 of file JHeadToolkit.hh.
|
inline |
Check for generator.
| header | header |
Definition at line 105 of file JHeadToolkit.hh.
|
inline |
Check for generator.
| header | header |
Definition at line 123 of file JHeadToolkit.hh.
|
inline |
Check for detector simulation.
| header | header |
Definition at line 141 of file JHeadToolkit.hh.
|
inline |
Check for detector simulation.
| header | header |
Definition at line 159 of file JHeadToolkit.hh.
|
inline |
Check for detector simulation.
| header | header |
Definition at line 177 of file JHeadToolkit.hh.
|
inline |
Check for generator.
| header | header |
Definition at line 195 of file JHeadToolkit.hh.
|
inline |
Check for real data.
| header | header |
Definition at line 207 of file JHeadToolkit.hh.
|
inline |
Check for Monte-Carlo simulations.
| header | header |
Definition at line 219 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 293 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 327 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 349 of file JHeadToolkit.hh.
|
inline |
Check for generator.
| header | header |
Definition at line 385 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.
|
inline |
Retrieve quark entries from particle data book.
Definition at line 317 of file JPDB.hh.
|
inline |
Retrieve charged lepton entries from particle data book.
Definition at line 343 of file JPDB.hh.
|
inline |
Check availability of value.
| trk | track |
| i | index |
Definition at line 104 of file JAAnet/JEvD.cc.
|
inline |
Get associated value.
| trk | track |
| i | index |
Definition at line 117 of file JAAnet/JEvD.cc.
|
inline |
Get associated value.
| trk | track |
| i | index |
| value | default value |
Definition at line 131 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 147 of file JAAnet/JEvD.cc.
|
static |
AAnet shower fit reconstruction type.
Definition at line 81 of file JAAnetToolkit.hh.
|
static |
Function object for evaluation of DAQ objects.
Definition at line 54 of file JEvtEvaluator.hh.
|
static |
ID string for primary quark user info.
Definition at line 43 of file JEvtWeightFactorRadiativeCorrections.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 268 of file JHeadToolkit.hh.
|
static |
MUPAGE minimal version using weights.
|
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.