CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
HFShowerLibraryEventInfo.h
Go to the documentation of this file.
1 #ifndef SimDataFormats_HFShowerLibraryEventInfo_h
2 #define SimDataFormats_HFShowerLibraryEventInfo_h
3 
4 #include <vector>
5 
7 public:
10  int bins,
11  int eventsPerBin,
12  float libraryVersion,
13  float physListVersion,
14  const std::vector<double> &en);
15 
16  // total number of events
17  int totalEvents() const { return fEvents; }
18  // number of bins
19  int numberOfBins() const { return fBins; }
20  // number of events per bin
21  int eventsPerBin() const { return fEventsPerBin; }
22  // hf shower library version
23  float showerLibraryVersion() const { return fHFShowerLibVers; }
24  // physics list version
25  float physListVersion() const { return fPhyListVers; }
26  // energy bins
27  std::vector<double> energyBins() const { return fEnergies; }
28 
29 private:
32  std::vector<double> fEnergies;
33 };
34 typedef std::vector<HFShowerLibraryEventInfo> HFShowerLibraryEventInfoCollection;
35 #endif
std::vector< HFShowerLibraryEventInfo > HFShowerLibraryEventInfoCollection
std::vector< double > energyBins() const
std::vector< double > fEnergies
tuple events
Definition: patZpeak.py:20