StFemtoArrays.cxx 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. //
  2. // The class holds FemtoDst names and types
  3. //
  4. // FemtoDst headers
  5. #include "StFemtoArrays.h"
  6. //_________________
  7. StFemtoArrays::StFemtoArrays() {
  8. /* empty */
  9. }
  10. //_________________
  11. StFemtoArrays::~StFemtoArrays() {
  12. /* empty */
  13. }
  14. // ARRAY NAMES
  15. //_________________
  16. const char* StFemtoArrays::femtoArrayNames [NAllFemtoArrays] = { "Event",
  17. "Track",
  18. "V0",
  19. "Xi"
  20. };
  21. // ARRAY TYPES
  22. //_________________
  23. const char* StFemtoArrays::femtoArrayTypes [NAllFemtoArrays] = { "StFemtoEvent",
  24. "StFemtoTrack",
  25. "StFemtoV0",
  26. "StFemtoXi"
  27. };
  28. /// ARRAY SIZES
  29. /// These are intial sizes. Automatically resized if too small.
  30. /// Choosing too large initial values gives a performance penalty when reading
  31. /// only selected femtoDst branches
  32. //_________________
  33. int StFemtoArrays::femtoArraySizes[NAllFemtoArrays] = { 1, 500, 10, 5 };