Auxiliary class for start or end point evaluation.
More...
#include <JStart.hh>
|
| JStart () |
| Default constructor. More...
|
|
| JStart (const double Pmin1, const double Pmin2) |
| Constructor. More...
|
|
bool | is_valid () const |
| Check validity of start or end point conditions. More...
|
|
template<class JHit_t > |
bool | operator() (const JHit_t &observation) const |
| Evaluate start or end point conditions. More...
|
|
template<class JHit_t > |
bool | operator() (const JHit_t &first, const JHit_t &second) const |
| Evaluate start or end point conditions. More...
|
|
template<class T > |
T | find (T __begin, T __end) const |
| Get start or end point of muon trajectory. More...
|
|
|
double | Pmin1 |
| minimal probability single observation More...
|
|
double | Pmin2 |
| minimal probability each of two consecutive observations More...
|
|
Auxiliary class for start or end point evaluation.
Definition at line 21 of file JStart.hh.
JRECONSTRUCTION::JStart::JStart |
( |
| ) |
|
|
inline |
Default constructor.
Definition at line 25 of file JStart.hh.
double Pmin1
minimal probability single observation
double Pmin2
minimal probability each of two consecutive observations
JRECONSTRUCTION::JStart::JStart |
( |
const double |
Pmin1, |
|
|
const double |
Pmin2 |
|
) |
| |
|
inline |
Constructor.
- Parameters
-
Pmin1 | minimal probability single observation |
Pmin2 | minimal probability each of two consecutive observations |
Definition at line 37 of file JStart.hh.
double Pmin1
minimal probability single observation
double Pmin2
minimal probability each of two consecutive observations
bool JRECONSTRUCTION::JStart::is_valid |
( |
| ) |
const |
|
inline |
Check validity of start or end point conditions.
- Returns
- true if valid; else false
Definition at line 50 of file JStart.hh.
double Pmin1
minimal probability single observation
double Pmin2
minimal probability each of two consecutive observations
template<class JHit_t >
bool JRECONSTRUCTION::JStart::operator() |
( |
const JHit_t & |
observation | ) |
const |
|
inline |
Evaluate start or end point conditions.
The template parameter should correspond to a data type which has the member method:
double getP() const; // return probability
- Parameters
-
- Returns
- true if start or end point; else false
Definition at line 68 of file JStart.hh.
70 return observation.getP() <
Pmin1;
double Pmin1
minimal probability single observation
template<class JHit_t >
bool JRECONSTRUCTION::JStart::operator() |
( |
const JHit_t & |
first, |
|
|
const JHit_t & |
second |
|
) |
| const |
|
inline |
Evaluate start or end point conditions.
The template parameter should correspond to a data type which has the member method:
double getP() const; // return probability
- Parameters
-
first | first observation |
second | second observation |
- Returns
- true if start or end point; else false
Definition at line 87 of file JStart.hh.
then echo The file $DIR KM3NeT_00000001_00000000 root already please rename or remove it first
double Pmin1
minimal probability single observation
double Pmin2
minimal probability each of two consecutive observations
template<class T >
T JRECONSTRUCTION::JStart::find |
( |
T |
__begin, |
|
|
T |
__end |
|
) |
| const |
|
inline |
Get start or end point of muon trajectory.
The template parameter should correspond to a data type which has the member method:
double getP() const; // return probability
The input data should have been sorted along the muon path.
- Parameters
-
__begin | begin of data |
__end | end of data |
Definition at line 108 of file JStart.hh.
110 if (__begin != __end) {
111 for (
T q = __begin, p = q++; q != __end; ++p, ++q) {
112 if ((*
this)(*p,*q)) {
do set_variable OUTPUT_DIRECTORY $WORKDIR T
std::istream& operator>> |
( |
std::istream & |
in, |
|
|
JStart & |
parameters |
|
) |
| |
|
friend |
Read parameters from input.
- Parameters
-
in | input stream |
parameters | parameters |
- Returns
- input stream
Definition at line 129 of file JStart.hh.
esac print_variable DETECTOR INPUT_FILE OUTPUT_FILE CDF for TYPE in
double Pmin1
minimal probability single observation
double Pmin2
minimal probability each of two consecutive observations
std::ostream& operator<< |
( |
std::ostream & |
out, |
|
|
const JStart & |
parameters |
|
) |
| |
|
friend |
Write parameters to output.
- Parameters
-
out | output stream |
parameters | parameters |
- Returns
- output stream
Definition at line 144 of file JStart.hh.
146 out << parameters.
Pmin1 <<
' ' << parameters.
Pmin2;
double Pmin1
minimal probability single observation
double Pmin2
minimal probability each of two consecutive observations
double JRECONSTRUCTION::JStart::Pmin1 |
minimal probability single observation
Definition at line 152 of file JStart.hh.
double JRECONSTRUCTION::JStart::Pmin2 |
minimal probability each of two consecutive observations
Definition at line 153 of file JStart.hh.
The documentation for this struct was generated from the following file: