Jpp
19.0.0
the software that should make you happy
|
Extensions to Evt data format. More...
Classes | |
struct | JAtmosphericNeutrinoFlux |
Implementation of atmospheric neutrino flux using official KM3NeT atmospheric flux function. More... | |
struct | JDiffuseFlux |
Low-level interface for diffuse fluxes. 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 | JEvtWeightFactor |
Low-level interface for retrieving a specifiable multiplication factor corresponding to a given event. More... | |
struct | JEvtWeightFactorFunction |
Implementation of event-weight factor interface. More... | |
struct | JEvtWeightFactorFunction< JDiffuseFluxFunction_t, JDiffuseFlux > |
Implementation of event-weight factor interface for diffuse flux objects. More... | |
struct | JEvtWeightFactorFunction< pEvtWeightFactor, JEvtWeightFactor_t > |
Implementation of C-style event-weight factor. More... | |
struct | JEvtWeightFactorFunction< pDiffuseFlux, JDiffuseFlux > |
Implementation of C-style diffuse flux event-weight factor. More... | |
struct | 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 | JEvtWeightFactorHelper< JDiffuseFlux > |
Explicit emplate specialization of event-weight factor helper for diffuse flux objects. More... | |
struct | JEvtWeightFactorMultiParticle |
Implementation of event-weight factor for multiple particle types. More... | |
struct | JEvtWeightFactorMupage |
Implementation of reweighting factor for mupage 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 | JEvtWeighter |
Look-up table for event weighters. More... | |
struct | JNeutrinoTypeCollection |
Auxiliary class for parsing a vector of neutrino PDG identifiers. More... | |
struct | JFluxMap |
Auxiliary class for parsing multiparticle fluxes. More... | |
struct | JFlatFlux |
Function object for constant fluxes. More... | |
struct | JFlux |
Low-level interface for retrieving the flux corresponding to a given event. More... | |
struct | JRange_t |
Type definition of range. More... | |
struct | start_run |
Start of run record. More... | |
struct | String |
General purpose string class. More... | |
struct | detector |
Detector file. More... | |
struct | muon_desc_file |
Muon descriptor file. More... | |
struct | target |
Target. More... | |
struct | XSecFile |
Neutrino cross section file. More... | |
struct | drawing |
Drawing. More... | |
struct | calibration |
Calibration. More... | |
struct | cut |
General purpose class of phase space generation. More... | |
struct | cut_primary |
Phase space of primary particle. More... | |
struct | cut_seamuon |
Phase space of atmospheric muon generation. More... | |
struct | cut_in |
Phase space of incoming particle. More... | |
struct | cut_nu |
Phase space of incident neutrino. More... | |
struct | generator |
Description of Monte Carlo event generation applications. More... | |
struct | physics |
Physics information. More... | |
struct | simul |
Generator for simulation. More... | |
struct | spectrum |
Neutrino energy spectrum. More... | |
struct | can |
The cylinder used for photon tracking. More... | |
struct | fixedcan |
The fixed cylinder used for photon tracking. More... | |
struct | genvol |
Neutrino vertex volume. More... | |
struct | coord_origin |
Coordinate origin. More... | |
struct | genhencut |
Phase space for incident neutrino. More... | |
struct | norma |
Normlisation of CORSIKA events. More... | |
struct | livetime |
Normalisation of MUPAGE events. More... | |
struct | flux |
Neutrino flux. More... | |
struct | seabottom |
The bottom of the sea. More... | |
struct | depth |
Depth. More... | |
struct | DAQ |
Livetime of DAQ data. More... | |
struct | K40 |
Livetime of noise data. More... | |
struct | tgen |
Time duration of event generation. More... | |
struct | time_interval |
UTC time interval for event generation. More... | |
struct | primary |
Primary particle. More... | |
struct | end_event |
End of event record. 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 | JLorentzBoost |
Auxiliary class for performing Lorentz boosts. More... | |
struct | JMultiHead |
Auxiliary data structure to store multiple headers and bookkeep event-weight normalisations. 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 | JVolume |
Auxiliary class for histogramming of effective volume. More... | |
struct | JEventSelector |
Event selector. More... | |
Typedefs | |
typedef double(* | pEvtWeightFactor )(const Evt &) |
Type definition of event-weight factor pointer. More... | |
using | pFlux = pEvtWeightFactor |
Type definition of flux function pointer. More... | |
typedef double(* | pDiffuseFlux )(int, double, double) |
Type definition of pointer to diffuse flux function. More... | |
typedef JEvtWeightFactorHelper < JFlux > | JFluxHelper |
Type definition of event-weight factor helper for flux functions. More... | |
typedef JEvtWeightFactorHelper < JDiffuseFlux > | JDiffuseFluxHelper |
Type definition of event-weight factor helper for diffuse flux objects. More... | |
typedef JEvtWeightFactorMultiParticle < JFlux > | JFluxMultiParticle |
Type-definition of multi-particle event-weight factor for fluxes. More... | |
typedef bool(* | is_head )(const JHead &) |
Type definition of test function of header. More... | |
Functions | |
double | getTime (const Hit &hit) |
Get true time of hit. More... | |
double | getNPE (const Hit &hit) |
Get true charge of hit. More... | |
bool | is_noise (const Hit &hit) |
Verify hit origin. More... | |
JTimeRange | getTimeRange (const Evt &event) |
Get time range (i.e. time between earliest and latest hit) of Monte Carlo event. More... | |
JTimeRange | getTimeRange (const Evt &event, const JTimeRange &T_ns) |
Get time range (i.e. time between earliest and latest hit) of Monte Carlo event. More... | |
JPosition3D | getPosition (const Vec &pos) |
Get position. More... | |
Vec | getPosition (const JPosition3D &pos) |
Get position. More... | |
JPosition3D | getPosition (const Trk &track) |
Get position. More... | |
JDirection3D | getDirection (const Vec &dir) |
Get direction. More... | |
Vec | getDirection (const JDirection3D &dir) |
Get direction. More... | |
JDirection3D | getDirection (const Trk &track) |
Get direction. More... | |
JAxis3D | getAxis (const Trk &track) |
Get axis. More... | |
JTrack3E | getTrack (const Trk &track) |
Get track. More... | |
JTransformation3D | getTransformation (const Trk &track) |
Get transformation. More... | |
double | getW (const Trk &track, const size_t index, const double value) |
Get track information. More... | |
bool | is_photon (const Trk &track) |
Test whether given track is a photon or neutral pion. More... | |
bool | is_neutrino (const Trk &track) |
Test whether given track is a neutrino. More... | |
bool | is_electron (const Trk &track) |
Test whether given track is a (anti-)electron. More... | |
bool | is_muon (const Trk &track) |
Test whether given track is a (anti-)muon. More... | |
bool | is_tau (const Trk &track) |
Test whether given track is a (anti-)tau. More... | |
bool | is_pion (const Trk &track) |
Test whether given track is a charged pion. More... | |
bool | is_proton (const Trk &track) |
Test whether given track is a (anti-)proton. More... | |
bool | is_neutron (const Trk &track) |
Test whether given track is a (anti-)neutron. More... | |
bool | is_lepton (const Trk &track) |
Test whether given track is a lepton. More... | |
bool | is_charged_lepton (const Trk &track) |
Test whether given track is a charged lepton. More... | |
bool | is_hadron (const Trk &track) |
Test whether given track is a hadron. More... | |
bool | is_meson (const Trk &track) |
Test whether given track is a meson (is hadron and third digit of PDG code is zero) More... | |
bool | is_baryon (const Trk &track) |
Test whether given track is a baryon (is hadron and third digit of PDG code is not zero) More... | |
bool | has_particleID (const Trk &track, const int type) |
Test whether given track corresponds to given particle type. More... | |
bool | is_initialstate (const Trk &track) |
Test whether given track corresponds to an initial state particle. More... | |
bool | is_finalstate (const Trk &track) |
Test whether given track corresponds to a final state particle. More... | |
bool | has_neutrino (const Evt &evt) |
Test whether given event has an incoming neutrino. More... | |
const Trk & | get_neutrino (const Evt &evt) |
Get incoming neutrino. More... | |
const Trk & | get_primary (const Evt &evt) |
Get primary. More... | |
JVertex3D | getVertex (const Trk &track) |
Get vertex. More... | |
JVertex3D | getVertex (const Evt &event) |
Get event vertex. More... | |
int | count_electrons (const Evt &evt) |
Count the number of electrons in a given event. More... | |
bool | has_electron (const Evt &evt) |
Test whether given event has an electron. More... | |
const Trk & | get_electron (const Evt &evt) |
Get first electron from the event tracklist. More... | |
bool | from_electron (const Hit &hit) |
Test whether given hit was produced by an electron. More... | |
int | count_muons (const Evt &evt) |
Count the number of muons in a given event. More... | |
bool | has_muon (const Evt &evt) |
Test whether given event has a muon. More... | |
const Trk & | get_muon (const Evt &evt) |
Get first muon from the event tracklist. More... | |
bool | from_muon (const Hit &hit) |
Test whether given hit was produced by a muon. More... | |
int | count_taus (const Evt &evt) |
Count the number of taus in a given event. More... | |
bool | has_tau (const Evt &evt) |
Test whether given event has a tau. More... | |
const Trk & | get_tau (const Evt &evt) |
Get first tau from the event tracklist. More... | |
bool | has_muonic_taudecay (const Evt &event) |
Test whether given event contains a tau-lepton decay into a muon. More... | |
bool | has_leptonic_taudecay (const Evt &event) |
Test whether given event contains a leptonic tau-decay. More... | |
bool | has_hadronic_taudecay (const Evt &event) |
Test whether given event contains a hadronic tau-decay. More... | |
int | count_taudecay_prongs (const Evt &event) |
Count the number of tau-lepton decay prongs in a given event. More... | |
bool | from_tau (const Hit &hit) |
Test whether given hit was produced by a tau. More... | |
int | count_hadrons (const Evt &evt) |
Count the number of hadrons in a given event (not including neutral pions) More... | |
bool | from_hadron (const Hit &hit) |
Test whether given hit was produced by a hadronic shower. More... | |
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. More... | |
double | getKineticEnergy (const Trk &trk) |
Get track kinetic energy. More... | |
double | getE0 (const Evt &evt) |
Get initial state energy of a neutrino interaction. More... | |
double | getE1 (const Evt &evt) |
Get final state energy of a neutrino interaction. More... | |
Vec | getP0 (const Evt &evt) |
Get momentum vector of the initial state of a neutrino interaction. More... | |
Vec | getP1 (const Evt &evt) |
Get momentum vector of the final state of a neutrino interaction. More... | |
double | getInvariantMass (const Evt &event) |
Get final state invariant mass. More... | |
template<class JOscProbInterpolator_t = JOscProbInterpolator<>> | |
JEvtWeightFactorFunction < JAtmosphericNeutrinoFlux, JFlux > | make_atmosphericNeutrinoFluxFunction (const std::string &oscProbTableFile, const JOscParametersInterface< double > &oscParameters) |
Auxiliary method for creating an interface to an atmospheric neutrino flux function using an oscillation probability interpolation table. More... | |
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. More... | |
template<class JEvtWeightFactor_t = JEvtWeightFactor> | |
JEvtWeightFactorFunction < pEvtWeightFactor, JEvtWeightFactor_t > | make_weightFactor (pEvtWeightFactor function) |
Auxiliary method for creating an interface to an event-weight factor. More... | |
template<class JFunction_t > | |
JEvtWeightFactorFunction < JFunction_t, JFlux > | make_fluxFunction (const JFunction_t &flux) |
Auxiliary method for creating an interface to a flux function. More... | |
JEvtWeightFactorFunction < pFlux, JFlux > | make_fluxFunction (pFlux flux) |
Auxiliary method for creating an interface to a flux function. More... | |
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. More... | |
JEvtWeightFactorFunction < pDiffuseFlux, JDiffuseFlux > | make_diffuseFluxFunction (pDiffuseFlux flux) |
Auxiliary method for creating an interface to a diffuse flux function. More... | |
double | getVolume (const JType< JEvtWeightGSeaGen > &type, const Evt &evt) |
Get volume of given event according given weighter. More... | |
double | getVolume (const JType< JEvtWeightKM3BUU > &type, const Evt &evt) |
Get volume of given event according given weighter. More... | |
double | getVolume (const JType< JEvtWeightGenhen > &type, const Evt &evt) |
Get volume of given event according given weighter. More... | |
double | getVolume (const JEvtWeight &weighter, const Evt &evt) |
Get volume of given event according given weighter. More... | |
JEvtWeightFactorFunction < JFlatFlux, JFlux > | make_flatFluxFunction (const double flux) |
Auxiliary method for creating an interface to a flat flux function. More... | |
void | copy (const Head &from, JHead &to) |
Copy header from from to to . More... | |
void | copy (const JHead &from, Head &to) |
Copy header from from to to . More... | |
std::string | getTag (const std::string &tag) |
Get tag without aanet extension "_<counter>" for identical tags. More... | |
std::string | getTag (const std::string &tag, const int counter) |
Get tag with aanet extension "_<counter>" for identical tags. More... | |
bool | operator== (const Head &first, const Head &second) |
Equal operator. More... | |
bool | operator< (const Head &first, const Head &second) |
Less than operator. More... | |
bool | is_genhen (const JHead &header) |
Check for generator. More... | |
bool | is_gseagen (const JHead &header) |
Check for generator. More... | |
bool | is_mupage (const JHead &header) |
Check for generator. More... | |
bool | is_corsika (const JHead &header) |
Check for generator. More... | |
bool | is_km3buu (const JHead &header) |
Check for generator. More... | |
bool | is_km3 (const JHead &header) |
Check for detector simulation. More... | |
bool | is_km3sim (const JHead &header) |
Check for detector simulation. More... | |
bool | is_sirene (const JHead &header) |
Check for detector simulation. More... | |
bool | is_pure_noise (const JHead &header) |
Check for generator. More... | |
bool | is_daq (const JHead &header) |
Check for real data. More... | |
Vec | getOffset (const JHead &header) |
Get offset. More... | |
Vec | getOrigin (const JHead &header) |
Get origin. More... | |
JCylinder3D | getCylinder (const JHead &header) |
Get cylinder corresponding to the positions of generated tracks (i.e. More... | |
JLorentzBoost | getBoostToCOM (const Evt &event) |
Get Lorentz boost to the Center of Mass (COM) frame for a given neutrino interaction. More... | |
void | boostToCOM (Evt &event) |
Boost event to the Center of Mass (COM) frame. More... | |
JEvtWeightFactorFunction < JPowerLawFlux, JFlux > | make_powerLawFluxFunction (const double normalisation, const double spectralIndex) |
Auxiliary method for creating an interface to a power-law flux function. More... | |
bool | select (const Trk &trk, const Evt &evt) |
Event selection. More... | |
bool | hasW (const Trk &trk, const int i) |
Check availability of value. More... | |
double | getW (const Trk &trk, const int i) |
Get associated value. More... | |
double | getW (const Trk &trk, const int i, const double value) |
Get associated value. More... | |
void | setW (Trk &trk, const int i, const double value) |
Set associated value. More... | |
Variables | |
static const int | AASHOWER_RECONSTRUCTION_TYPE = 101 |
AAnet shower fit reconstruction type. More... | |
static const JEvtEvaluator | getEvtValue |
Function object for evaluation of DAQ objects. More... | |
JEvtWeighter | getEventWeighter |
Function object for mapping header to event weighter. More... | |
static const char | AANET_TAG_SEPARATOR = '_' |
Separator for tag extension of multiple tags in Head ("_<counter>"). More... | |
static JHeadHelper | get_is_head |
Function object to get check method for given application. More... | |
Extensions to Evt data format.
typedef double(* JAANET::pEvtWeightFactor)(const Evt &) |
Type definition of event-weight factor pointer.
Definition at line 108 of file JEvtWeightFactorFunction.hh.
using JAANET::pFlux = typedef pEvtWeightFactor |
Type definition of flux function pointer.
Definition at line 112 of file JEvtWeightFactorFunction.hh.
typedef double(* JAANET::pDiffuseFlux)(int, double, double) |
Type definition of pointer to diffuse flux function.
Definition at line 153 of file JEvtWeightFactorFunction.hh.
Type definition of event-weight factor helper for flux functions.
Definition at line 204 of file JEvtWeightFactorHelper.hh.
Type definition of event-weight factor helper for diffuse flux objects.
Definition at line 207 of file JEvtWeightFactorHelper.hh.
Type-definition of multi-particle event-weight factor for fluxes.
Definition at line 169 of file JEvtWeightFactorMultiParticle.hh.
typedef bool(* JAANET::is_head)(const JHead &) |
Type definition of test function of header.
Definition at line 28 of file JHeadToolkit.hh.
Enumeration of interaction types based on GENIE codes.
Enumerator | |
---|---|
UNKNOWN | |
ELECTROMAGNETIC | |
WEAK_CHARGED_CURRENT | |
WEAK_NEUTRAL_CURRENT |
Definition at line 76 of file JAAnetToolkit.hh.
enum JAANET::JHitType_t |
Enumeration of hit types based on km3 codes.
Definition at line 87 of file JAAnetToolkit.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 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 |
|
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 |
|
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 axis.
track | track |
Definition at line 261 of file JAAnetToolkit.hh.
|
inline |
Get transformation.
track | track |
Definition at line 285 of file JAAnetToolkit.hh.
|
inline |
Get track information.
track | track |
index | index |
value | default value |
Definition at line 299 of file JAAnetToolkit.hh.
|
inline |
Test whether given track is a photon or neutral pion.
track | track |
Definition at line 314 of file JAAnetToolkit.hh.
|
inline |
Test whether given track is a neutrino.
track | track |
Definition at line 323 of file JAAnetToolkit.hh.
|
inline |
Test whether given track is a (anti-)electron.
track | track |
Definition at line 333 of file JAAnetToolkit.hh.
|
inline |
Test whether given track is a (anti-)muon.
track | track |
Definition at line 341 of file JAAnetToolkit.hh.
|
inline |
Test whether given track is a (anti-)tau.
track | track |
Definition at line 349 of file JAAnetToolkit.hh.
|
inline |
Test whether given track is a charged pion.
track | track |
Definition at line 357 of file JAAnetToolkit.hh.
|
inline |
Test whether given track is a (anti-)proton.
track | track |
Definition at line 365 of file JAAnetToolkit.hh.
|
inline |
Test whether given track is a (anti-)neutron.
track | track |
Definition at line 373 of file JAAnetToolkit.hh.
|
inline |
Test whether given track is a lepton.
track | track |
Definition at line 381 of file JAAnetToolkit.hh.
|
inline |
Test whether given track is a charged lepton.
track | track |
Definition at line 392 of file JAAnetToolkit.hh.
|
inline |
Test whether given track is a hadron.
track | track |
Definition at line 402 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 411 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 420 of file JAAnetToolkit.hh.
|
inline |
Test whether given track corresponds to given particle type.
track | track |
type | particle type |
Definition at line 430 of file JAAnetToolkit.hh.
|
inline |
Test whether given track corresponds to an initial state particle.
track | track |
Definition at line 438 of file JAAnetToolkit.hh.
|
inline |
Test whether given track corresponds to a final state particle.
track | track |
Definition at line 464 of file JAAnetToolkit.hh.
|
inline |
Test whether given event has an incoming neutrino.
evt | event |
Definition at line 479 of file JAAnetToolkit.hh.
Get incoming neutrino.
evt | event |
Definition at line 499 of file JAAnetToolkit.hh.
Get primary.
evt | event |
Definition at line 522 of file JAAnetToolkit.hh.
Get vertex.
track | track |
Definition at line 543 of file JAAnetToolkit.hh.
Get event vertex.
event | event |
Definition at line 554 of file JAAnetToolkit.hh.
|
inline |
Count the number of electrons in a given event.
evt | event |
Definition at line 593 of file JAAnetToolkit.hh.
|
inline |
Test whether given event has an electron.
evt | event |
Definition at line 604 of file JAAnetToolkit.hh.
Get first electron from the event tracklist.
evt | event |
Definition at line 615 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 632 of file JAAnetToolkit.hh.
|
inline |
Count the number of muons in a given event.
evt | event |
Definition at line 643 of file JAAnetToolkit.hh.
|
inline |
Test whether given event has a muon.
evt | event |
Definition at line 654 of file JAAnetToolkit.hh.
Get first muon from the event tracklist.
evt | event |
Definition at line 665 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 682 of file JAAnetToolkit.hh.
|
inline |
Count the number of taus in a given event.
evt | event |
Definition at line 693 of file JAAnetToolkit.hh.
|
inline |
Test whether given event has a tau.
evt | event |
Definition at line 704 of file JAAnetToolkit.hh.
Get first tau from the event tracklist.
evt | event |
Definition at line 715 of file JAAnetToolkit.hh.
|
inline |
Test whether given event contains a tau-lepton decay into a muon.
event | event |
Definition at line 730 of file JAAnetToolkit.hh.
|
inline |
Test whether given event contains a leptonic tau-decay.
event | event |
Definition at line 754 of file JAAnetToolkit.hh.
|
inline |
Test whether given event contains a hadronic tau-decay.
event | event |
Definition at line 778 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 790 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 819 of file JAAnetToolkit.hh.
|
inline |
Count the number of hadrons in a given event (not including neutral pions)
evt | event |
Definition at line 830 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 844 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 858 of file JAAnetToolkit.hh.
|
inline |
Get track kinetic energy.
trk | track |
Definition at line 872 of file JAAnetToolkit.hh.
|
inline |
Get initial state energy of a neutrino interaction.
This method includes baryon number conservation.
evt | event |
Definition at line 888 of file JAAnetToolkit.hh.
|
inline |
Get final state energy of a neutrino interaction.
This method includes muon energy loss.
evt | event |
Definition at line 934 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 973 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 988 of file JAAnetToolkit.hh.
|
inline |
Get final state invariant mass.
event | event |
Definition at line 1031 of file JAAnetToolkit.hh.
|
inline |
Auxiliary method for creating an interface to an atmospheric neutrino flux function
using an oscillation probability interpolation table.
oscProbTableFile | oscillation probability interpolation table |
oscParameters | oscillation parameters |
Definition at line 90 of file JAtmosphericNeutrinoFlux.hh.
|
inline |
Auxiliary method for creating an interface to an event-weight factor.
function | function object |
Definition at line 202 of file JEvtWeightFactorFunction.hh.
|
inline |
Auxiliary method for creating an interface to an event-weight factor.
function | function pointer |
Definition at line 214 of file JEvtWeightFactorFunction.hh.
|
inline |
Auxiliary method for creating an interface to a flux function.
flux | flux function object |
Definition at line 226 of file JEvtWeightFactorFunction.hh.
|
inline |
Auxiliary method for creating an interface to a flux function.
flux | flux function pointer |
Definition at line 237 of file JEvtWeightFactorFunction.hh.
|
inline |
Auxiliary method for creating an interface to a diffuse flux function.
flux | diffuse flux function object |
Definition at line 249 of file JEvtWeightFactorFunction.hh.
|
inline |
Auxiliary method for creating an interface to a diffuse flux function.
flux | diffuse flux function pointer |
Definition at line 260 of file JEvtWeightFactorFunction.hh.
|
inline |
Get volume of given event according given weighter.
type | type |
evt | event |
Definition at line 328 of file JEvtWeightToolkit.hh.
|
inline |
Get volume of given event according given weighter.
type | type |
evt | event |
Definition at line 343 of file JEvtWeightToolkit.hh.
|
inline |
Get volume of given event according given weighter.
type | type |
evt | event |
Definition at line 358 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 384 of file JEvtWeightToolkit.hh.
|
inline |
Auxiliary method for creating an interface to a flat flux function.
flux | flux [GeV * m^-2 * sr^-1 * s^-1] |
Definition at line 107 of file JFlatFlux.hh.
void JAANET::copy | ( | const Head & | from, |
JHead & | to | ||
) |
Copy header from from
to to
.
from | header |
to | header |
Definition at line 162 of file JHead.cc.
void JAANET::copy | ( | const JHead & | from, |
Head & | to | ||
) |
Copy header from from
to to
.
from | header |
to | header |
Definition at line 201 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 |
Definition at line 1801 of file JHead.hh.
Less than operator.
Note that this operator uses the JHead::less method.
first | first header |
second | second header |
Definition at line 1817 of file JHead.hh.
|
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 |
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 275 of file JHeadToolkit.hh.
|
inline |
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 309 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 331 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 method for creating an interface to a power-law flux function.
normalisation | normalisation [GeV * m^-2 * sr^-1 * s^-1] |
spectralIndex | spectral index |
Definition at line 128 of file JPowerLawFlux.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 250 of file JHeadToolkit.hh.