StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StEventToolkit.cxx
1 #include <assert.h>
2 
3 #include <StEvent/StEvent.h>
4 #include "StEventToolkit.h"
5 
6 //______________________________________________________________________________
7 StEventToolkit* StEventToolkit::instance()
8 {
9 static StEventToolkit* myInst = 0;
10  if (!myInst) myInst = new StEventToolkit;
11  return myInst;
12 }
13 //______________________________________________________________________________
14 const StSPtrVecTrackNode* StEventToolkit::getTrackContainer()
15 {
16  return &(mEvent->trackNodes());
17 }