StKinkMaker Class Reference

Class to find kink secondary vertices. More...

#include <StKinkMaker.h>

Inheritance diagram for StKinkMaker:

StMaker

List of all members.

Public Member Functions

 StKinkMaker (const char *name="KinkMaker")
virtual Int_t Init ()
virtual Int_t InitRun (int runumber)
virtual Int_t Make ()
virtual void SetTrackerUsage (Int_t opt=0)
virtual Int_t GetTrackerUsage ()
virtual void Crop ()
virtual const char * GetCVS () const

Protected Member Functions

void FillEvent (StTrackGeometry *myDaughterGeometry1, StTrackGeometry *myParentGeometry11)
 Event filling.
bool acceptTrack (StTrack *)

Protected Attributes

St_tkf_tkfpar * m_tkfpar
StEventevent
StKinkVertexkinkVertex
int mUseTracker


Detailed Description

Class to find kink secondary vertices.

Author:
Camelia Mironov, KSU
Date:
Jan,2004
Author:
Camelia Mironov, KSU
Date:
Jan,2004
This is the C++ Kink maker replacement for the table-based older code.

Definition at line 34 of file StKinkMaker.h.


Member Function Documentation

bool StKinkMaker::acceptTrack ( StTrack trk  )  [protected]

Track acceptance filter fittingMethod() as defined in pams/global/inc/StTrackMethod.h (values themselves are defined in pams/global/inc/StTrackDefinitions.h) while mUseTracker is defined as SetTrackerUsage(). Note that TPT tracks are set as kHelix3DIdentifier BUT, we also found that there are some cases (untraced) where the mEncodedMethod is reset to 0 (the only tracks having kHelix3DIdentifier being tracks with SVT points). So, we had to revert to a non-equality for safety purposes i.e. kTrackerUseTPT will consider any tracks not being kITKalmanFitId (sad).

Julien : I change this on Jerome's request : now TPT tracks will only be kHelix3DIdentifier... for safety purposes too ;-))

Definition at line 559 of file StKinkMaker.cxx.

Referenced by Make().

Int_t StKinkMaker::Init (  )  [virtual]

Init() will aslo initialize the track type to select on. See SetTrackerUsage(). Note that the steering of how to call SetTrackerUsage() is done through StBFChain and the maker m_Mode mechanism. Refer to SetTrackerUsage() method for more explaination.

Reimplemented from StMaker.

Definition at line 79 of file StKinkMaker.cxx.

References StMaker::m_Mode, and SetTrackerUsage().

Int_t StKinkMaker::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.

check privilege to skip event

Reimplemented from StMaker.

Definition at line 100 of file StKinkMaker.cxx.

References acceptTrack(), FillEvent(), kStOK, and kStWarn.

void StKinkMaker::SetTrackerUsage ( Int_t  opt = 0  )  [virtual]

Sets the tracker track-selection flag according to convention defined enumeration in StV0FinderMaker.h . One should not confuse this value with the value of the controlling parameter m_Mode setting calling this method as follow

m_Mode=0 00 Leaves mUseTracker as default i.e. kTrackerUseBOTH (see ctor) m_Mode=1 01 sets mUseTracker to kTrackerUseTPT m_Mode=2 10 Sets mUseTracker to kTrackerUseITTF m_Mode=3 11 Sets mUseTracker to kTrackerUseBOTH (bitmask)

See Init() for how this is set. The m_Mode convention would allow for easier extension to yet another track-selection flags.

Definition at line 596 of file StKinkMaker.cxx.

Referenced by Init().


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

Generated on Thu Feb 9 04:27:30 2012 for StRoot by  doxygen 1.5.9