CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_10_patch1/src/DQM/Physics/src/EwkElecDQM.h

Go to the documentation of this file.
00001 #ifndef EwkElecDQM_H
00002 #define EwkElecDQM_H
00003 
00010 #include "FWCore/Framework/interface/Frameworkfwd.h"
00011 #include "FWCore/Framework/interface/MakerMacros.h"
00012 #include "HLTrigger/HLTcore/interface/HLTConfigProvider.h"
00013 
00014 #include "FWCore/Framework/interface/EDAnalyzer.h"
00015 #include "FWCore/Utilities/interface/InputTag.h"
00016 
00017 class DQMStore;
00018 class MonitorElement;
00019 class EwkElecDQM : public edm::EDAnalyzer {
00020 public:
00021   EwkElecDQM (const edm::ParameterSet &);
00022   virtual void analyze(const edm::Event&, const edm::EventSetup&);
00023   virtual void beginJob();
00024   virtual void endJob();
00025   virtual void beginRun(const edm::Run&, const edm::EventSetup&);
00026   virtual void endRun(const edm::Run&, const edm::EventSetup&);
00027 
00028   double calcDeltaPhi(double phi1, double phi2);
00029 
00030   void init_histograms();
00031 private:
00032 
00033   edm::InputTag trigTag_;
00034   //  edm::InputTag muonTag_;
00035   edm::InputTag elecTag_;
00036   edm::InputTag metTag_;
00037    bool metIncludesMuons_;
00038   edm::InputTag jetTag_;
00039   edm::InputTag vertexTag_;
00040 
00041   //  const std::string muonTrig_;
00042   const std::vector<std::string> elecTrig_;
00043   double ptCut_;
00044   double etaCut_;
00045 
00046   double sieieCutBarrel_;
00047   double sieieCutEndcap_;
00048   double detainCutBarrel_;
00049   double detainCutEndcap_;
00050 
00051   //  bool isRelativeIso_;
00052   //  bool isCombinedIso_;
00053 
00054   //  double isoCut03_;
00055   double ecalIsoCutBarrel_;
00056   double ecalIsoCutEndcap_;
00057   double hcalIsoCutBarrel_;
00058   double hcalIsoCutEndcap_;
00059   double trkIsoCutBarrel_;
00060   double trkIsoCutEndcap_;
00061    double mtMin_;
00062    double mtMax_;
00063    double metMin_;
00064    double metMax_;
00065   //  double acopCut_;
00066 
00067   //  double dxyCut_;
00068   //  double normalizedChi2Cut_;
00069   //  int trackerHitsCut_;
00070   //  bool isAlsoTrackerMuon_;
00071 
00072   //  double ptThrForZ1_;
00073   //  double ptThrForZ2_;
00074 
00075   double eJetMin_;
00076   int nJetMax_;
00077 
00078   // PU dependence
00079   unsigned int PUMax_, PUBinCount_;
00080 
00081   bool isValidHltConfig_;
00082   HLTConfigProvider  hltConfigProvider_;
00083 
00084   unsigned int nall;
00085   unsigned int nrec;
00086   unsigned int neid;
00087   unsigned int niso;
00088 /*   unsigned int nhlt; */
00089 /*   unsigned int nmet; */
00090   unsigned int nsel;
00091 
00092   //  unsigned int nRecoElectrons;
00093   unsigned int nGoodElectrons;
00094 
00095   DQMStore* theDbe;
00096 
00097   MonitorElement* pt_before_;
00098   MonitorElement* pt_after_;
00099 
00100   MonitorElement* eta_before_;
00101   MonitorElement* eta_after_;
00102 
00103   MonitorElement* sieiebarrel_before_;
00104   MonitorElement* sieiebarrel_after_;
00105 
00106   MonitorElement* sieieendcap_before_;
00107   MonitorElement* sieieendcap_after_;
00108 
00109   MonitorElement* detainbarrel_before_;
00110   MonitorElement* detainbarrel_after_;
00111 
00112   MonitorElement* detainendcap_before_;
00113   MonitorElement* detainendcap_after_;
00114 
00115 /*   MonitorElement* dxy_before_; */
00116 /*   MonitorElement* dxy_after_; */
00117 
00118 /*   MonitorElement* chi2_before_; */
00119 /*   MonitorElement* chi2_after_; */
00120 
00121 /*   MonitorElement* nhits_before_; */
00122 /*   MonitorElement* nhits_after_; */
00123 
00124 /*   MonitorElement* tkmu_before_; */
00125 /*   MonitorElement* tkmu_after_; */
00126 
00127   MonitorElement* ecalisobarrel_before_;
00128   MonitorElement* ecalisobarrel_after_;
00129 
00130   MonitorElement* ecalisoendcap_before_;
00131   MonitorElement* ecalisoendcap_after_;
00132 
00133   MonitorElement* hcalisobarrel_before_;
00134   MonitorElement* hcalisobarrel_after_;
00135 
00136   MonitorElement* hcalisoendcap_before_;
00137   MonitorElement* hcalisoendcap_after_;
00138 
00139   MonitorElement* trkisobarrel_before_;
00140   MonitorElement* trkisobarrel_after_;
00141 
00142   MonitorElement* trkisoendcap_before_;
00143   MonitorElement* trkisoendcap_after_;
00144 
00145   MonitorElement* trig_before_;
00146   MonitorElement* trig_after_;
00147 
00148   MonitorElement* invmass_before_;
00149   MonitorElement* invmass_after_;
00150   MonitorElement* invmassPU_before_;
00151   MonitorElement* invmassPU_afterZ_;
00152 
00153   MonitorElement* npvs_before_;
00154   //MonitorElement* npvs_afterW_;
00155   MonitorElement* npvs_afterZ_;
00156 
00157   MonitorElement* nelectrons_before_;
00158   MonitorElement* nelectrons_after_;
00159 
00160   MonitorElement* mt_before_;
00161   MonitorElement* mt_after_;
00162 
00163   MonitorElement* met_before_;
00164   MonitorElement* met_after_;
00165 
00166 /*   MonitorElement* acop_before_; */
00167 /*   MonitorElement* acop_after_; */
00168 
00169 /*   MonitorElement* nz1_before_; */
00170 /*   MonitorElement* nz1_after_; */
00171 
00172 /*   MonitorElement* nz2_before_; */
00173 /*   MonitorElement* nz2_after_; */
00174 
00175   MonitorElement* njets_before_;
00176   MonitorElement* njets_after_; 
00177   MonitorElement* jet_et_before_;
00178   MonitorElement* jet_et_after_;
00179   MonitorElement* jet_eta_before_;
00180   MonitorElement* jet_eta_after_; 
00181 /*   MonitorElement* jet2_et_before_; */
00182 /*   MonitorElement* jet2_et_after_; */
00183 
00184 };
00185 
00186 
00187 #endif