CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_10_patch1/src/Validation/RPCRecHits/interface/RPCValidHistograms.h

Go to the documentation of this file.
00001 #ifndef Validation_RPCRecHits_RPCValidHistograms_H
00002 #define Validation_RPCRecHits_RPCValidHistograms_H
00003 
00004 #include "DQMServices/Core/interface/MonitorElement.h"
00005 #include "FWCore/MessageLogger/interface/MessageLogger.h"
00006 #include "DQMServices/Core/interface/DQMStore.h"
00007 
00008 #include <string>
00009 
00010 struct RPCValidHistograms
00011 {
00012   typedef MonitorElement* MEP;
00013 
00014   RPCValidHistograms()
00015   {
00016     booked_ = false;
00017   };
00018 
00019   void bookHistograms(DQMStore* dbe, const std::string subDir);
00020 
00021   // Hit properties
00022   MEP clusterSize, clusterSizeBarrel, clusterSizeEndcap;
00023   MEP avgClusterSize, avgClusterSizeBarrel, avgClusterSizeEndcap;
00024 
00025   MEP nRefHitBarrel, nRefHitEndcap;
00026   MEP nRecHitBarrel, nRecHitEndcap;
00027   MEP nMatchHitBarrel, nMatchHitEndcap;
00028 
00029   // Occupancy 1D
00030   MEP refHitOccupancyBarrel_wheel, refHitOccupancyEndcap_disk, refHitOccupancyBarrel_station;
00031   MEP recHitOccupancyBarrel_wheel, recHitOccupancyEndcap_disk, recHitOccupancyBarrel_station;
00032   MEP matchOccupancyBarrel_wheel, matchOccupancyEndcap_disk, matchOccupancyBarrel_station;
00033   MEP umOccupancyBarrel_wheel, umOccupancyEndcap_disk, umOccupancyBarrel_station;
00034 
00035   // Occupancy 2D
00036   MEP refHitOccupancyBarrel_wheel_station, refHitOccupancyEndcap_disk_ring;
00037   MEP recHitOccupancyBarrel_wheel_station, recHitOccupancyEndcap_disk_ring;
00038   MEP matchOccupancyBarrel_wheel_station, matchOccupancyEndcap_disk_ring;
00039   MEP umOccupancyBarrel_wheel_station, umOccupancyEndcap_disk_ring;
00040 
00041   // Residuals
00042   MEP resBarrel, resEndcap;
00043   MEP res_wheel_res, res_disk_res, res_station_res, res_ring_res;
00044   
00045   // Pulls
00046   MEP pullBarrel, pullEndcap;
00047   MEP pull_wheel_pull, pull_disk_pull, pull_station_pull, pull_ring_pull;
00048 
00049 private:
00050   bool booked_;
00051 };
00052 
00053 #endif
00054