Jpp
19.0.0
the software that should make you happy
|
Wrapper class to make final fit of muon trajectory. More...
#include <JMuonGandalf.hh>
Public Types | |
typedef JRegressor< JLine3Z, JGandalf > | JRegressor_t |
typedef JTRIGGER::JHitL0 | hit_type |
typedef std::vector< hit_type > | buffer_type |
Public Member Functions | |
JMuonGandalf (const JMuonGandalfParameters_t ¶meters, const JModuleRouter &router, const JSummaryRouter &summary, const std::string &pdf_file, const int debug=0) | |
Constructor. More... | |
JEvt | operator() (const KM3NETDAQ::JDAQEvent &event, const JEvt &in) |
Fit function. More... | |
JEvt | operator() (const buffer_type &data, const JEvt &in) |
Fit function. More... | |
void | reset () |
Reset fit parameters. More... | |
bool | equals (const JMuonGandalfParameters_t ¶meters) const |
Equality. More... | |
ClassDef (JMuonGandalfParameters_t, 2) | |
Public Attributes | |
const JModuleRouter & | router |
const JSummaryRouter & | summary |
int | debug |
double | roadWidth_m |
road width [m] More... | |
double | R_Hz |
default rate [Hz] More... | |
size_t | numberOfPrefits |
number of prefits More... | |
double | TTS_ns |
transition-time spread [ns] More... | |
double | E_GeV |
energy [GeV] More... | |
double | TMin_ns |
minimal time w.r.t. Cherenkov hypothesis [ns] More... | |
double | TMax_ns |
maximal time w.r.t. Cherenkov hypothesis [ns] More... | |
double | ZMin_m |
minimal z-positon [m] More... | |
double | ZMax_m |
maximal z-positon [m] More... | |
double | VMax_npe |
maximum number of of photo-electrons More... | |
int | NMax |
maximum number of iterations More... | |
bool | reprocess |
reprocess More... | |
Wrapper class to make final fit of muon trajectory.
The JMuonGandalf fit uses one or more start values (usually taken from the output of JMuonSimplex).
All hits of which the PMT position lies within a set road width (JMuonGandalfParameters_t::roadWidth_m) and time is within a set window (JMuonGandalfParameters_t::TMin_ns, JMuonGandalfParameters_t::TMax_ns) around the Cherenkov hypothesis are taken.
In case there are multiple hits from the same PMT is the specified window, the first hit is taken and the other hits are discarded.
The PDF is accordingly evaluated, i.e. the normalised probability for a first hit at the given time of the hit is taken. The normalisation is consistently based on the specified time window.
Note that this hit selection is unbiased with respect to the PDF of a single PMT.
Definition at line 72 of file JMuonGandalf.hh.
Definition at line 76 of file JMuonGandalf.hh.
Definition at line 77 of file JMuonGandalf.hh.
Definition at line 78 of file JMuonGandalf.hh.
|
inline |
Constructor.
parameters | parameters |
router | module router |
summary | summary file router |
pdf_file | PDF file |
debug | debug |
Definition at line 91 of file JMuonGandalf.hh.
|
inline |
Fit function.
event | event |
in | start values |
Definition at line 129 of file JMuonGandalf.hh.
|
inline |
Fit function.
data | hit data |
in | start values |
Definition at line 152 of file JMuonGandalf.hh.
|
inlineinherited |
Reset fit parameters.
Definition at line 41 of file JMuonGandalfParameters_t.hh.
|
inlineinherited |
Equality.
parameters | fit parameters |
Definition at line 63 of file JMuonGandalfParameters_t.hh.
|
inherited |
const JModuleRouter& JRECONSTRUCTION::JMuonGandalf::router |
Definition at line 233 of file JMuonGandalf.hh.
const JSummaryRouter& JRECONSTRUCTION::JMuonGandalf::summary |
Definition at line 234 of file JMuonGandalf.hh.
int JRECONSTRUCTION::JMuonGandalf::debug |
Definition at line 235 of file JMuonGandalf.hh.
|
inherited |
road width [m]
Definition at line 81 of file JMuonGandalfParameters_t.hh.
|
inherited |
default rate [Hz]
Definition at line 82 of file JMuonGandalfParameters_t.hh.
|
inherited |
number of prefits
Definition at line 83 of file JMuonGandalfParameters_t.hh.
|
inherited |
transition-time spread [ns]
Definition at line 84 of file JMuonGandalfParameters_t.hh.
|
inherited |
energy [GeV]
Definition at line 85 of file JMuonGandalfParameters_t.hh.
|
inherited |
minimal time w.r.t. Cherenkov hypothesis [ns]
Definition at line 86 of file JMuonGandalfParameters_t.hh.
|
inherited |
maximal time w.r.t. Cherenkov hypothesis [ns]
Definition at line 87 of file JMuonGandalfParameters_t.hh.
|
inherited |
minimal z-positon [m]
Definition at line 88 of file JMuonGandalfParameters_t.hh.
|
inherited |
maximal z-positon [m]
Definition at line 89 of file JMuonGandalfParameters_t.hh.
|
inherited |
maximum number of of photo-electrons
Definition at line 90 of file JMuonGandalfParameters_t.hh.
|
inherited |
maximum number of iterations
Definition at line 91 of file JMuonGandalfParameters_t.hh.
|
inherited |
reprocess
Definition at line 92 of file JMuonGandalfParameters_t.hh.