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