Auxiliary class to evaluate atmospheric muon hypothesis.
More...
#include <JEvtToolkit.hh>
Auxiliary class to evaluate atmospheric muon hypothesis.
The hypothesis is tested by means of the difference in quality between the best upward and best downward track.
Definition at line 624 of file JEvtToolkit.hh.
◆ JAtmosphericMuon() [1/2]
JFIT::JAtmosphericMuon::JAtmosphericMuon |
( |
| ) |
|
|
inline |
◆ JAtmosphericMuon() [2/2]
JFIT::JAtmosphericMuon::JAtmosphericMuon |
( |
const double |
theta1, |
|
|
const double |
theta2 |
|
) |
| |
|
inline |
Constructor.
- Parameters
-
theta1 | upper hemisphere angle [deg] |
theta2 | lower hemisphere angle [deg] |
Definition at line 641 of file JEvtToolkit.hh.
◆ operator()()
double JFIT::JAtmosphericMuon::operator() |
( |
JEvt::const_iterator |
__begin, |
|
|
JEvt::const_iterator |
__end |
|
) |
| const |
|
inline |
Test is event is atmospheric muon.
- Parameters
-
__begin | begin of data |
__end | end of data |
- Returns
- negative if preferably down / positive if preferably up
Definition at line 655 of file JEvtToolkit.hh.
661 for (JEvt::const_iterator i = __begin; i != __end; ++i) {
663 if (i->getDZ() >=
dot1) {
665 if (i->getQ() > Qup) {
669 }
else if (i->getDZ() <=
dot2) {
671 if (i->getQ() > Qdown) {
◆ operator>>
Read atmospheric muon analyser from input.
- Parameters
-
in | input stream |
object | atmospheric muon analyser |
- Returns
- input stream
Definition at line 688 of file JEvtToolkit.hh.
690 double theta1, theta2;
692 in >> theta1 >> theta2;
◆ operator<<
std::ostream& operator<< |
( |
std::ostream & |
out, |
|
|
const JAtmosphericMuon & |
object |
|
) |
| |
|
friend |
Write atmospheric muon analyser to output.
- Parameters
-
out | output stream |
object | atmospheric muon analyser |
- Returns
- output stream
Definition at line 708 of file JEvtToolkit.hh.
◆ dot1
double JFIT::JAtmosphericMuon::dot1 |
◆ dot2
double JFIT::JAtmosphericMuon::dot2 |
The documentation for this class was generated from the following file: