StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StFgt2PointCosmicTrackAlgo.h
1 /***************************************************************************
2  *
3  * $Id: StFgt2PointCosmicTrackAlgo.h,v 1.1 2012/01/31 23:25:35 avossen Exp $
4  * Author: C. K. Riley (ckriley@bnl.gov), Oct. 11 2011
5  *
6  ***************************************************************************
7  *
8  * Description: 2PointAlgo CosmicTrack making algorithm takes 2 points
9  * from outer quads, fits actual hit to expected hit on middle quad
10  *
11  ***************************************************************************
12  *
13  * $Log: StFgt2PointCosmicTrackAlgo.h,v $
14  * Revision 1.1 2012/01/31 23:25:35 avossen
15  * moved StFgtCosmicTrackMaker to StFgtPool
16  *
17  * Revision 1.5 2011/11/16 22:15:07 ckriley
18  * now looks at all points on quadrants and gets best track
19  *
20  * Revision 1.4 2011/11/01 18:50:13 sgliske
21  * Updated to correspond with StEvent containers, take 2.
22  *
23  * Revision 1.3 2011/10/20 17:13:44 ckriley
24  * major update -> headers, tracks stored in StFgtEvent instead of StFgtDisc, changes to trackmaker and algorithms
25  *
26  *
27  **************************************************************************/
28 
29 #ifndef STAR_StFgt2PointCosmicTrackAlgo_HH
30 #define STAR_StFgt2PointCosmicTrackAlgo_HH
31 
32 #include "StFgtICosmicTrackAlgo.h"
33 
34 #include "StRoot/St_base/StMessMgr.h"
35 #include "StRoot/St_base/Stypes.h"
36 
38 
39  public:
40  // constructor
42 
43  // takes in data from maker, calculates line parameters etc.
44  virtual Int_t makeCosmicTracks(StFgtPointCollection&, StFgtCosmicTrackVec&, Int_t);
45 
46  // initialize
47  virtual Int_t Init();
48 
49  private:
50  // check if algorithm is initialized
51  Bool_t mIsInitialized;
52 
53  ClassDef(StFgt2PointCosmicTrackAlgo,1);
54 
55 };
56 
57 #endif