CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_10_patch1/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::vector<std::string>   theElecTriggerPathToPass_;
00064   std::vector<std::string>   theMuonTriggerPathToPass_;
00065   //std::vector<std::string> eleTrigPathNames_;
00066   //std::vector<std::string> muTrigPathNames_;
00067   edm::InputTag theTriggerResultsCollection_;
00068   edm::InputTag theMuonCollectionLabel_;
00069   edm::InputTag theElectronCollectionLabel_;
00070   //edm::InputTag theCaloJetCollectionLabel;
00071   edm::InputTag thePFJetCollectionLabel_;
00072   edm::InputTag theCaloMETCollectionLabel_;
00073 
00074   double eJetMin_;
00075 
00076   // Histograms
00077   MonitorElement* h_vertex_number;
00078   MonitorElement* h_vertex_chi2;
00079   MonitorElement* h_vertex_numTrks;
00080   MonitorElement* h_vertex_sumTrks;
00081   MonitorElement* h_vertex_d0;
00082 
00083   MonitorElement* h_jet_count;
00084   MonitorElement* h_jet_et;
00085   MonitorElement* h_jet_pt;
00086   MonitorElement* h_jet_eta;
00087   MonitorElement* h_jet_phi;
00088 
00089   MonitorElement* h_jet2_et;
00090   //MonitorElement* h_jet2_pt;
00091   MonitorElement* h_jet2_eta;
00092   MonitorElement* h_jet2_phi;
00093 
00094   MonitorElement* h_e1_et;
00095   MonitorElement* h_e2_et;
00096   MonitorElement* h_e1_eta;
00097   MonitorElement* h_e2_eta;
00098   MonitorElement* h_e1_phi;
00099   MonitorElement* h_e2_phi;
00100 
00101   MonitorElement* h_m1_pt;
00102   MonitorElement* h_m2_pt;
00103   MonitorElement* h_m1_eta;
00104   MonitorElement* h_m2_eta;
00105   MonitorElement* h_m1_phi;
00106   MonitorElement* h_m2_phi;
00107 
00108   //MonitorElement* h_t1_et;
00109   //MonitorElement* h_t1_eta;
00110   //MonitorElement* h_t1_phi;
00111 
00112   MonitorElement* h_met;
00113   MonitorElement* h_met_phi;
00114 
00115   MonitorElement* h_e_invWMass;
00116   MonitorElement* h_m_invWMass;
00117   MonitorElement* h_mumu_invMass;
00118   MonitorElement* h_ee_invMass;
00119 };
00120 #endif