StEvent - Coding Style
access function which allow to define/set the value of an data member begin with set
- StVertex::position() // returns position
- StVertex::setPosition(v) // sets position
const used wherever possible
constructors, destructors, copy constructor, and assignment operator all in place
- StTrack myTrack(otherTrack);
- StTrack myTrack = otherTrack;
comparison operator operator== () used where reasonable
all member functions have long descriptive names