Jpp test-rotations-old
the software that should make you happy
|
Wrapper class to add features after the final fit of muon trajectory. More...
#include <JMuonFeatures.hh>
Public Types | |
typedef JRegressor< JLine3Z, JGandalf > | JRegressor_t |
typedef JTRIGGER::JHitL0 | hit_type |
typedef std::vector< hit_type > | buffer_type |
Public Member Functions | |
JMuonFeatures (const JMuonGandalfParameters_t ¶meters, const JModuleRouter &router, const JSummaryRouter &summary, const std::string &pdf_file, const int debug=0) | |
Constructor. | |
JEvt | operator() (const KM3NETDAQ::JDAQEvent &event, const JEvt &in) |
Fit function. | |
JEvt | operator() (const buffer_type &data, const JEvt &in) |
Fit function. | |
void | reset () |
Reset fit parameters. | |
bool | equals (const JMuonGandalfParameters_t ¶meters) const |
Equality. | |
ClassDef (JMuonGandalfParameters_t, 3) | |
Public Attributes | |
const JModuleRouter & | router |
const JSummaryRouter & | summary |
int | debug |
double | roadWidth_m |
road width [m] | |
double | R_Hz |
default rate [Hz] | |
size_t | numberOfPrefits |
number of prefits | |
double | TTS_ns |
transition-time spread [ns] | |
double | E_GeV |
energy [GeV] | |
double | TMin_ns |
minimal time w.r.t. Cherenkov hypothesis [ns] | |
double | TMax_ns |
maximal time w.r.t. Cherenkov hypothesis [ns] | |
double | ZMin_m |
minimal z-positon [m] | |
double | ZMax_m |
maximal z-positon [m] | |
double | VMax_npe |
maximum number of of photo-electrons | |
int | NMax |
maximum number of iterations | |
Wrapper class to add features after the 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 75 of file JMuonFeatures.hh.
Definition at line 79 of file JMuonFeatures.hh.
Definition at line 80 of file JMuonFeatures.hh.
Definition at line 81 of file JMuonFeatures.hh.
|
inline |
Constructor.
parameters | parameters |
router | module router |
summary | summary file router |
pdf_file | PDF file |
debug | debug |
Definition at line 94 of file JMuonFeatures.hh.
|
inline |
Fit function.
event | event |
in | start values |
Definition at line 132 of file JMuonFeatures.hh.
|
inline |
Fit function.
data | hit data |
in | start values |
Definition at line 155 of file JMuonFeatures.hh.
|
inlineinherited |
Reset fit parameters.
Definition at line 41 of file JMuonGandalfParameters_t.hh.
|
inlineinherited |
Equality.
parameters | fit parameters |
Definition at line 62 of file JMuonGandalfParameters_t.hh.
|
inherited |
const JModuleRouter& JRECONSTRUCTION::JMuonFeatures::router |
Definition at line 221 of file JMuonFeatures.hh.
const JSummaryRouter& JRECONSTRUCTION::JMuonFeatures::summary |
Definition at line 222 of file JMuonFeatures.hh.
int JRECONSTRUCTION::JMuonFeatures::debug |
Definition at line 223 of file JMuonFeatures.hh.
|
inherited |
road width [m]
Definition at line 79 of file JMuonGandalfParameters_t.hh.
|
inherited |
default rate [Hz]
Definition at line 80 of file JMuonGandalfParameters_t.hh.
|
inherited |
number of prefits
Definition at line 81 of file JMuonGandalfParameters_t.hh.
|
inherited |
transition-time spread [ns]
Definition at line 82 of file JMuonGandalfParameters_t.hh.
|
inherited |
energy [GeV]
Definition at line 83 of file JMuonGandalfParameters_t.hh.
|
inherited |
minimal time w.r.t. Cherenkov hypothesis [ns]
Definition at line 84 of file JMuonGandalfParameters_t.hh.
|
inherited |
maximal time w.r.t. Cherenkov hypothesis [ns]
Definition at line 85 of file JMuonGandalfParameters_t.hh.
|
inherited |
minimal z-positon [m]
Definition at line 86 of file JMuonGandalfParameters_t.hh.
|
inherited |
maximal z-positon [m]
Definition at line 87 of file JMuonGandalfParameters_t.hh.
|
inherited |
maximum number of of photo-electrons
Definition at line 88 of file JMuonGandalfParameters_t.hh.
|
inherited |
maximum number of iterations
Definition at line 89 of file JMuonGandalfParameters_t.hh.