CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
HFShowerLibraryEventInfo Class Reference

#include <HFShowerLibraryEventInfo.h>

Public Member Functions

std::vector< double > energyBins () const
 
int eventsPerBin () const
 
 HFShowerLibraryEventInfo ()
 
 HFShowerLibraryEventInfo (int events, int bins, int eventsPerBin, float libraryVersion, float physListVersion, const std::vector< double > &en)
 
int numberOfBins () const
 
float physListVersion () const
 
float showerLibraryVersion () const
 
int totalEvents () const
 

Private Attributes

int fBins
 
std::vector< double > fEnergies
 
int fEvents
 
int fEventsPerBin
 
float fHFShowerLibVers
 
float fPhyListVers
 

Detailed Description

Definition at line 6 of file HFShowerLibraryEventInfo.h.

Constructor & Destructor Documentation

◆ HFShowerLibraryEventInfo() [1/2]

HFShowerLibraryEventInfo::HFShowerLibraryEventInfo ( )
inline

Definition at line 8 of file HFShowerLibraryEventInfo.h.

8 {}

◆ HFShowerLibraryEventInfo() [2/2]

HFShowerLibraryEventInfo::HFShowerLibraryEventInfo ( int  events,
int  bins,
int  eventsPerBin,
float  libraryVersion,
float  physListVersion,
const std::vector< double > &  en 
)

Definition at line 3 of file HFShowerLibraryEventInfo.cc.

5  : fEvents(events),
6  fBins(bins),
8  fHFShowerLibVers(libraryVersion),
10  fEnergies(en) {}

Member Function Documentation

◆ energyBins()

std::vector<double> HFShowerLibraryEventInfo::energyBins ( ) const
inline

Definition at line 27 of file HFShowerLibraryEventInfo.h.

27 { return fEnergies; }

References fEnergies.

◆ eventsPerBin()

int HFShowerLibraryEventInfo::eventsPerBin ( ) const
inline

Definition at line 21 of file HFShowerLibraryEventInfo.h.

21 { return fEventsPerBin; }

References fEventsPerBin.

◆ numberOfBins()

int HFShowerLibraryEventInfo::numberOfBins ( ) const
inline

Definition at line 19 of file HFShowerLibraryEventInfo.h.

19 { return fBins; }

References fBins.

◆ physListVersion()

float HFShowerLibraryEventInfo::physListVersion ( ) const
inline

Definition at line 25 of file HFShowerLibraryEventInfo.h.

25 { return fPhyListVers; }

References fPhyListVers.

◆ showerLibraryVersion()

float HFShowerLibraryEventInfo::showerLibraryVersion ( ) const
inline

Definition at line 23 of file HFShowerLibraryEventInfo.h.

23 { return fHFShowerLibVers; }

References fHFShowerLibVers.

◆ totalEvents()

int HFShowerLibraryEventInfo::totalEvents ( ) const
inline

Definition at line 17 of file HFShowerLibraryEventInfo.h.

17 { return fEvents; }

References fEvents.

Member Data Documentation

◆ fBins

int HFShowerLibraryEventInfo::fBins
private

Definition at line 30 of file HFShowerLibraryEventInfo.h.

Referenced by numberOfBins().

◆ fEnergies

std::vector<double> HFShowerLibraryEventInfo::fEnergies
private

Definition at line 32 of file HFShowerLibraryEventInfo.h.

Referenced by energyBins().

◆ fEvents

int HFShowerLibraryEventInfo::fEvents
private

Definition at line 30 of file HFShowerLibraryEventInfo.h.

Referenced by totalEvents().

◆ fEventsPerBin

int HFShowerLibraryEventInfo::fEventsPerBin
private

Definition at line 30 of file HFShowerLibraryEventInfo.h.

Referenced by eventsPerBin().

◆ fHFShowerLibVers

float HFShowerLibraryEventInfo::fHFShowerLibVers
private

Definition at line 31 of file HFShowerLibraryEventInfo.h.

Referenced by showerLibraryVersion().

◆ fPhyListVers

float HFShowerLibraryEventInfo::fPhyListVers
private

Definition at line 31 of file HFShowerLibraryEventInfo.h.

Referenced by physListVersion().

HFShowerLibraryEventInfo::fHFShowerLibVers
float fHFShowerLibVers
Definition: HFShowerLibraryEventInfo.h:31
HFShowerLibraryEventInfo::fEventsPerBin
int fEventsPerBin
Definition: HFShowerLibraryEventInfo.h:30
patZpeak.events
events
Definition: patZpeak.py:20
HFShowerLibraryEventInfo::fEvents
int fEvents
Definition: HFShowerLibraryEventInfo.h:30
HFShowerLibraryEventInfo::physListVersion
float physListVersion() const
Definition: HFShowerLibraryEventInfo.h:25
HFShowerLibraryEventInfo::fPhyListVers
float fPhyListVers
Definition: HFShowerLibraryEventInfo.h:31
HFShowerLibraryEventInfo::fBins
int fBins
Definition: HFShowerLibraryEventInfo.h:30
HFShowerLibraryEventInfo::fEnergies
std::vector< double > fEnergies
Definition: HFShowerLibraryEventInfo.h:32
trigObjTnPSource_cfi.bins
bins
Definition: trigObjTnPSource_cfi.py:20
HFShowerLibraryEventInfo::eventsPerBin
int eventsPerBin() const
Definition: HFShowerLibraryEventInfo.h:21