CMS 3D CMS Logo

/data/doxygen/doxygen-1.7.3/gen/CMSSW_4_2_8/src/DQMOffline/Muon/src/SegmentTrackAnalyzer.h

Go to the documentation of this file.
00001 #ifndef SegmentTrackAnalyzer_H
00002 #define SegmentTrackAnalyzer_H
00003 
00004 
00015 #include <memory>
00016 #include <fstream>
00017 #include "FWCore/Framework/interface/Frameworkfwd.h"
00018 #include "DQMOffline/Muon/src/MuonAnalyzerBase.h"
00019 #include "FWCore/Framework/interface/Event.h"
00020 #include "FWCore/Framework/interface/MakerMacros.h"
00021 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00022 #include "FWCore/ServiceRegistry/interface/Service.h"
00023 #include "DQMServices/Core/interface/DQMStore.h"
00024 #include "DQMServices/Core/interface/MonitorElement.h"
00025 #include "RecoMuon/TrackingTools/interface/MuonServiceProxy.h"
00026 #include "RecoMuon/TrackingTools/interface/SegmentsTrackAssociator.h"
00027 
00028 
00029 class SegmentTrackAnalyzer : public MuonAnalyzerBase {
00030  public:
00031 
00033   SegmentTrackAnalyzer(const edm::ParameterSet&, MuonServiceProxy *theService);
00034   
00036   virtual ~SegmentTrackAnalyzer();
00037   
00039   void beginJob(DQMStore *dbe);
00040 
00042   void analyze(const edm::Event&, const edm::EventSetup&, const reco::Track& recoTrack);
00043 
00044 
00045  private:
00046   // ----------member data ---------------------------
00047   
00048   edm::ParameterSet parameters;
00049   // Switch for verbosity
00050   std::string metname;
00051   // Find the segments associated to the track
00052   SegmentsTrackAssociator* theSegmentsAssociator;
00053 
00054   // the histos
00055   MonitorElement* hitsNotUsed;
00056   MonitorElement* hitsNotUsedPercentual;
00057   MonitorElement* TrackSegm;
00058   MonitorElement* hitStaProvenance;
00059   MonitorElement* hitTkrProvenance;
00060   MonitorElement* trackHitPercentualVsEta;
00061   MonitorElement* trackHitPercentualVsPhi;
00062   MonitorElement* trackHitPercentualVsPt;
00063   MonitorElement* dtTrackHitPercentualVsEta;
00064   MonitorElement* dtTrackHitPercentualVsPhi;
00065   MonitorElement* dtTrackHitPercentualVsPt;
00066   MonitorElement* cscTrackHitPercentualVsEta;
00067   MonitorElement* cscTrackHitPercentualVsPhi;
00068   MonitorElement* cscTrackHitPercentualVsPt;
00069 
00070  };
00071 #endif