Main Page
Namespaces
Classes
Package Documentation
SimDataFormats
CaloHit
interface
HFShowerLibraryEventInfo.h
Go to the documentation of this file.
1
#ifndef SimDataFormats_HFShowerLibraryEventInfo_h
2
#define SimDataFormats_HFShowerLibraryEventInfo_h
3
4
#include <vector>
5
6
class
HFShowerLibraryEventInfo
{
7
8
public
:
9
10
HFShowerLibraryEventInfo
() { }
11
HFShowerLibraryEventInfo
(
int
events
,
int
bins
,
int
eventsPerBin
,
12
float
libraryVersion,
float
physListVersion
,
13
const
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
30
int
fEvents
,
fBins
,
fEventsPerBin
;
31
float
fHFShowerLibVers
,
fPhyListVers
;
32
std::vector<double>
fEnergies
;
33
};
34
typedef
std::vector<HFShowerLibraryEventInfo>
HFShowerLibraryEventInfoCollection
;
35
#endif
HFShowerLibraryEventInfo::totalEvents
int totalEvents() const
Definition:
HFShowerLibraryEventInfo.h:16
HFShowerLibraryEventInfo::eventsPerBin
int eventsPerBin() const
Definition:
HFShowerLibraryEventInfo.h:20
HFShowerLibraryEventInfo::numberOfBins
int numberOfBins() const
Definition:
HFShowerLibraryEventInfo.h:18
HFShowerLibraryEventInfo
Definition:
HFShowerLibraryEventInfo.h:6
HFShowerLibraryEventInfoCollection
std::vector< HFShowerLibraryEventInfo > HFShowerLibraryEventInfoCollection
Definition:
HFShowerLibraryEventInfo.h:34
HFShowerLibraryEventInfo::fPhyListVers
float fPhyListVers
Definition:
HFShowerLibraryEventInfo.h:31
HFShowerLibraryEventInfo::fEventsPerBin
int fEventsPerBin
Definition:
HFShowerLibraryEventInfo.h:30
PatBasicFWLiteAnalyzer.events
events
Definition:
PatBasicFWLiteAnalyzer.py:8
create_public_pileup_plots.bins
bins
Definition:
create_public_pileup_plots.py:234
HFShowerLibraryEventInfo::energyBins
std::vector< double > energyBins() const
Definition:
HFShowerLibraryEventInfo.h:26
HFShowerLibraryEventInfo::physListVersion
float physListVersion() const
Definition:
HFShowerLibraryEventInfo.h:24
HFShowerLibraryEventInfo::fEnergies
std::vector< double > fEnergies
Definition:
HFShowerLibraryEventInfo.h:32
HFShowerLibraryEventInfo::fHFShowerLibVers
float fHFShowerLibVers
Definition:
HFShowerLibraryEventInfo.h:31
HFShowerLibraryEventInfo::showerLibraryVersion
float showerLibraryVersion() const
Definition:
HFShowerLibraryEventInfo.h:22
HFShowerLibraryEventInfo::fEvents
int fEvents
Definition:
HFShowerLibraryEventInfo.h:30
HFShowerLibraryEventInfo::HFShowerLibraryEventInfo
HFShowerLibraryEventInfo()
Definition:
HFShowerLibraryEventInfo.h:10
HFShowerLibraryEventInfo::fBins
int fBins
Definition:
HFShowerLibraryEventInfo.h:30
Generated for CMSSW Reference Manual by
1.8.11