Go to Notes and Further References, Exercises, top,

Notes and Further References

MOM provides access to all the records that associated with the current event. There are three types:- Its important to appreciate that there can be none, one, or more of any of these, so although the simplest method to get e.g. a RawRecord is to:-
    RawRecord* raw = dynamic_cast<RawRecord*>(mom->GetFragment("RawRecord"));
MOM will return the first RawRecord that it finds, if any.

It is better to:-


Make sure that you have carried out the preparation steps.