File indexing completed on 2024-04-06 12:29:40
0001 #ifndef SimDataFormats_HFShowerLibraryEventInfo_h
0002 #define SimDataFormats_HFShowerLibraryEventInfo_h
0003
0004 #include <vector>
0005
0006 class HFShowerLibraryEventInfo {
0007 public:
0008 HFShowerLibraryEventInfo() {}
0009 HFShowerLibraryEventInfo(int events,
0010 int bins,
0011 int eventsPerBin,
0012 float libraryVersion,
0013 float physListVersion,
0014 const std::vector<double> &en);
0015
0016
0017 int totalEvents() const { return fEvents; }
0018
0019 int numberOfBins() const { return fBins; }
0020
0021 int eventsPerBin() const { return fEventsPerBin; }
0022
0023 float showerLibraryVersion() const { return fHFShowerLibVers; }
0024
0025 float physListVersion() const { return fPhyListVers; }
0026
0027 std::vector<double> energyBins() const { return fEnergies; }
0028
0029 private:
0030 int fEvents, fBins, fEventsPerBin;
0031 float fHFShowerLibVers, fPhyListVers;
0032 std::vector<double> fEnergies;
0033 };
0034 typedef std::vector<HFShowerLibraryEventInfo> HFShowerLibraryEventInfoCollection;
0035 #endif