Jpp
18.6.0-rc.1
the software that should make you happy
|
Model fits to data. More...
Classes | |
struct | JEventSelector |
Event selector. More... | |
struct | JQualitySorter |
General purpose sorter of fit results. More... | |
class | JPointing |
Auxiliary class to compare fit results with respect to a reference direction (e.g. true muon). More... | |
class | JPosition |
Auxiliary class to compare fit results with respect to a reference position (e.g. true muon). More... | |
class | JShowerEnergy |
class | JAtmosphericMuon |
Auxiliary class to evaluate atmospheric muon hypothesis. More... | |
class | JHitW0 |
Auxiliary class for a hit with background rate value. More... | |
class | JMuonEnergy |
Auxiliary class to to determine muon energy. More... | |
struct | JMuonEnergyParameters_t |
Data structure for fit parameters. More... | |
struct | JMuonFeatures |
Wrapper class to add features after the final fit of muon trajectory. More... | |
struct | JMuonGandalf |
Wrapper class to make final fit of muon trajectory. More... | |
struct | JMuonGandalfParameters_t |
Data structure for fit parameters. More... | |
struct | JMuonParameters |
Muon reconstruction parameters. More... | |
struct | JMuonPrefit |
Wrapper class to make pre-fit of muon trajectory. More... | |
struct | JMuonPrefitParameters_t |
Data structure for fit parameters. More... | |
struct | JMuonSimplex |
Wrapper class to make intermediate fit of muon trajectory. More... | |
struct | JMuonSimplexParameters_t |
Data structure for fit parameters. More... | |
class | JMuonStart |
Auxiliary class to determine start and end position of muon trajectory. More... | |
struct | JMuonStartParameters_t |
Data structure for fit parameters. More... | |
struct | event_type |
Auxiliary data structure to store data and fit in memory. More... | |
struct | JStringEditor |
Auxiliary class to edit time offset of data per string. More... | |
struct | JPerth |
Thread pool for fits to data. More... | |
struct | JPerth_t |
Auxiliary data structure for chi2 function object. More... | |
struct | JRange_t |
Type definition of range. More... | |
class | JShowerBjorkenY |
class to handle the direction fit of the shower reconstruction, mainly dedicated for ORCA More... | |
struct | JShowerBjorkenYParameters_t |
Data structure for fit parameters. More... | |
class | JShowerDirectionPrefit |
class to handle the direction fit of the shower reconstruction, mainly dedicated for ORCA More... | |
struct | JShowerDirectionPrefitParameters_t |
Data structure for fit parameters. More... | |
class | JShowerFit |
class to handle the direction fit of the shower reconstruction, mainly dedicated for ORCA More... | |
struct | JShowerFitParameters_t |
Data structure for fit parameters. More... | |
struct | JShowerParameters |
Shower reconstruction parameters. More... | |
class | JShowerPointSimplex |
class to handle the second position fit of the shower reconstruction, mainly dedicated for ORCA More... | |
struct | JShowerPointSimplexParameters_t |
class | JShowerPositionFit |
class to handle the second position fit of the shower reconstruction, mainly dedicated for ORCA More... | |
struct | JShowerPositionFitParameters_t |
class | JShowerPrefit |
class to handle first step of the shower reconstruction in ORCA: it reconstructs the shower vertex, intended as the shower brightest point, as the barycenter of the hits More... | |
struct | JShowerPrefitParameters_t |
Data structure for fit parameters. More... | |
struct | JStart |
Auxiliary class for start or end point evaluation. More... | |
Typedefs | |
typedef JFIT::JFit | JFit |
typedef JFIT::JEvt | JEvt |
typedef JFIT::JEvent | JEvent |
typedef JFIT::JHistory | JHistory |
typedef std::vector< JHitW0 > | buffer_type |
hits More... | |
typedef std::map< int, buffer_type > | map_type |
string -> hits More... | |
typedef std::vector< event_type > | data_type |
typedef JLANG::JSTDObjectReader< const event_type > | input_type |
typedef JFIT::JRegressorStorage < JFIT::JLine3Z, JFIT::JGandalf > | JRegressorStorage_t |
typedef JFIT::JRegressor < JFIT::JLine3Z, JFIT::JGandalf > | JRegressor_t |
Enumerations | |
enum | JFitStatus_t { ERROR = -100, INSUFFICIENT_NUMBER_OF_HITS, INSUFFICIENT_NUMBER_OF_DOMS, UNDEFINED = -1, SINGLE_STAGE = 0, INCOMPLETE_CHAIN = +1, COMPLETE_CHAIN = +100 } |
Functions | |
JPosition3D | getPosition (const JFit &fit) |
Get position. More... | |
JDirection3D | getDirection (const JFit &fit) |
Get direction. More... | |
JAxis3D | getAxis (const JFit &fit) |
Get axis. More... | |
JTrack3E | getTrack (const JFit &fit) |
Get track. More... | |
JFit | getFit (const JHistory &history, const JTrack3D &track, const double Q, const int NDF, const double energy=0.0, const int status=SINGLE_STAGE) |
Get fit. More... | |
JFit | getFit (const JHistory &history, const JLine1Z &track, const JAngle3D &angle, const double Q, const int NDF, const double energy=0.0, const int status=SINGLE_STAGE) |
Get fit. More... | |
double | getDot (const JFit &first, const JFit &second) |
Get dot product. More... | |
double | getDot (const JFit &fit, const JDirection3D &dir) |
Get dot product. More... | |
double | getQuality (const double chi2, const int N, const int NDF) |
Get quality of fit. More... | |
double | getQuality (const double chi2, const int NDF) |
Get quality of fit. More... | |
double | getQuality (const double chi2) |
Get quality of fit. More... | |
bool | qualitySorter (const JFit &first, const JFit &second) |
Comparison of fit results. More... | |
bool | has_history (const JFit &fit, const int type) |
Test whether given fit has specified history. More... | |
bool | has_history (const JFit &fit, const JRange< int > &range) |
Test whether given fit has specified history. More... | |
bool | has_muon_prefit (const JFit &fit) |
Test whether given fit has muon prefit in history. More... | |
bool | has_muon_simplex (const JFit &fit) |
Test whether given fit has muon simplex in history. More... | |
bool | has_muon_gandalf (const JFit &fit) |
Test whether given fit has muon gandalf in history. More... | |
bool | has_muon_energy (const JFit &fit) |
Test whether given fit has muon energy in history. More... | |
bool | has_muon_start (const JFit &fit) |
Test whether given fit has muon start in history. More... | |
bool | has_muon_fit (const JFit &fit) |
Test whether given fit has muon fit in history. More... | |
bool | has_shower_prefit (const JFit &fit) |
Test whether given fit has shower prefit in history. More... | |
bool | has_shower_positionfit (const JFit &fit) |
Test whether given fit has shower position fit in history. More... | |
bool | has_shower_completefit (const JFit &fit) |
Test whether given fit has shower complete fit in history. More... | |
bool | has_shower_fit (const JFit &fit) |
Test whether given fit has shower fit in history. More... | |
template<class JTrackSelector_t > | |
bool | has_reconstructed_track (const JEvt &evt, JTrackSelector_t selector) |
Test whether given event has a track according selection. More... | |
bool | has_reconstructed_muon (const JEvt &evt) |
Test whether given event has a track with muon reconstruction. More... | |
bool | has_reconstructed_shower (const JEvt &evt) |
Test whether given event has a track with shower reconstruction. More... | |
template<class JTrackSelector_t , class JQualitySorter_t > | |
const JFit & | get_best_reconstructed_track (const JEvt &evt, JTrackSelector_t selector, JQualitySorter_t comparator) |
Get best reconstructed track. More... | |
const JFit & | get_best_reconstructed_muon (const JEvt &evt) |
Get best reconstructed muon. More... | |
const JFit & | get_best_reconstructed_shower (const JEvt &evt) |
Get best reconstructed shower. More... | |
double | getProbability (const JModule &module, const JDAQSummaryFrame &frame, const JRateL1_t &R_Hz, const double T_ns, const std::multiset< int > &top) |
Get probability of given response in optical module due to random background. More... | |
bool | filter (const JDAQEvent &tev, const JEvt &evt, const Evt *const pE) |
Event selection. More... | |
Model fits to data.
typedef JFIT::JFit JRECONSTRUCTION::JFit |
Definition at line 466 of file JReconstruction/JEvt.hh.
typedef JFIT::JEvt JRECONSTRUCTION::JEvt |
Definition at line 467 of file JReconstruction/JEvt.hh.
typedef JFIT::JEvent JRECONSTRUCTION::JEvent |
Definition at line 353 of file JHistory.hh.
Definition at line 354 of file JHistory.hh.
typedef std::map<int, buffer_type> JRECONSTRUCTION::map_type |
typedef JLANG::JSTDObjectReader<const event_type> JRECONSTRUCTION::input_type |
Enumerator | |
---|---|
ERROR | |
INSUFFICIENT_NUMBER_OF_HITS | |
INSUFFICIENT_NUMBER_OF_DOMS | |
UNDEFINED | |
SINGLE_STAGE | |
INCOMPLETE_CHAIN | |
COMPLETE_CHAIN |
Definition at line 16 of file JFitStatus.hh.
|
inline |
Get position.
fit | fit |
Definition at line 71 of file JReconstruction/JEvtToolkit.hh.
|
inline |
Get direction.
fit | fit |
Definition at line 83 of file JReconstruction/JEvtToolkit.hh.
|
inline |
Get axis.
fit | fit |
Definition at line 95 of file JReconstruction/JEvtToolkit.hh.
|
inline |
Get track.
fit | fit |
Definition at line 107 of file JReconstruction/JEvtToolkit.hh.
|
inline |
Get fit.
history | history |
track | track |
Q | quality |
NDF | number of degrees of freedom |
energy | Energy, which would be set as 0, if the fit does not reconstruct energy |
status | status of the fit as defined in enum JFitStatus.hh |
Definition at line 124 of file JReconstruction/JEvtToolkit.hh.
|
inline |
Get fit.
history | history |
track | track |
angle | angle |
Q | quality |
NDF | number of degrees of freedom |
energy | Energy, which would be set as 0, if the fit does not reconstruct energy |
status | status of the fit as defined in JFitStatus.hh |
Definition at line 152 of file JReconstruction/JEvtToolkit.hh.
|
inline |
Get dot product.
first | first fit |
second | second fit |
Definition at line 176 of file JReconstruction/JEvtToolkit.hh.
|
inline |
Get dot product.
fit | fit |
dir | direction |
Definition at line 189 of file JReconstruction/JEvtToolkit.hh.
|
inline |
Get quality of fit.
The larger the quality, the better the fit.
chi2 | chi2 |
N | number of hits |
NDF | number of degrees of freedom |
Definition at line 204 of file JReconstruction/JEvtToolkit.hh.
|
inline |
Get quality of fit.
The larger the quality, the better the fit.
chi2 | chi2 |
NDF | number of degrees of freedom |
Definition at line 218 of file JReconstruction/JEvtToolkit.hh.
|
inline |
Get quality of fit.
The larger the quality, the better the fit.
chi2 | chi2 |
Definition at line 231 of file JReconstruction/JEvtToolkit.hh.
|
inline |
Comparison of fit results.
first | first fit |
second | second fit |
Definition at line 244 of file JReconstruction/JEvtToolkit.hh.
|
inline |
Test whether given fit has specified history.
fit | fit |
type | application type |
Definition at line 283 of file JReconstruction/JEvtToolkit.hh.
|
inline |
Test whether given fit has specified history.
fit | fit |
range | application type range |
Definition at line 298 of file JReconstruction/JEvtToolkit.hh.
|
inline |
Test whether given fit has muon prefit in history.
fit | fit |
Definition at line 312 of file JReconstruction/JEvtToolkit.hh.
|
inline |
Test whether given fit has muon simplex in history.
fit | fit |
Definition at line 324 of file JReconstruction/JEvtToolkit.hh.
|
inline |
Test whether given fit has muon gandalf in history.
fit | fit |
Definition at line 336 of file JReconstruction/JEvtToolkit.hh.
|
inline |
Test whether given fit has muon energy in history.
fit | fit |
Definition at line 348 of file JReconstruction/JEvtToolkit.hh.
|
inline |
Test whether given fit has muon start in history.
fit | fit |
Definition at line 360 of file JReconstruction/JEvtToolkit.hh.
|
inline |
Test whether given fit has muon fit in history.
fit | fit |
Definition at line 372 of file JReconstruction/JEvtToolkit.hh.
|
inline |
Test whether given fit has shower prefit in history.
fit | fit |
Definition at line 384 of file JReconstruction/JEvtToolkit.hh.
|
inline |
Test whether given fit has shower position fit in history.
fit | fit |
Definition at line 396 of file JReconstruction/JEvtToolkit.hh.
|
inline |
Test whether given fit has shower complete fit in history.
fit | fit |
Definition at line 408 of file JReconstruction/JEvtToolkit.hh.
|
inline |
Test whether given fit has shower fit in history.
fit | fit |
Definition at line 420 of file JReconstruction/JEvtToolkit.hh.
|
inline |
Test whether given event has a track according selection.
The track selector corresponds to the function operator bool selector(const Trk&);
.
evt | event |
selector | track selector |
Definition at line 435 of file JReconstruction/JEvtToolkit.hh.
|
inline |
Test whether given event has a track with muon reconstruction.
evt | event |
Definition at line 447 of file JReconstruction/JEvtToolkit.hh.
|
inline |
Test whether given event has a track with shower reconstruction.
evt | event |
Definition at line 459 of file JReconstruction/JEvtToolkit.hh.
|
inline |
Get best reconstructed track.
The track selector corresponds to the function operator bool selector(const Trk&);
and the track comparator to bool comprator(const Trk&, const Trk&);
.
evt | event |
selector | track selector |
comparator | track comparator |
Definition at line 476 of file JReconstruction/JEvtToolkit.hh.
Get best reconstructed muon.
evt | event |
Definition at line 501 of file JReconstruction/JEvtToolkit.hh.
Get best reconstructed shower.
evt | event |
Definition at line 513 of file JReconstruction/JEvtToolkit.hh.
|
inline |
Get probability of given response in optical module due to random background.
module | module |
frame | summary frame |
R_Hz | multiples rates [Hz] |
T_ns | time window [ns] |
top | list of indentifiers of PMTs with hit in given module |
Definition at line 75 of file JMuonStart.hh.
Event selection.
tev | DAQ event |
evt | input event |
pE | pointer to Monte Carlo event |
Definition at line 21 of file JReconstruction/event_selector.cc.