00001 #ifndef L1GCTVALIDATION_H 00002 #define L1GCTVALIDATION_H 00003 // -*- C++ -*- 00004 // 00005 // Package: L1GlobalCaloTrigger 00006 // Class: L1GctValidation 00007 // 00014 // 00015 // Author: Greg Heath 00016 // Date: February 2008 00017 // 00018 00019 00020 // system include files 00021 #include <memory> 00022 00023 // user include files 00024 #include "FWCore/Framework/interface/Frameworkfwd.h" 00025 #include "FWCore/Framework/interface/EDAnalyzer.h" 00026 00027 #include "FWCore/Framework/interface/Event.h" 00028 00029 #include "FWCore/ParameterSet/interface/ParameterSet.h" 00030 00031 #include "DataFormats/L1GlobalCaloTrigger/interface/L1GctCollections.h" 00032 #include "TH1.h" 00033 #include "TH2.h" 00034 // 00035 // class declaration 00036 // 00037 00038 class L1GctValidation : public edm::EDAnalyzer { 00039 public: 00040 explicit L1GctValidation(const edm::ParameterSet&); 00041 ~L1GctValidation(); 00042 00043 00044 private: 00045 virtual void beginJob(); 00046 virtual void analyze(const edm::Event&, const edm::EventSetup&); 00047 virtual void endJob() ; 00048 00049 // ----------member data --------------------------- 00050 00051 edm::InputTag m_gctinp_tag; 00052 edm::InputTag m_energy_tag; 00053 00054 TH1F* theSumEtInLsb; 00055 TH1F* theSumHtInLsb; 00056 TH1F* theMissEtInLsb; 00057 TH1F* theMissHtInLsb; 00058 TH1F* theSumEtInGeV; 00059 TH1F* theSumHtInGeV; 00060 TH1F* theMissEtInGeV; 00061 TH1F* theMissEtAngle; 00062 TH2F* theMissEtVector; 00063 TH1F* theMissHtInGeV; 00064 TH1F* theMissHtAngle; 00065 TH2F* theMissHtVector; 00066 00067 TH2F* theSumEtVsInputRegions; 00068 TH2F* theMissEtMagVsInputRegions; 00069 TH2F* theMissEtAngleVsInputRegions; 00070 TH2F* theMissHtMagVsInputRegions; 00071 00072 TH2F* theMissEtVsMissHt; 00073 TH2F* theMissEtVsMissHtAngle; 00074 TH2F* theDPhiVsMissEt; 00075 TH2F* theDPhiVsMissHt; 00076 00077 TH2F* theHtVsInternalJetsSum; 00078 TH2F* theMissHtVsInternalJetsSum; 00079 TH2F* theMissHtPhiVsInternalJetsSum; 00080 TH2F* theMissHxVsInternalJetsSum; 00081 TH2F* theMissHyVsInternalJetsSum; 00082 00083 TH1F* theHfRing0EtSumPositiveEta; 00084 TH1F* theHfRing0EtSumNegativeEta; 00085 TH1F* theHfRing1EtSumPositiveEta; 00086 TH1F* theHfRing1EtSumNegativeEta; 00087 TH1F* theHfRing0CountPositiveEta; 00088 TH1F* theHfRing0CountNegativeEta; 00089 TH1F* theHfRing1CountPositiveEta; 00090 TH1F* theHfRing1CountNegativeEta; 00091 00092 }; 00093 #endif