CMS 3D CMS Logo

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
HFShowerLibraryEventInfo::fHFShowerLibVers
float fHFShowerLibVers
Definition: HFShowerLibraryEventInfo.h:31
HFShowerLibraryEventInfo::energyBins
std::vector< double > energyBins() const
Definition: HFShowerLibraryEventInfo.h:27
HFShowerLibraryEventInfo::fEventsPerBin
int fEventsPerBin
Definition: HFShowerLibraryEventInfo.h:30
patZpeak.events
events
Definition: patZpeak.py:20
HFShowerLibraryEventInfo::fEvents
int fEvents
Definition: HFShowerLibraryEventInfo.h:30
HFShowerLibraryEventInfo::totalEvents
int totalEvents() const
Definition: HFShowerLibraryEventInfo.h:17
HFShowerLibraryEventInfo::physListVersion
float physListVersion() const
Definition: HFShowerLibraryEventInfo.h:25
HFShowerLibraryEventInfo::showerLibraryVersion
float showerLibraryVersion() const
Definition: HFShowerLibraryEventInfo.h:23
HFShowerLibraryEventInfoCollection
std::vector< HFShowerLibraryEventInfo > HFShowerLibraryEventInfoCollection
Definition: HFShowerLibraryEventInfo.h:34
HFShowerLibraryEventInfo::fPhyListVers
float fPhyListVers
Definition: HFShowerLibraryEventInfo.h:31
HFShowerLibraryEventInfo
Definition: HFShowerLibraryEventInfo.h:6
HFShowerLibraryEventInfo::fBins
int fBins
Definition: HFShowerLibraryEventInfo.h:30
HFShowerLibraryEventInfo::fEnergies
std::vector< double > fEnergies
Definition: HFShowerLibraryEventInfo.h:32
HFShowerLibraryEventInfo::HFShowerLibraryEventInfo
HFShowerLibraryEventInfo()
Definition: HFShowerLibraryEventInfo.h:8
trigObjTnPSource_cfi.bins
bins
Definition: trigObjTnPSource_cfi.py:20
HFShowerLibraryEventInfo::eventsPerBin
int eventsPerBin() const
Definition: HFShowerLibraryEventInfo.h:21
HFShowerLibraryEventInfo::numberOfBins
int numberOfBins() const
Definition: HFShowerLibraryEventInfo.h:19