CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_3/src/DQMOffline/Muon/src/DiMuonHistograms.h

Go to the documentation of this file.
00001 #ifndef DIMUONHISTOGRAMS_H
00002 #define DIMUONHISTOGRAMS_H
00003 
00011 /* Base Class Headers */
00012 #include <memory>
00013 #include <fstream>
00014 #include "FWCore/Framework/interface/Frameworkfwd.h"
00015 #include "DQMOffline/Muon/src/MuonAnalyzerBase.h"
00016 #include "FWCore/Framework/interface/Event.h"
00017 #include "FWCore/Framework/interface/EDAnalyzer.h"
00018 #include "FWCore/Framework/interface/MakerMacros.h"
00019 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00020 #include "FWCore/Utilities/interface/InputTag.h"
00021 #include "FWCore/ServiceRegistry/interface/Service.h"
00022 #include "DQMServices/Core/interface/DQMStore.h"
00023 #include "DQMServices/Core/interface/MonitorElement.h"
00024 #include "RecoMuon/TrackingTools/interface/MuonServiceProxy.h"
00025 
00026 class DiMuonHistograms : public MuonAnalyzerBase {
00027   
00028  public:
00029   /* Constructor */ 
00030   DiMuonHistograms(const edm::ParameterSet& pset, MuonServiceProxy *theService);
00031   
00032   /* Destructor */ 
00033   virtual ~DiMuonHistograms() ;
00034 
00035   /* Operations */ 
00036   void beginJob (DQMStore *dbe);
00037   void analyze(const edm::Event & event, const edm::EventSetup& eventSetup);
00038   
00039  protected:
00040   edm::ParameterSet parameters;
00041   
00042   // Switch for verbosity
00043   std::string metname;
00044   
00045   // STA Label
00046   edm::InputTag theSTACollectionLabel;
00047   edm::InputTag theMuonCollectionLabel;
00048 
00049   //histo binning parameters
00050   int etaBin;
00051   int etaBBin;
00052   int etaEBin;
00053   int etaOvlpBin;
00054 
00055   //Defining relevant eta regions
00056   std::string EtaName;
00057 
00058   double EtaCutMin;
00059   double EtaCutMax;
00060   double etaBMin;
00061   double etaBMax;
00062   double etaECMin;
00063   double etaECMax;
00064 
00065   //Defining the relevant invariant mass regions
00066   double LowMassMin;
00067   double LowMassMax;
00068   double HighMassMin;
00069   double HighMassMax;
00070   
00071   std::vector<MonitorElement*> GlbGlbMuon_LM;
00072   std::vector<MonitorElement*> GlbGlbMuon_HM;
00073   std::vector<MonitorElement*> StaTrkMuon_LM;
00074   std::vector<MonitorElement*> StaTrkMuon_HM;
00075   std::vector<MonitorElement*> TrkTrkMuon_LM;
00076   std::vector<MonitorElement*> TrkTrkMuon_HM;
00077 
00078   std::vector<MonitorElement*> TightTightMuon;
00079   std::vector<MonitorElement*> SoftSoftMuon;
00080   
00081 };
00082 #endif 
00083