Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2023-03-17 11:10:58

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 
0011 #include "FWCore/ParameterSet/interface/ParameterSet.h"
0012 #include "FWCore/ServiceRegistry/interface/Service.h"
0013 #include "CommonTools/UtilAlgos/interface/TFileService.h"
0014 
0015 #include "L1Trigger/CSCTrackFinder/test/src/TFTrack.h"
0016 #include "L1Trigger/CSCTrackFinder/test/src/RefTrack.h"
0017 
0018 namespace csctf_analysis {
0019   class ResolutionHistogramList {
0020   public:
0021     ResolutionHistogramList(const std::string dirname, const edm::ParameterSet *parameters);
0022 
0023     TH1F *PtQ1Res, *PtQ2Res, *PtQ3Res;
0024     TH1F *PhiQ1Res, *PhiQ2Res, *PhiQ3Res;
0025     TH1F *EtaQ1Res, *EtaQ2Res, *EtaQ3Res;
0026 
0027     TH1F *PtQ2ResGolden, *PhiQ2ResGolden;
0028     TH1F *PtQ2ResHighEta, *PhiQ2ResHighEta;
0029     TH1F *PtQ2ResOverlap, *PhiQ2ResOverlap;
0030 
0031     void FillResolutionHist(RefTrack refTrk, TFTrack tfTrk);
0032     void Print();
0033 
0034   private:
0035     edm::Service<TFileService> fs;
0036   };
0037 }  // namespace csctf_analysis
0038 #endif