Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
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
public
:
8
HFShowerLibraryEventInfo
() {}
9
HFShowerLibraryEventInfo
(
int
events
,
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
:
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:17
HFShowerLibraryEventInfo::eventsPerBin
int eventsPerBin() const
Definition:
HFShowerLibraryEventInfo.h:21
HFShowerLibraryEventInfo::numberOfBins
int numberOfBins() const
Definition:
HFShowerLibraryEventInfo.h:19
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
HFShowerLibraryEventInfo::energyBins
std::vector< double > energyBins() const
Definition:
HFShowerLibraryEventInfo.h:27
HFShowerLibraryEventInfo::physListVersion
float physListVersion() const
Definition:
HFShowerLibraryEventInfo.h:25
HFShowerLibraryEventInfo::fEnergies
std::vector< double > fEnergies
Definition:
HFShowerLibraryEventInfo.h:32
HFShowerLibraryEventInfo::fHFShowerLibVers
float fHFShowerLibVers
Definition:
HFShowerLibraryEventInfo.h:31
patZpeak.events
tuple events
Definition:
patZpeak.py:20
HFShowerLibraryEventInfo::showerLibraryVersion
float showerLibraryVersion() const
Definition:
HFShowerLibraryEventInfo.h:23
HFShowerLibraryEventInfo::fEvents
int fEvents
Definition:
HFShowerLibraryEventInfo.h:30
HFShowerLibraryEventInfo::HFShowerLibraryEventInfo
HFShowerLibraryEventInfo()
Definition:
HFShowerLibraryEventInfo.h:8
HFShowerLibraryEventInfo::fBins
int fBins
Definition:
HFShowerLibraryEventInfo.h:30
Generated for CMSSW Reference Manual by
1.8.5