CMS 3D CMS Logo

/data/doxygen/doxygen-1.7.3/gen/CMSSW_4_2_8/src/DQM/Physics/src/EwkDQM.h

Go to the documentation of this file.
00001 #ifndef EwkDQM_H
00002 #define EwkDQM_H
00003 
00004 
00015 #include "FWCore/Framework/interface/Frameworkfwd.h"
00016 #include "FWCore/Framework/interface/EDAnalyzer.h"
00017 
00018 // Trigger stuff
00019 #include "DataFormats/Common/interface/TriggerResults.h"
00020 #include "HLTrigger/HLTcore/interface/HLTConfigProvider.h"
00021 
00022 #include "DataFormats/EgammaCandidates/interface/Electron.h"
00023 
00024 class DQMStore;
00025 class MonitorElement;
00026 
00027 class EwkDQM : public edm::EDAnalyzer {
00028  public:
00029 
00031   EwkDQM(const edm::ParameterSet&);
00032   
00034   virtual ~EwkDQM();
00035   
00037   void beginJob();
00038 
00040   void beginRun( const edm::Run& , const edm::EventSetup& );
00041 
00043   void analyze(const edm::Event&, const edm::EventSetup&);
00044 
00046   void endJob(void);
00047 
00048   double calcDeltaPhi(double phi1, double phi2);
00049 
00050  private:
00051 
00052   // ----------member data ---------------------------
00053   
00054   DQMStore* theDbe;
00055   // Switch for verbosity
00056   std::string logTraceName;
00057 
00058   HLTConfigProvider hltConfigProvider_;
00059   bool isValidHltConfig_;
00060 
00061 
00062   // Variables from config file
00063   std::string   theElecTriggerPathToPass;
00064   std::string   theMuonTriggerPathToPass;
00065   edm::InputTag theTriggerResultsCollection;
00066   edm::InputTag theMuonCollectionLabel;
00067   edm::InputTag theElectronCollectionLabel;
00068   edm::InputTag theCaloJetCollectionLabel;
00069   edm::InputTag theCaloMETCollectionLabel;
00070 
00071   // Histograms
00072   MonitorElement* h_vertex_number;
00073   MonitorElement* h_vertex_chi2;
00074   MonitorElement* h_vertex_d0;
00075   MonitorElement* h_vertex_numTrks;
00076   MonitorElement* h_vertex_sumTrks;
00077   MonitorElement* h_mumu_invMass;
00078   MonitorElement* h_ee_invMass;
00079   MonitorElement* h_jet_et;
00080   MonitorElement* h_jet2_et;
00081   MonitorElement* h_jet_count;
00082 //WCP: Adding a Histo
00083   MonitorElement* h_e1_et;
00084   MonitorElement* h_e2_et;
00085   MonitorElement* h_e1_eta;
00086   MonitorElement* h_e2_eta;
00087   MonitorElement* h_e1_phi;
00088   MonitorElement* h_e2_phi;
00089   MonitorElement* h_m1_pt;
00090   MonitorElement* h_m2_pt;
00091   MonitorElement* h_m1_eta;
00092   MonitorElement* h_m2_eta;
00093   MonitorElement* h_m1_phi;
00094   MonitorElement* h_m2_phi;
00095   MonitorElement* h_t1_et;
00096   MonitorElement* h_t1_eta;
00097   MonitorElement* h_t1_phi;
00098   MonitorElement* h_met;
00099   MonitorElement* h_met_phi;
00100   MonitorElement* h_e_invWMass;
00101   MonitorElement* h_m_invWMass;
00102 };
00103 #endif