20 if (!in.empty() && in[0].getQ() >= 100) {
26 for (
const auto& t1 : event->
mc_trks) {
double getAngle(const JQuaternion3D &first, const JQuaternion3D &second)
Get space angle between quanternions.
bool accept(const JEvt &in, const Evt *event)
Event selection.
bool is_muon(const Trk &track)
Test whether given track is a (anti-)muon.
double E
Energy [GeV] (either MC truth or reconstructed)
JDirection3D getDirection(const Vec &dir)
Get direction.
then fatal Wrong number of arguments fi set_variable DETECTOR $argv[1] set_variable INPUT_FILE $argv[2] eval JPrintDetector a $DETECTOR O IDENTIFIER eval JPrintDetector a $DETECTOR O SUMMARY source JAcoustics sh $DETECTOR_ID CHECK_EXIT_CODE typeset A TRIPODS get_tripods $WORKDIR tripod txt TRIPODS for EMITTER in
The Trk class represents a Monte Carlo (MC) particle as well as a reconstructed track/shower.
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.