StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StMuFmsUtil.h
1  /***************************************************************************
2  *
3  * $Id: StMuFmsUtil.h,v 1.4 2018/05/24 01:13:37 jdb Exp $
4  *
5  * Author: Jingguo Ma, Jan 2010
6  ***************************************************************************
7  *
8  * Description: FMS Util to convert between StEvent and MuDst
9  *
10  ***************************************************************************
11  *
12  * $Log: StMuFmsUtil.h,v $
13  * Revision 1.4 2018/05/24 01:13:37 jdb
14  * Move fillFmsHits to public
15  *
16  * Revision 1.3 2017/08/14 16:22:36 smirnovd
17  * Recover FMS hits using StTriggerData
18  *
19  * commit 6d7358f4c86a15edd0671326580d291a9843aec9
20  * Date: Tue Aug 8 23:42:41 2017 -0400
21  *
22  * StMuFmsUtil: Recover FMS hits using StTriggerData
23  *
24  * commit 556d07cb8fd87cb62e4ac674226423671c94917d
25  * Date: Tue Aug 8 23:42:34 2017 -0400
26  *
27  * StMuFmsUtil: Added func to fill StMuFmsCollection with FMS hits from StTriggerData in StMuEvent
28  *
29  * commit c355529c1ee401849b2b81d74df8d452886593d1
30  * Date: Tue Aug 8 23:42:19 2017 -0400
31  *
32  * [Cosmetic] Changes in whitespace
33  *
34  * commit 67fdc1b348bebbfbfb137b726ee9c455a7d8be37
35  * Date: Mon Jun 5 12:00:24 2017 -0400
36  *
37  * StMuFmsCollection::addHit() Return pointer to just added default FMS hit object
38  *
39  * Revision 1.2 2015/08/28 18:36:04 jdb
40  * Added Akios FMS codes
41  *
42  * Revision 1.1 2010/01/25 03:57:39 tone421
43  * Added FMS and Roman pot arrays
44  *
45  **************************************************************************/
46  #ifndef StMuFmsUtil_h
47  #define StMuFmsUtil_h
48  #include "TObject.h"
49 
50  class StMuFmsCollection;
51  class StFmsCollection;
52  class StFmsDbMaker;
53  class StTriggerData;
54  class StMuDst;
55 
56 
57 class StMuFmsUtil : public TObject
58 {
59 public:
60  StMuFmsUtil();
61  ~StMuFmsUtil();
64  void fillMuFms(StMuFmsCollection*,StFmsCollection*);
65  void fillFms(StFmsCollection*,StMuFmsCollection*);
66  void fillFmsHits(StFmsCollection*, StMuFmsCollection*);
67 
72  static void fillMuFmsHits(StMuFmsCollection&, const StTriggerData&, const StFmsDbMaker* = nullptr);
73 
78  static void recoverMuFmsCollection(StMuDst& muDst, const StFmsDbMaker* = nullptr);
79 
80 private:
81 
85  void fillMuFmsClusters(StMuFmsCollection*, StFmsCollection*);
87  void fillMuFmsPoints(StMuFmsCollection*, StFmsCollection*);
89  void setMuFmsPointParentClusters(StMuFmsCollection*, StFmsCollection*);
90 
92  void fillFmsClusters(StFmsCollection*, StMuFmsCollection*);
94  void fillFmsPoints(StFmsCollection*, StMuFmsCollection*);
96  void setFmsPointParentClusters(StFmsCollection*, StMuFmsCollection*);
97 
98  ClassDef(StMuFmsUtil,1)
99 };
100 
101 #endif
static void recoverMuFmsCollection(StMuDst &muDst, const StFmsDbMaker *=nullptr)
static void fillMuFmsHits(StMuFmsCollection &, const StTriggerData &, const StFmsDbMaker *=nullptr)