Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:09:22

0001 #ifndef PhotonDataCertification_H
0002 #define PhotonDataCertification_H
0003 
0004 // system include files
0005 #include <memory>
0006 
0007 #include "CommonTools/UtilAlgos/interface/TFileService.h"
0008 //
0009 #include "FWCore/Framework/interface/MakerMacros.h"
0010 #include "FWCore/MessageLogger/interface/MessageLogger.h"
0011 #include "FWCore/Utilities/interface/Exception.h"
0012 
0013 //root include files
0014 #include "TFile.h"
0015 #include "TH1.h"
0016 #include "TH2.h"
0017 #include "TTree.h"
0018 #include "TVector3.h"
0019 #include "TProfile.h"
0020 //
0021 
0022 // user include files
0023 #include "FWCore/Framework/interface/Frameworkfwd.h"
0024 #include "FWCore/Framework/interface/Event.h"
0025 #include "FWCore/ParameterSet/interface/ParameterSet.h"
0026 
0027 //DQM services
0028 #include "DQMServices/Core/interface/DQMEDHarvester.h"
0029 #include "DQMServices/Core/interface/DQMStore.h"
0030 #include "FWCore/ServiceRegistry/interface/Service.h"
0031 
0032 // forward declarations
0033 class TFile;
0034 class TH1F;
0035 class TH2F;
0036 class TProfile;
0037 class TTree;
0038 
0039 //
0040 // class decleration
0041 //
0042 
0043 class PhotonDataCertification : public DQMEDHarvester {
0044 public:
0045   explicit PhotonDataCertification(const edm::ParameterSet& pset);
0046   ~PhotonDataCertification() override;
0047 
0048   void dqmEndJob(DQMStore::IBooker&, DQMStore::IGetter&) override;  //performed in the endJob
0049 
0050 private:
0051   edm::ParameterSet parameters_;
0052 
0053   bool verbose_;
0054   MonitorElement* reportSummary_;
0055   MonitorElement* reportSummaryMap_;
0056   float invMassZtest(std::string path, TString name, DQMStore::IGetter&);
0057 
0058   // ----------member data ---------------------------
0059 };
0060 
0061 #endif