StFms  0.0.0
FMS software in the STAR framework
StMuArrays.h
Go to the documentation of this file.
1 /***************************************************************************
2  *
3  * $Id: StMuArrays.h,v 1.31 2013/07/23 11:02:59 jeromel Exp $
4  * Author: Frank Laue, BNL, laue@bnl.gov
5  ***************************************************************************/
13 #ifndef StMuArrays_hh
14 #define StMuArrays_hh
15 #include "Rtypes.h"
17 //enum emcTypes {muEmc=0};
19 
22 
24 #ifndef __NO_STRANGE_MUDST__
27 #endif
28 enum MCTypes {MCVertex=0, MCTrack};
32 
35 
37 // run 5 - dongx
39 
42 
44 
45 
48 
49 enum NARRAYS {
51 #ifndef __NO_STRANGE_MUDST__
53 #endif
58 // run 5 - dongx
64 
66 #ifndef __NO_STRANGE_MUDST__
68 #else
70 #endif
71 };
72 class StMuArrays {
73  public:
74  StMuArrays();
75  #ifndef __CINT__
76  static const char* arrayNames [__NALLARRAYS__ ];
78 #ifndef __NO_STRANGE_MUDST__
79  static const char** strangeArrayNames; //[__NSTRANGEARRAYS__]
80 #endif
81  static const char** mcArrayNames; //[__NMCARRAYS__]
82  static const char** emcArrayNames;//[__NEMCARRAYS__ ]
83  static const char** pmdArrayNames;//[__NPMDARRAYS__ ]
84  static const char** fmsArrayNames;//[__NFMSARRAYS__ ]
85  static const char** tofArrayNames;//[__NTOFARRAYS__ ]
86  static const char** btofArrayNames;//[__NBTOFARRAYS__ ] // dongx
87  static const char** mtdArrayNames;//[__NMTDARRAYS__ ]
88  static const char** fgtArrayNames;//[__NFGTARRAYS__ ]
89  static const char** eztArrayNames;//[__NEZARRAYS__ ]
90 
92  static const char* arrayTypes [__NALLARRAYS__ ];
93 #ifndef __NO_STRANGE_MUDST__
94  static const char** strangeArrayTypes;//[__NSTRANGEARRAYS__]
95 #endif
96  static const char** mcArrayTypes;//[__NMCARRAYS__]
97  static const char** emcArrayTypes;// [__NEMCARRAYS__ ]
98  static const char** pmdArrayTypes;// [__NPMDARRAYS__ ]
99  static const char** fmsArrayTypes;// [__NFMSARRAYS__ ]
100  static const char** tofArrayTypes;// [__NTOFARRAYS__ ]
101  static const char** btofArrayTypes;// [__NBTOFARRAYS__ ] // dongx
102  static const char** mtdArrayTypes;// [__NMTDARRAYS__ ]
103  static const char** fgtArrayTypes;// [__NFGTARRAYS__ ]
104  static const char** eztArrayTypes;// [__NEZARRAYS__ ]
105 
107  static int arraySizes [__NALLARRAYS__ ];
108 #ifndef __NO_STRANGE_MUDST__
109  static int* strangeArraySizes;// [__NSTRANGEARRAYS__]
110 #endif
111  static int* mcArraySizes;// [__NMCARRAYS__]
112  static int* emcArraySizes;// [__NEMCARRAYS__ ]
113  static int* pmdArraySizes;// [__NPMDARRAYS__ ]
114  static int* fmsArraySizes;// [__NFMSARRAYS__ ]
115  static int* tofArraySizes;// [__NTOFARRAYS__ ]
116  static int* btofArraySizes;// [__NBTOFARRAYS__ ] // dongx
117  static int* mtdArraySizes;// [__NMTDARRAYS__ ]
118  static int* fgtArraySizes;// [__NFGTARRAYS__ ]
119  static int* eztArraySizes;// [__NEZARRAYS__ ]
120 
123 #ifndef __NO_STRANGE_MUDST__
124  static int*strangeArrayCounters;// [__NSTRANGEARRAYS__]
125 #endif
126  static int*mcArrayCounters;// [__NMCARRAYS__]
127  static int* emcArrayCounters;// [__NEMCARRAYS__ ]
128  static int* pmdArrayCounters;// [__NPMDARRAYS__ ]
129  static int* fmsArrayCounters;// [__NFMSARRAYS__ ]
130  static int* tofArrayCounters;// [__NTOFARRAYS__ ]
131  static int* btofArrayCounters;// [__NBTOFARRAYS__ ] // dongx
132  static int* mtdArrayCounters;// [__NEZARRAYS__ ]
133  static int* fgtArrayCounters;// [__NFGTARRAYS__ ]
134  static int* eztArrayCounters;// [__NEZARRAYS__ ]
135 #endif
136  ClassDef(StMuArrays,0)
137 };
138 
139 #endif
140 
141 /***************************************************************************
142  *
143  * $Log: StMuArrays.h,v $
144  * Revision 1.31 2013/07/23 11:02:59 jeromel
145  * Undo changes (KF and other)
146  *
147  * Revision 1.29 2013/04/10 19:28:35 jeromel
148  * Step back to 04/04 version (van aware) - previous changes may be recoverred
149  *
150  * Revision 1.27 2013/01/08 22:57:33 sangalin
151  * Merged in FGT changes allowing for a variable number of timebins to be read out for each strip.
152  *
153  * Revision 1.26 2012/11/15 22:26:13 sangalin
154  * Added the FGT. Fixed bugs in array offsets for the MTD.
155  *
156  * Revision 1.25 2012/09/28 22:38:05 tone421
157  * Changed array stucture of MTD upon request of the TOF group. MTD arrays now on top level, rather than within __NARRAYS__
158  *
159  * Revision 1.23 2011/10/17 00:19:13 fisyak
160  * Active handing of IdTruth
161  *
162  * Revision 1.22 2011/05/04 19:51:32 tone421
163  * Added MTD infomation
164  *
165  * Revision 1.21 2011/04/08 01:25:50 fisyak
166  * Add branches for MC track and vertex information, add IdTruth to tracks and vertices, reserve a possiblity to remove Strange MuDst
167  *
168  * Revision 1.20 2010/05/26 04:25:50 tone421
169  * Added StTriggerData arrays in muevent and fixed an issue with PMD arrays being read....
170  *
171  * Revision 1.19 2010/01/25 03:57:39 tone421
172  * Added FMS and Roman pot arrays
173  *
174  * Revision 1.18 2009/02/20 16:37:44 tone421
175  * *** empty log message ***
176  *
177  * Revision 1.16 2008/03/19 14:51:03 fisyak
178  * Add two clone arrays for global and primary track covariance matrices, remove mSigmaDcaD and mSigmaDcaZ
179  *
180  * Revision 1.15 2005/07/15 21:45:08 mvl
181  * Added support for multiple primary vertices (StMuPrimaryVertex). Track Dcas are now calculated with repect to the first vertex in the list (highest rank), but another vertex number can be specified. Tarcks also store the index of the vertex they belong to (StMuTrack::vertexIndex())
182  *
183  * Revision 1.14 2005/04/12 21:56:29 mvl
184  * Changes by Xin Dong for year-5 TOF data format: extra TClonesArray and routines to fill it from StEvent (StTofRawData).
185  *
186  * Revision 1.13 2004/11/29 15:53:22 mvl
187  * Additions by Jan for Fpd ezTree
188  *
189  * Revision 1.12 2004/10/28 00:11:33 mvl
190  * Added stuff to support ezTree mode of MuDstMaker.
191  * This is a special mode for fast-online processing of fast-detector data.
192  *
193  * Revision 1.11 2004/10/19 01:43:05 mvl
194  * Changes for splitting Emc and Pmd collections
195  *
196  * Revision 1.10 2004/07/27 02:35:23 mvl
197  * Added access methods for Strangeness Monte-Carlo arrays
198  *
199  * Revision 1.9 2004/05/04 00:10:28 perev
200  * Cleanup
201  *
202  * Revision 1.8 2004/04/26 00:13:28 perev
203  * Cleanup+simplification
204  *
205  * Revision 1.7 2004/04/09 22:06:35 subhasis
206  * after tof createevent fix by Xin
207  *
208  * Revision 1.6 2004/04/09 03:36:14 jeromel
209  * Removed TOF support entirely for now as we need a working version ... Will
210  * revisit later.
211  *
212  * Revision 1.5 2004/04/02 03:24:53 jeromel
213  * Changes implements PMD and TOF. TOF is clearly incomplete.
214  *
215  * Revision 1.4 2003/01/09 18:59:45 laue
216  * initial check in of new EMC classes and the changes required
217  *
218  * Revision 1.3 2002/05/20 17:23:31 laue
219  * StStrangeCuts added
220  *
221  * Revision 1.2 2002/05/04 23:56:29 laue
222  * some documentation added
223  *
224  * Revision 1.1 2002/03/08 17:04:17 laue
225  * initial revision
226  *
227  *
228  **************************************************************************/
static int * mcArrayCounters
Definition: StMuArrays.h:126
static const char ** pmdArrayNames
Definition: StMuArrays.h:83
static int * strangeArraySizes
Definition: StMuArrays.h:109
static const char ** fgtArrayNames
Definition: StMuArrays.h:88
btofTypes
dongx
Definition: StMuArrays.h:41
static int arraySizes[__NALLARRAYS__]
< maximum sizes of the TClonesArrays
Definition: StMuArrays.h:107
strangeTypes
enumeration to to index the strangeArrays
Definition: StMuArrays.h:26
static int * btofArraySizes
Definition: StMuArrays.h:116
pmdTypes
enumeration to to index the pmdArrays
Definition: StMuArrays.h:34
static const char ** btofArrayTypes
Definition: StMuArrays.h:101
eztTypes
enumeration to to index the eztArrays (IUCF-ezTree)
Definition: StMuArrays.h:47
static const char * arrayTypes[__NALLARRAYS__]
< names of the classes, the TClonesArrays are arrays of this type
Definition: StMuArrays.h:92
static int * tofArrayCounters
Definition: StMuArrays.h:130
static const char ** fmsArrayTypes
Definition: StMuArrays.h:99
muDstTypes
Definition: StMuArrays.h:31
static const char ** pmdArrayTypes
Definition: StMuArrays.h:98
size of the tof arrays >
Definition: StMuArrays.h:59
static int * emcArraySizes
Definition: StMuArrays.h:112
static const char ** fmsArrayNames
Definition: StMuArrays.h:84
static const char ** fgtArrayTypes
Definition: StMuArrays.h:103
fgtTypes
enumeration to to index the fgtArrays
Definition: StMuArrays.h:21
static int * fgtArrayCounters
Definition: StMuArrays.h:133
static const char ** tofArrayNames
Definition: StMuArrays.h:85
static int * eztArrayCounters
Definition: StMuArrays.h:134
NARRAYS
Definition: StMuArrays.h:49
emcTypes
enumeration to to index the emcArrays
Definition: StMuArrays.h:18
static const char ** eztArrayNames
Definition: StMuArrays.h:89
static const char ** eztArrayTypes
Definition: StMuArrays.h:104
static const char * arrayNames[__NALLARRAYS__]
Definition: StMuArrays.h:77
size of the fms arrays, i.e. number of TClonesArrays
Definition: StMuArrays.h:57
size of the pmd arrays, i.e. number of TClonesArrays
Definition: StMuArrays.h:56
static const char ** emcArrayTypes
Definition: StMuArrays.h:97
static int * btofArrayCounters
Definition: StMuArrays.h:131
static const char ** strangeArrayTypes
Definition: StMuArrays.h:94
static int * eztArraySizes
Definition: StMuArrays.h:119
static const char ** emcArrayNames
Definition: StMuArrays.h:82
static int * mcArraySizes
Definition: StMuArrays.h:111
static const char ** mcArrayTypes
Definition: StMuArrays.h:96
tofTypes
Definition: StMuArrays.h:38
StMuArrays()
names of the TBranches in the TTree/File
Definition: StMuArrays.cxx:160
static const char ** mtdArrayNames
Definition: StMuArrays.h:87
static const char ** btofArrayNames
Definition: StMuArrays.h:86
static int arrayCounters[__NALLARRAYS__]
< number of entries in current event, currently not used
Definition: StMuArrays.h:122
size of the strangeness arrays, i.e. number of TClonesArrays
Definition: StMuArrays.h:52
static int * fmsArraySizes
Definition: StMuArrays.h:114
static int * fmsArrayCounters
Definition: StMuArrays.h:129
MCTypes
enumeration to to index the mcArrays
Definition: StMuArrays.h:29
size of the fgt arrays, i.e. number of TClonesArrays
Definition: StMuArrays.h:62
fmsTypes
Definition: StMuArrays.h:23
size of the 'regular stuff' arrays, i.e. number of TClonesArrays (add two more for global and primary...
Definition: StMuArrays.h:50
static int * mtdArrayCounters
Definition: StMuArrays.h:132
static int * fgtArraySizes
Definition: StMuArrays.h:118
size of the emc arrays, i.e. number of TClonesArrays
Definition: StMuArrays.h:55
static const char ** strangeArrayNames
Definition: StMuArrays.h:79
static const char ** mcArrayNames
Definition: StMuArrays.h:81
size of the MCness arrays, i.e. number of TClonesArrays
Definition: StMuArrays.h:54
size of the ez arrays >
Definition: StMuArrays.h:63
static const char ** mtdArrayTypes
Definition: StMuArrays.h:102
static int * emcArrayCounters
Definition: StMuArrays.h:127
mtdTypes
Definition: StMuArrays.h:43
static int * pmdArrayCounters
Definition: StMuArrays.h:128
static int * pmdArraySizes
Definition: StMuArrays.h:113
static int * strangeArrayCounters
Definition: StMuArrays.h:124
static const char ** tofArrayTypes
Definition: StMuArrays.h:100
static int * tofArraySizes
Definition: StMuArrays.h:115
static int * mtdArraySizes
Definition: StMuArrays.h:117