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 //
20 
21 // system include files
22 
23 // user include files
24 #include "TEveElement.h"
28 
29 // forward declarations
30 class TGeoShape;
31 
33 {
34 public:
35  FWRPZViewGeometry(const fireworks::Context& context);
36  virtual ~FWRPZViewGeometry();
37 
38  // ---------- const member functions ---------------------
39 
40  // ---------- static member functions --------------------
41 
42  // ---------- member functions ---------------------------
44 
45  void showPixelBarrel( bool );
46  void showPixelEndcap( bool );
47  void showTrackerBarrel( bool );
48  void showTrackerEndcap( bool );
49 
50 private:
51  FWRPZViewGeometry(const FWRPZViewGeometry&); // stop default
52  const FWRPZViewGeometry& operator=(const FWRPZViewGeometry&); // stop default
53 
54  // ---------- member data --------------------------------
55 
56  TEveElement* makeMuonGeometryRhoPhi();
57  TEveElement* makeMuonGeometryRhoZ();
58  TEveElement* makeCaloOutlineRhoPhi();
59  TEveElement* makeCaloOutlineRhoZ();
60  void estimateProjectionSizeDT( const FWGeometry::GeomDetInfo& info, float&, float&, float&, float& );
61  void estimateProjectionSizeCSC( const FWGeometry::GeomDetInfo& info, float&, float&, float&, float& );
62  void estimateProjectionSize( const float*, float&, float&, float&, float& );
63 
64  void importNew(TEveElementList* x);
65 
66  TEveGeoShape* makeShape( double, double, double, double );
67 
68  TEveElementList* m_rhoPhiGeo;
69  TEveElementList* m_rhoZGeo;
70 
71 
72  TEveElementList* m_pixelBarrelElements;
73  TEveElementList* m_pixelEndcapElements;
74  TEveElementList* m_trackerBarrelElements;
75  TEveElementList* m_trackerEndcapElements;
76 };
77 
78 
79 #endif
TEveElementList * m_pixelBarrelElements
static const TGPicture * info(bool iBackgroundIsBlack)
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()