CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros 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 
8 public:
9 
11  HFShowerLibraryEventInfo(int events, int bins, int eventsPerBin,
12  float libraryVersion, float physListVersion,
13  std::vector<double> en);
14 
15  // total number of events
16  int totalEvents() const { return fEvents; }
17  // number of bins
18  int numberOfBins() const { return fBins; }
19  // number of events per bin
20  int eventsPerBin() const { return fEventsPerBin; }
21  // hf shower library version
22  float showerLibraryVersion() const { return fHFShowerLibVers; }
23  // physics list version
24  float physListVersion() const { return fPhyListVers; }
25  // energy bins
26  std::vector<double> energyBins() const { return fEnergies; }
27 
28 private:
29 
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:19