CMS 3D CMS Logo

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 public:
35  ~FWRPZViewGeometry() override;
36 
37  // ---------- const member functions ---------------------
38 
39  // ---------- static member functions --------------------
40 
41  // ---------- member functions ---------------------------
43 
44  void showPixelBarrel(bool);
45  void showPixelEndcap(bool);
46  void showTrackerBarrel(bool);
47  void showTrackerEndcap(bool);
48  void showRpcEndcap(bool);
49  void showGEM(bool);
50  void showME0(bool);
51  void showMtdBarrel(bool);
52  void showMtdEndcap(bool);
53 
54 private:
55  FWRPZViewGeometry(const FWRPZViewGeometry&); // stop default
56  const FWRPZViewGeometry& operator=(const FWRPZViewGeometry&); // stop default
57 
58  // ---------- member data --------------------------------
59 
60  TEveElement* makeMuonGeometryRhoPhi();
61  TEveElement* makeMuonGeometryRhoZ();
62  TEveElement* makeCaloOutlineRhoPhi();
63  TEveElement* makeCaloOutlineRhoZ();
64  void estimateProjectionSizeDT(const FWGeometry::GeomDetInfo& info, float&, float&, float&, float&);
65  void estimateProjectionSizeCSC(const FWGeometry::GeomDetInfo& info, float&, float&, float&, float&);
66  void estimateProjectionSize(const float*, float&, float&, float&, float&);
67 
68  void importNew(TEveElementList* x);
69 
70  TEveGeoShape* makeShape(double, double, double, double);
71 
72  TEveElementList* m_rhoPhiGeo;
73  TEveElementList* m_rhoZGeo;
74 
75  TEveElementList* m_pixelBarrelElements;
76  TEveElementList* m_pixelEndcapElements;
77  TEveElementList* m_trackerBarrelElements;
78  TEveElementList* m_trackerEndcapElements;
79  TEveElementList* m_rpcEndcapElements;
80  TEveElementList* m_GEMElements;
81  TEveElementList* m_ME0Elements;
82  TEveElementList* m_mtdBarrelElements;
83  TEveElementList* m_mtdEndcapElements;
84 };
85 
86 #endif
~FWRPZViewGeometry() override
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_GEMElements
TEveElementList * m_rhoPhiGeo
TEveElement * makeCaloOutlineRhoPhi()
void estimateProjectionSizeCSC(const FWGeometry::GeomDetInfo &info, float &, float &, float &, float &)
TEveElementList * m_rpcEndcapElements
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
TEveElementList * m_mtdBarrelElements
const FWRPZViewGeometry & operator=(const FWRPZViewGeometry &)
TEveElementList * m_rhoZGeo
TEveElementList * m_ME0Elements
TEveElement * makeCaloOutlineRhoZ()
void showTrackerBarrel(bool)
TEveElementList * m_trackerEndcapElements
TEveElement * makeMuonGeometryRhoZ()
void showTrackerEndcap(bool)
TEveElementList * m_mtdEndcapElements