Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 #ifndef TRACKRECOMONITOR_TSOSHISTOGRAMMAKER_H
0002 #define TRACKRECOMONITOR_TSOSHISTOGRAMMAKER_H
0003 
0004 #include <vector>
0005 #include <string>
0006 #include "CommonTools/UtilAlgos/interface/DetIdSelector.h"
0007 #include "TrackingTools/TransientTrackingRecHit/interface/TransientTrackingRecHit.h"
0008 
0009 class TH1F;
0010 class TH2F;
0011 class TrajectoryStateOnSurface;
0012 namespace edm {
0013   class ParameterSet;
0014 }
0015 //class TransientTrackingRecHit { public: class ConstRecHitPointer;};
0016 class TSOSHistogramMaker {
0017 public:
0018   TSOSHistogramMaker();
0019   TSOSHistogramMaker(const edm::ParameterSet& iConfig);
0020   void fill(const TrajectoryStateOnSurface& tsos, TransientTrackingRecHit::ConstRecHitPointer hit) const;
0021 
0022 private:
0023   const bool m_2dhistos;
0024   std::vector<DetIdSelector> m_detsels;
0025   std::vector<std::string> m_selnames;
0026   std::vector<std::string> m_seltitles;
0027 
0028   std::vector<TH2F*> m_histocluslenangle;
0029   std::vector<TH1F*> m_tsosy;
0030   std::vector<TH1F*> m_tsosx;
0031   std::vector<TH2F*> m_tsosxy;
0032   std::vector<TH1F*> m_tsosprojx;
0033   std::vector<TH1F*> m_tsosprojy;
0034   std::vector<TH1F*> m_ttrhy;
0035   std::vector<TH1F*> m_ttrhx;
0036   std::vector<TH2F*> m_ttrhxy;
0037   std::vector<TH1F*> m_tsosdy;
0038   std::vector<TH1F*> m_tsosdx;
0039   std::vector<TH2F*> m_tsosdxdy;
0040 };
0041 
0042 #endif  // TRACKRECOMONITOR_TSOSHISTOGRAMMAKER_H