StAnalysisMaker Class Reference

A typical Analysis Class. More...

#include <StAnalysisMaker.h>

Inheritance diagram for StAnalysisMaker:

StMaker

List of all members.

Public Member Functions

 StAnalysisMaker (const Char_t *name="analysis")
 ~StAnalysisMaker ()
void Clear (Option_t *option="")
Int_t Init ()
Int_t Make ()
Int_t Finish ()
virtual const char * GetCVS () const

Static Public Member Functions

static void PrintStEvent (Int_t k=0, Int_t minFitPts=0)
static void PrintTpcHits (Int_t sector=0, Int_t row=0, Bool_t plot=kFALSE, Int_t IdTruth=0)
static void PrintSvtHits ()
static void PrintSsdHits ()
static void PrintRnDHits ()


Detailed Description

A typical Analysis Class.

Author:
Torre Wenaus, BNL, Thomas Ullrich
Date:
Nov 1999
This is an example of a maker to perform analysis using StEvent. Use this as a template and customize it for your studies.

Id
StAnalysisMaker.cxx,v 2.15 2010/09/01 14:33:57 fisyak Exp

Author:
Torre Wenaus, BNL, Thomas Ullrich
Date:
Nov 1999
This is an example of a maker to perform analysis using StEvent. Use this as a template and customize it for your studies.

Id
StAnalysisMaker.h,v 2.8 2010/09/01 14:33:57 fisyak Exp

Definition at line 107 of file StAnalysisMaker.h.


Constructor & Destructor Documentation

StAnalysisMaker::~StAnalysisMaker (  ) 

Usually ok to leave this as it is, the destructor should however free/delete private data allocated in other part of the code.

Definition at line 88 of file StAnalysisMaker.cxx.


Member Function Documentation

void StAnalysisMaker::Clear ( Option_t *  opt = ""  )  [virtual]

Called every event after Make(). Usually you do not need to do anything here. Leave it as it is.

Reimplemented from StMaker.

Definition at line 133 of file StAnalysisMaker.cxx.

Int_t StAnalysisMaker::Finish (  )  [virtual]

Called once at the end.

Reimplemented from StMaker.

Definition at line 144 of file StAnalysisMaker.cxx.

References kStOK.

Int_t StAnalysisMaker::Init (  )  [virtual]

Called once at the beginning. This is a good place to book histos and tuples.

Reimplemented from StMaker.

Definition at line 99 of file StAnalysisMaker.cxx.

Int_t StAnalysisMaker::Make (  )  [virtual]

This method is called every event. That's the right place to plug in your analysis.

Reimplemented from StMaker.

Definition at line 169 of file StAnalysisMaker.cxx.

References kStOK.


The documentation for this class was generated from the following files:

Generated on Fri Feb 10 04:27:58 2012 for StRoot by  doxygen 1.5.9