Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:21:48

0001 
0002 #ifndef jhugon_ResolutionHistogramList_h
0003 #define jhugon_ResolutionHistogramList_h
0004 
0005 // system include files
0006 #include <vector>
0007 #include <string>
0008 
0009 // user include files
0010 #include "FWCore/Framework/interface/Frameworkfwd.h"
0011 #include "FWCore/Framework/interface/EDAnalyzer.h"
0012 
0013 #include "FWCore/Framework/interface/Event.h"
0014 #include "FWCore/Framework/interface/MakerMacros.h"
0015 
0016 #include "FWCore/ParameterSet/interface/ParameterSet.h"
0017 #include "FWCore/ServiceRegistry/interface/Service.h"
0018 #include "CommonTools/UtilAlgos/interface/TFileService.h"
0019 
0020 #include <TCanvas.h>
0021 
0022 #include <TStyle.h>
0023 #include <TLegend.h>
0024 #include <TF1.h>
0025 #include <TH2.h>
0026 
0027 #include "L1Trigger/CSCTrackFinder/test/src/TFTrack.h"
0028 #include "L1Trigger/CSCTrackFinder/test/src/RefTrack.h"
0029 
0030 namespace csctf_analysis
0031 {
0032   class  ResolutionHistogramList
0033   {
0034     public:
0035     ResolutionHistogramList(const std::string dirname, const edm::ParameterSet* parameters);
0036 
0037     TH1F* PtQ1Res, *PtQ2Res, *PtQ3Res;
0038     TH1F* PhiQ1Res, *PhiQ2Res, *PhiQ3Res;
0039     TH1F* EtaQ1Res, *EtaQ2Res, *EtaQ3Res;
0040 
0041     TH1F* PtQ2ResGolden, *PhiQ2ResGolden;
0042     TH1F* PtQ2ResHighEta, *PhiQ2ResHighEta;
0043     TH1F* PtQ2ResOverlap, *PhiQ2ResOverlap;
0044 
0045     void FillResolutionHist( RefTrack refTrk, TFTrack tfTrk );
0046     void Print();
0047 
0048 
0049   private:
0050     edm::Service<TFileService> fs;
0051   };
0052 }
0053 #endif