StFemtoArrays.h 916 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. /**
  2. * \class StFemtoArrays
  3. * \brief Keeps FemtoDst names and types
  4. *
  5. * The class holds FemtoDst names and types that
  6. * are used for branches and other things
  7. *
  8. * \author Grigory Nigmatkulov; e-mail: nigmatkulov@gmail.com
  9. * \date July 15, 2018
  10. */
  11. #ifndef StFemtoArrays_h
  12. #define StFemtoArrays_h
  13. //_________________
  14. class StFemtoArrays {
  15. public:
  16. /// Default constructor
  17. StFemtoArrays();
  18. /// Destructor
  19. ~StFemtoArrays();
  20. /// Number of used arrays
  21. enum {NAllFemtoArrays = 4};
  22. /// Names of the TBranches in the TTree/File
  23. static const char* femtoArrayNames[NAllFemtoArrays];
  24. /// Names of the classes, the TClonesArrays are arrays of this type
  25. static const char* femtoArrayTypes[NAllFemtoArrays];
  26. /// Maximum sizes of the TClonesArrays
  27. static int femtoArraySizes[NAllFemtoArrays];
  28. /// Setup type indices
  29. enum TypeIndex { Event=0, Track, V0, Xi };
  30. };
  31. #endif //StFemtoArrays_h