CMS 3D CMS Logo

HFShowerLibraryEventInfo.h

Go to the documentation of this file.
00001 #ifndef SimDataFormats_HFShowerLibraryEventInfo_h
00002 #define SimDataFormats_HFShowerLibraryEventInfo_h
00003 
00004 #include <vector>
00005 
00006 class HFShowerLibraryEventInfo {
00007 
00008 public:
00009 
00010   HFShowerLibraryEventInfo() { }
00011   HFShowerLibraryEventInfo(int events, int bins, int eventsPerBin,
00012                            float libraryVersion, float physListVersion, 
00013                            std::vector<double> en);
00014     
00015   // total number of events 
00016   int totalEvents()                const { return fEvents; }
00017   // number of bins 
00018   int numberOfBins()               const { return fBins; }
00019   // number of events per bin
00020   int eventsPerBin()               const { return fEventsPerBin; }
00021   // hf shower library version
00022   float showerLibraryVersion()     const { return fHFShowerLibVers; }
00023   // physics list version
00024   float physListVersion()          const { return fPhyListVers; }
00025   // energy bins
00026   std::vector<double> energyBins() const { return fEnergies; }
00027     
00028 private:
00029 
00030   int                     fEvents, fBins, fEventsPerBin;
00031   float                   fHFShowerLibVers, fPhyListVers;
00032   std::vector<double>     fEnergies;
00033 };
00034 
00035 #endif

Generated on Tue Jun 9 17:46:31 2009 for CMSSW by  doxygen 1.5.4