First page Back Continue Last page Overview Graphics
Makers
STAR analysis software uses ‘Makers’
- For our purposes, this is a recommended style for structuring your event analysis programs
- A Maker has three required member functions
- You can do elegant things with Makers, including chaining several of them together, but for now we will introduce the style
The elements of the “HelloWorldMaker.cxx”
- Int_t HelloWorldMaker::Init( )
- { // Do once at the start of the analysis, create histograms, etc. }
- Int_t HellowWorldMaker::Make( )
- { // Do every event
- cout << "Hello World" << end ;
- return kStOK ; }
- Int_t HellowWorldMaker::Finish( )
- { // Do once at the end of the analysis, close files, etc. }