Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 #ifndef jhugon_StatisticsFile_h
0002 #define jhugon_StatisticsFile_h
0003 
0004 // system include files
0005 #include <vector>
0006 #include <string>
0007 #include <iostream>
0008 #include <fstream>
0009 
0010 // user include files
0011 #include "FWCore/Framework/interface/Frameworkfwd.h"
0012 #include "FWCore/Framework/interface/EDAnalyzer.h"
0013 
0014 #include "FWCore/Framework/interface/Event.h"
0015 #include "FWCore/Framework/interface/MakerMacros.h"
0016 
0017 #include "FWCore/ParameterSet/interface/ParameterSet.h"
0018 #include "FWCore/ServiceRegistry/interface/Service.h"
0019 #include "CommonTools/UtilAlgos/interface/TFileService.h"
0020 
0021 #include <TCanvas.h>
0022 
0023 #include <TStyle.h>
0024 #include <TLegend.h>
0025 #include <TF1.h>
0026 #include <TH2.h>
0027 
0028 #include "L1Trigger/CSCTrackFinder/test/src/TFTrack.h"
0029 #include "L1Trigger/CSCTrackFinder/test/src/RefTrack.h"
0030 #include "L1Trigger/CSCTrackFinder/test/src/TrackHistogramList.h"
0031 
0032 
0033 namespace csctf_analysis
0034 {
0035   class  StatisticsFile
0036   {
0037     public:
0038     StatisticsFile();
0039     StatisticsFile(const std::string);
0040     ~StatisticsFile( );
0041 
0042     void Create( const std::string );
0043     void Close() { statFileOut.close(); }
0044 
0045     void WriteStatistics( TrackHistogramList tfHistList, TrackHistogramList refHistList);
0046 
0047 
0048     ofstream statFileOut;
0049     
0050 
0051     
0052 
0053 
0054   private:
0055     
0056   };
0057 }
0058 #endif
0059 
0060 
0061