CMS 3D CMS Logo

VisCuTrackerDigi.h

Go to the documentation of this file.
00001 #ifndef VIS_CUSTOMTRACKER_VIS_CU_TRACKER_DIGI_H
00002 #define VIS_CUSTOMTRACKER_VIS_CU_TRACKER_DIGI_H
00003 
00004 #include "VisReco/VisCustomTracker/interface/VisCuCmsTracker.h"
00005 #include "FWCore/Framework/interface/ESHandle.h"
00006 #include "FWCore/Framework/interface/Event.h"
00007 #include "Geometry/CommonDetUnit/interface/TrackingGeometry.h"
00008 #include "Geometry/TrackerGeometryBuilder/interface/PixelGeomDetUnit.h"
00009 #include "Geometry/TrackerTopology/interface/RectangularPixelTopology.h"
00010 #include "VisReco/VisRecoGeometry/interface/VisTrackingGeometry.h"
00011 #include <vector>
00012 
00013 class PixelDigi;
00014 class SiStripDigi;
00015 class SoSeparator;
00016 class SoCube;
00017 class SoTransform;
00018 class TrackerGeometry;
00019 class QPainter;
00020 class VisCuTkModule;
00021 class VisCuTkMap2D;
00022 
00023 class VisCuTrackerDigi : public VisTrackingGeometry
00024 {
00025  public:
00026   VisCuTrackerDigi ();
00027   void setEvent (const edm::Event &event, const edm::EventSetup &eventSetup);
00028   SoSeparator * update (VisTrackingGeometry::DetectorRep type);
00029   void setTracker(VisCuCmsTracker * tr){tracker=tr;};
00030   void drawdigi(VisCuTkModule * mod,int nlay,QPainter *p);
00031   void setMap(VisCuTkMap2D * m){map=m;};
00032   std::string  updatetext(VisCuTkModule * mod);
00033   
00034  private:
00035   bool firsteventloaded, horizontal_view;
00036   VisCuCmsTracker * tracker;
00037   VisCuTkMap2D * map;
00038 
00039   std::vector<PixelDigi> mdigi;
00040   std::vector<SiStripDigi> sdigi;
00041   edm::ESHandle<TrackerGeometry> m_pDD;
00042   std::string stripdigiProducerName,stripdigiLabelName;
00043   std::string pixeldigiProducerName,pixeldigiLabelName;
00044 };
00045 #endif // VIS_CUSTOMTRACKER_VIS_CU_TRACKER_DIGI_H

Generated on Tue Jun 9 17:50:12 2009 for CMSSW by  doxygen 1.5.4