1 #ifndef __JAANET__JEVTWEIGHTFACTORMUPAGE__
2 #define __JAANET__JEVTWEIGHTFACTORMUPAGE__
65 const char* formula) :
66 TFormula(name, formula)
105 iBundle->len : (Double_t) muons.size());
112 if (muons.size() > 0) {
116 JCircle2D circle = JCircle2D(muons.cbegin(), muons.cend());
120 return this->DoEval(&vars[0]);
JPredicate< JResult_t T::*, JComparison::eq > make_predicate(JResult_t T::*member, const JResult_t value)
Helper method to create predicate for data member.
JTrack3E getTrack(const Trk &track)
Get track.
Muon bundle lateral spread [m].
JEvtWeightFactorMupage(const char *name, const char *formula)
Constructor.
variables
Indices of reweighting variables for MUPAGE.
bool is_muon(const Trk &track)
Test whether given track is a (anti-)muon.
#define THROW(JException_t, A)
Marco for throwing exception with std::ostream compatible message.
then echo Enter input within $TIMEOUT_S seconds echo n User name
Number of reweighting variables; N.B. This enum value needs to be specified last! ...
bool is_finalstate(const Trk &track)
Test whether given track corresponds to a final state particle.
Average cosine of zenith angle.
Exception for null pointer operation.
JEvtWeightFactorMupage()
Default constructor.
static const int TRK_ST_MUONBUNDLE
initial state muon bundle (mupage)
double operator()(const Evt &evt) const
Get weighting factor for given event.
Implementation of reweighting factor for mupage events according to a specifiable ROOT TFormula...
int status
MC status code, see km3net-dataformat/definitions/trkmembers.csv for values.
int id
offline event identifier
Exception for accessing a value in a collection that is outside of its range.
Muon bundle total energy [GeV].
std::vector< Trk > mc_trks
MC: list of MC truth tracks.
The Evt class respresent a Monte Carlo (MC) event as well as an offline event.