CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_4_4_5_patch3/src/DQM/SiStripCommon/interface/UpdateTProfile.h

Go to the documentation of this file.
00001 #ifndef DQM_SiStripCommon_UpdateTProfile_H
00002 #define DQM_SiStripCommon_UpdateTProfile_H
00003 
00004 #include "boost/cstdint.hpp"
00005 
00006 class TProfile;
00007 
00009 class UpdateTProfile {
00010   
00011  public:
00012 
00013   UpdateTProfile();
00014   ~UpdateTProfile();
00015   
00016   static void setBinContents( TProfile* const profile,
00017                               const uint32_t& bin, 
00018                               const double& num_of_entries, 
00019                               const double& sum_of_contents,
00020                               const double& sum_of_squares );
00021   
00022   static void setBinContent( TProfile* const profile,
00023                              const uint32_t& bin, 
00024                              const double& entries, 
00025                              const double& mean,
00026                              const double& spread );
00027   
00028 };
00029 
00030 #endif // DQM_SiStripCommon_UpdateTProfile_H
00031