1 #ifndef __JAANET__JEVTWEIGHTFACTORMUPAGE__
2 #define __JAANET__JEVTWEIGHTFACTORMUPAGE__
64 const char* formula) :
65 TFormula(name, formula)
95 if (muons.size() > 0) {
102 JCircle2D circle = JCircle2D(muons.cbegin(), muons.cend());
106 return this->DoEval(&vars[0]);
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! ...
Average cosine of zenith angle.
Exception for null pointer operation.
JEvtWeightFactorMupage()
Default constructor.
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 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.