CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_6_2_7/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 
00027 class DiMuonHistograms : public MuonAnalyzerBase {
00028   
00029  public:
00030   /* Constructor */ 
00031   DiMuonHistograms(const edm::ParameterSet& pset, MuonServiceProxy *theService);
00032   
00033   /* Destructor */ 
00034   virtual ~DiMuonHistograms() ;
00035 
00036   /* Operations */ 
00037   void beginJob (DQMStore *dbe);
00038   void analyze(const edm::Event & event, const edm::EventSetup& eventSetup);
00039 
00040    protected:
00041   edm::ParameterSet parameters;
00042   
00043   // Switch for verbosity
00044   std::string metname;
00045   
00046   // STA Label
00047   edm::InputTag theSTACollectionLabel;
00048   edm::InputTag theMuonCollectionLabel;
00049   edm::InputTag bsTag;
00050   edm::InputTag vertexTag;
00051 
00052   //histo binning parameters
00053   int etaBin;
00054   int etaBBin;
00055   int etaEBin;
00056   int etaOvlpBin;
00057 
00058   //Defining relevant eta regions
00059   std::string EtaName;
00060 
00061   double EtaCutMin;
00062   double EtaCutMax;
00063   double etaBMin;
00064   double etaBMax;
00065   double etaECMin;
00066   double etaECMax;
00067 
00068   //Defining the relevant invariant mass regions
00069   double LowMassMin;
00070   double LowMassMax;
00071   double HighMassMin;
00072   double HighMassMax;
00073   
00074   std::vector<MonitorElement*> GlbGlbMuon_LM;
00075   std::vector<MonitorElement*> GlbGlbMuon_HM;
00076   std::vector<MonitorElement*> StaTrkMuon_LM;
00077   std::vector<MonitorElement*> StaTrkMuon_HM;
00078   std::vector<MonitorElement*> TrkTrkMuon_LM;
00079   std::vector<MonitorElement*> TrkTrkMuon_HM;
00080 
00081   std::vector<MonitorElement*> TightTightMuon;
00082   std::vector<MonitorElement*> SoftSoftMuon;
00083   
00084 };
00085 #endif 
00086