Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 
0002 #ifndef jhugon_RHistogram_h
0003 #define jhugon_RHistogram_h
0004 // system include files
0005 #include <vector>
0006 #include <string>
0007 
0008 #include "FWCore/ServiceRegistry/interface/Service.h"
0009 #include "CommonTools/UtilAlgos/interface/TFileService.h"
0010 
0011 #include <L1Trigger/CSCTrackFinder/test/src/Track.h>
0012 #include <L1Trigger/CSCTrackFinder/test/src/TFTrack.h>
0013 
0014 #include <TH1.h>
0015 #include <TH2.h>
0016 
0017 namespace csctf_analysis
0018 {
0019   class RHistogram
0020   {
0021     public:
0022     RHistogram(std::string histPrefix);
0023     void fillR(TFTrack track1, TFTrack track2);
0024 
0025     private:
0026     std::string m_histPrefix;
0027 
0028     edm::Service<TFileService> m_fs;
0029 
0030     TH1F* m_histR;
0031     TH2F* m_histRvEtaHigh;
0032     TH2F* m_histRvEtaLow;
0033     TH2F* m_histRvPhiHigh;
0034     TH2F* m_histRvPhiLow;
0035     TH2F* m_histRvPtHigh;
0036     TH2F* m_histRvPtLow;
0037   };
0038 }
0039 #endif