Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:08:58

0001 #ifndef DPGAnalysis_SiStripTools_MultiplicityCorrelatorHistogramMaker_H
0002 #define DPGAnalysis_SiStripTools_MultiplicityCorrelatorHistogramMaker_H
0003 
0004 #include "FWCore/Framework/interface/ConsumesCollector.h"
0005 #include "DPGAnalysis/SiStripTools/interface/RunHistogramManager.h"
0006 
0007 namespace edm {
0008   class ParameterSet;
0009   class Event;
0010   class Run;
0011 }  // namespace edm
0012 class TH1F;
0013 class TH2F;
0014 
0015 class MultiplicityCorrelatorHistogramMaker {
0016 public:
0017   MultiplicityCorrelatorHistogramMaker(edm::ConsumesCollector&& iC);
0018   MultiplicityCorrelatorHistogramMaker(const edm::ParameterSet& iConfig, edm::ConsumesCollector&& iC);
0019 
0020   ~MultiplicityCorrelatorHistogramMaker();
0021 
0022   void beginRun(const edm::Run& iRun);
0023   void fill(const edm::Event& iEvent, const int xmult, const int ymult);
0024 
0025 private:
0026   RunHistogramManager m_rhm;
0027   RunHistogramManager m_fhm;
0028   bool m_runHisto;
0029   bool m_runHistoBXProfile;
0030   bool m_runHistoBX;
0031   bool m_runHisto2D;
0032   bool m_runHistoProfileBX;
0033   double m_scfact;
0034   TH2F* m_yvsxmult;
0035   TH1F* m_atanyoverx;
0036   TH1F** m_atanyoverxrun;
0037   TProfile** m_atanyoverxvsbxrun;
0038   TH2F** m_atanyoverxvsbxrun2D;
0039   TH2F** m_yvsxmultrun;
0040   TProfile2D** m_yvsxmultprofvsbxrun;
0041   TProfile2D** m_xvsymultprofvsbxrun;
0042 };
0043 
0044 #endif  //  DPGAnalysis_SiStripTools_MultiplicityCorrelatorHistogramMaker_H