Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:11:41

0001 #include <cstdint>
0002 #ifndef DQM_SiStripCommon_UpdateTProfile_H
0003 #define DQM_SiStripCommon_UpdateTProfile_H
0004 
0005 class TProfile;
0006 
0007 /** */
0008 class UpdateTProfile {
0009 public:
0010   UpdateTProfile();
0011   ~UpdateTProfile();
0012 
0013   static void setBinContents(TProfile* const profile,
0014                              const uint32_t& bin,
0015                              const double& num_of_entries,
0016                              const double& sum_of_contents,
0017                              const double& sum_of_squares);
0018 
0019   static void setBinContent(
0020       TProfile* const profile, const uint32_t& bin, const double& entries, const double& mean, const double& spread);
0021 };
0022 
0023 #endif  // DQM_SiStripCommon_UpdateTProfile_H