StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StPicoArrays.cxx
1 //
2 // The StPicoArrays holds names, types and initial sizes of the pico arrays
3 //
4 
5 // PicoDst headers
6 #include "StPicoArrays.h"
7 
8 // ARRAY NAMES
9 //_________________
10 const char* StPicoArrays::picoArrayNames [NAllPicoArrays] = { "Event",
11  "Track",
12  "EmcTrigger",
13  "MtdTrigger",
14  "BTowHit",
15  "BTofHit",
16  "MtdHit",
17  "BbcHit",
18  "EpdHit",
19  "FmsHit",
20  "EmcPidTraits",
21  "BTofPidTraits",
22  "MtdPidTraits",
23  "TrackCovMatrix",
24  "BEmcSmdEHit",
25  "BEmcSmdPHit",
26  "ETofHit",
27  "ETofPidTraits",
28  "McVertex",
29  "McTrack"
30 };
31 
32 // ARRAY TYPES
33 //_________________
34 const char* StPicoArrays::picoArrayTypes [NAllPicoArrays] = { "StPicoEvent",
35  "StPicoTrack",
36  "StPicoEmcTrigger",
37  "StPicoMtdTrigger",
38  "StPicoBTowHit",
39  "StPicoBTofHit",
40  "StPicoMtdHit",
41  "StPicoBbcHit",
42  "StPicoEpdHit",
43  "StPicoFmsHit",
44  "StPicoBEmcPidTraits",
45  "StPicoBTofPidTraits",
46  "StPicoMtdPidTraits",
47  "StPicoTrackCovMatrix",
48  "StPicoBEmcSmdEHit",
49  "StPicoBEmcSmdPHit",
50  "StPicoETofHit",
51  "StPicoETofPidTraits",
52  "StPicoMcVertex",
53  "StPicoMcTrack"
54 };
55 
56 // ARRAY SIZES
57 // These are intial sizes. Automatically resized if too small.
58 // Choosing too large initial values gives a performance penalty when reading
59 // only selected picoDst branches
60 //_________________
61 int StPicoArrays::picoArraySizes [NAllPicoArrays] = { 1, // StPicoEvent
62  1000, // StPicoTrack
63  100, // StPicoEmcTrigger
64  100, // StPicoMtdTrigger
65  4800, // StPicoBTowHit
66  100, // StPicoBTofHit
67  100, // StPicoMtdHit
68  32, // StPicoBbcHit
69  100, // StPicoEpdHit
70  1300, // StPicoFmsHit
71  100, // StPicoBEmcPidTraits
72  100, // StPicoBTofPidTraits
73  100, // StPicoMtdPidTraits
74  1000, // StPicoTrackCovMatrix
75  100, // StPicoBEmcSmdEHit
76  100, // StPicoBEmcSmdPHit
77  100, // StPicoETofHit
78  100, // StPicoETofPidTraits
79  10, // StPicoMcVertex
80  1000 // StPicoMcTrack
81 };
82 
83 //_________________
84 StPicoArrays::StPicoArrays() { // Destructor
85  /* empty */
86 }
StPicoArrays()
Default constructor.
static const char * picoArrayNames[NAllPicoArrays]
Names of the TBranches in the TTree/File.
Definition: StPicoArrays.h:23
static int picoArraySizes[NAllPicoArrays]
Maximum sizes of the TClonesArrays.
Definition: StPicoArrays.h:29
static const char * picoArrayTypes[NAllPicoArrays]
Names of the classes, the TClonesArrays are arrays of this type.
Definition: StPicoArrays.h:26