#include <StGenericVertexMaker.h>

Public Member Functions | |
| StGenericVertexMaker (const char *name="GenericVertex") | |
| virtual Int_t | Init () |
| virtual Int_t | InitRun (Int_t runumber) |
| virtual void | Clear (const char *opt="") |
| virtual Int_t | Finish () |
| virtual Int_t | Make () |
| StGenericVertexFinder * | GetGenericFinder () |
| void | UseBeamLine () |
| void | DoNotUseBeamLine () |
| void | CalibBeamLine () |
| void | UseCTB () |
| void | DoNotUseCTB () |
| void | DoEval () |
| void | SetInternalFind () |
| void | SetUseITTF () |
| void | SetDoNotUseITTF () |
| void | SetMinimumTracks (Int_t n) |
| void | UsePCT () |
| void | DoNotUsePCT () |
| virtual const char * | GetCVS () const |
Definition at line 27 of file StGenericVertexMaker.h.
| Int_t StGenericVertexMaker::Finish | ( | ) | [virtual] |
Terminate a run. Place to make operations on histograms, normalization,etc.
Reimplemented from StMaker.
Definition at line 217 of file StGenericVertexMaker.cxx.
References StMaker::GetName(), and kStOK.
| Int_t StGenericVertexMaker::Init | ( | ) | [virtual] |
The Init() method instantiates the VertexFinder() method. Since this is a Maker, the switch between the diverse methods will be made as part of the m_Mode mechanism. m_Mode will be a bit set to later allow multiple vertex finder running in the same pass. The structure does not allow this to happen for now (will need to have stack-like of VertexFinders and loop over them adding vertices in the collection)
All VertexFinder-s need to have the same methods (like DoUseITTF() NCtbMatches() etc ...) described in the GenericVertexFinder() class). Currentely, methods are not part of the base class and need cleanup.
Reimplemented from StMaker.
Definition at line 89 of file StGenericVertexMaker.cxx.
| Int_t StGenericVertexMaker::InitRun | ( | Int_t | runumber | ) | [virtual] |
InitRun() will initialize the beam line constraint if this option is selected. From BFChain, beamLine constraint is set via the "beamline" option; this will intrinsically call the UseBeamLine() method BEFORE InitRun() is called.
Reimplemented from StMaker.
Definition at line 180 of file StGenericVertexMaker.cxx.
| Int_t StGenericVertexMaker::Make | ( | ) | [virtual] |
The Make() method is the one responsible for calling the maker's InitRun(). Note that that InitRun() is called for real data and if both of the following are true
This is the ONLY place calling the InitRun() routine.
Only fill StEvent when successful
check privilege to skip event
Reimplemented from StMaker.
Definition at line 261 of file StGenericVertexMaker.cxx.
References StGenericVertexFinder::FillStEvent(), and kStOK.
1.5.9