//____________________________________________________________________________ /*! \class PropaUtils \brief Muon track data for PropaMuon class \author Carla Distefano LNS-INFN, Catania \created December 9, 2015 \cpright Copyright (c) 2015-2019, The KM3NeT Collaboration For the full text of the license see $GSEAGEN/LICENSE */ //____________________________________________________________________________ #ifndef _GPROPATRACKS_H__ #define _GPROPATRACKS_H__ #include #include using namespace std; struct PropaTrack { uint32_t Id; ///< Unique identifier uint32_t MotherId; ///< Mother unique identifier int32_t Pdg; ///< Pdg code int16_t Status; ///< Genie status propagation (+1000 if it is used for propagation) double Length; ///< Length double V1,V2,V3; ///< Position double D1,D2,D3; ///< Direction double E; ///< Energy double T; ///< time of passage trough position void DirectionCosines(){ if(fabs(D1)>1)cout<<"direction cosine x out of range after propagation. Direction will be renormalized. "<1)cout<<"direction cosine y out of range after propagation. Direction will be renormalized. "<1)cout<<"direction cosine z out of range after propagation. Direction will be renormalized. "< PropaTracks; #endif // _GPROPATRACKS_H__