CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
FWRPZViewGeometry.h
Go to the documentation of this file.
1 #ifndef Fireworks_Core_FWRPZViewGeometry_h
2 #define Fireworks_Core_FWRPZViewGeometry_h
3 // -*- C++ -*-
4 //
5 // Package: Core
6 // Class : FWRPZViewGeometry
7 //
16 //
17 // Original Author: Alja Mrak-Tadel
18 // Created: Thu Mar 25 21:01:12 CET 2010
19 // $Id: FWRPZViewGeometry.h,v 1.10 2011/10/15 02:33:29 amraktad Exp $
20 //
21 
22 // system include files
23 
24 // user include files
25 #include "TEveElement.h"
29 
30 // forward declarations
31 class TGeoShape;
32 
34 {
35 public:
36  FWRPZViewGeometry(const fireworks::Context& context);
37  virtual ~FWRPZViewGeometry();
38 
39  // ---------- const member functions ---------------------
40 
41  // ---------- static member functions --------------------
42 
43  // ---------- member functions ---------------------------
45 
46  void showPixelBarrel( bool );
47  void showPixelEndcap( bool );
48  void showTrackerBarrel( bool );
49  void showTrackerEndcap( bool );
50 
51 private:
52  FWRPZViewGeometry(const FWRPZViewGeometry&); // stop default
53  const FWRPZViewGeometry& operator=(const FWRPZViewGeometry&); // stop default
54 
55  // ---------- member data --------------------------------
56 
57  TEveElement* makeMuonGeometryRhoPhi();
58  TEveElement* makeMuonGeometryRhoZ();
59  TEveElement* makeCaloOutlineRhoPhi();
60  TEveElement* makeCaloOutlineRhoZ();
61  void estimateProjectionSizeDT( const FWGeometry::GeomDetInfo& info, float&, float&, float&, float& );
62  void estimateProjectionSizeCSC( const FWGeometry::GeomDetInfo& info, float&, float&, float&, float& );
63  void estimateProjectionSize( const float*, float&, float&, float&, float& );
64 
65  void importNew(TEveElementList* x);
66 
67  TEveGeoShape* makeShape( double, double, double, double );
68 
69  TEveElementList* m_rhoPhiGeo;
70  TEveElementList* m_rhoZGeo;
71 
72 
73  TEveElementList* m_pixelBarrelElements;
74  TEveElementList* m_pixelEndcapElements;
75  TEveElementList* m_trackerBarrelElements;
76  TEveElementList* m_trackerEndcapElements;
77 };
78 
79 
80 #endif
TEveElementList * m_pixelBarrelElements
FWRPZViewGeometry(const fireworks::Context &context)
void estimateProjectionSizeDT(const FWGeometry::GeomDetInfo &info, float &, float &, float &, float &)
TEveElementList * m_rhoPhiGeo
TEveElement * makeCaloOutlineRhoPhi()
void estimateProjectionSizeCSC(const FWGeometry::GeomDetInfo &info, float &, float &, float &, float &)
TEveGeoShape * makeShape(double, double, double, double)
void initStdGeoElements(const FWViewType::EType id)
TEveElement * makeMuonGeometryRhoPhi()
void importNew(TEveElementList *x)
TEveElementList * m_trackerBarrelElements
void estimateProjectionSize(const float *, float &, float &, float &, float &)
TEveElementList * m_pixelEndcapElements
const FWRPZViewGeometry & operator=(const FWRPZViewGeometry &)
TEveElementList * m_rhoZGeo
TEveElement * makeCaloOutlineRhoZ()
void showTrackerBarrel(bool)
TEveElementList * m_trackerEndcapElements
TEveElement * makeMuonGeometryRhoZ()
void showTrackerEndcap(bool)
Definition: DDAxes.h:10
virtual ~FWRPZViewGeometry()