#ifndef retrieveHitTruthInfo #define retrieveHitTruthInfo #include #include #include namespace HitTruthInfo { /// Return the G4 hits associated with a IHit. /// This method is meant to check the different ways in which the /// truth information can be attached to a IHit. In particular, /// the method does following /// a) checks IHit has a IMCDigit that is attached to it. /// b) checks if IHit is actually IMCHit. /// If either is true, then method returns g4 contributors; /// otherwise, returns empty vector. std::vector GetHitTruthInfo(COMET::IHandle hit); } #endif