StGenericVertexMaker Class Reference

#include <StGenericVertexMaker.h>

Inheritance diagram for StGenericVertexMaker:

StMaker

List of all members.

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 ()
StGenericVertexFinderGetGenericFinder ()
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


Detailed Description

Author:
David Hardtke, based on Jan Balewskis template
Maker for minuit based vertex finder Lee Barnby - modification, becomes StGenericVertexMaker

Id
StGenericVertexMaker.h,v 1.15 2010/09/11 05:03:16 genevb Exp

Definition at line 27 of file StGenericVertexMaker.h.


Member Function Documentation

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

  • a header exists
  • the run number changes

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.


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

Generated on Fri Feb 10 04:28:07 2012 for StRoot by  doxygen 1.5.9