UArrays.h 597 B

1234567891011121314151617181920212223242526272829
  1. #ifndef UArrays_h
  2. #define UArrays_h
  3. //________________
  4. class UArrays {
  5. public:
  6. /// Default constructor
  7. UArrays();
  8. /// Destructor
  9. ~UArrays();
  10. /// Number of used arrays
  11. enum { NAllUArrays = 3 };
  12. /// Names of the TBranches in the TTree/TFile
  13. static const char* uArrayNames[NAllUArrays];
  14. /// Names of the classes, the TClonesArrays are arrays of this type
  15. static const char* uArrayTypes[NAllUArrays];
  16. /// Maximum sizes of the TClonesArrays
  17. static int uArraySizes[NAllUArrays];
  18. /// Setup type indices
  19. enum typeIndex{ Run=0, Event, Particle };
  20. };
  21. #endif // UArrays_h