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:
34  FWRPZViewGeometry(const fireworks::Context& context);
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 
52 private:
53  FWRPZViewGeometry(const FWRPZViewGeometry&); // stop default
54  const FWRPZViewGeometry& operator=(const FWRPZViewGeometry&); // stop default
55 
56  // ---------- member data --------------------------------
57 
58  TEveElement* makeMuonGeometryRhoPhi();
59  TEveElement* makeMuonGeometryRhoZ();
60  TEveElement* makeCaloOutlineRhoPhi();
61  TEveElement* makeCaloOutlineRhoZ();
62  void estimateProjectionSizeDT(const FWGeometry::GeomDetInfo& info, float&, float&, float&, float&);
63  void estimateProjectionSizeCSC(const FWGeometry::GeomDetInfo& info, float&, float&, float&, float&);
64  void estimateProjectionSize(const float*, float&, float&, float&, float&);
65 
66  void importNew(TEveElementList* x);
67 
68  TEveGeoShape* makeShape(double, double, double, double);
69 
70  TEveElementList* m_rhoPhiGeo;
71  TEveElementList* m_rhoZGeo;
72 
73  TEveElementList* m_pixelBarrelElements;
74  TEveElementList* m_pixelEndcapElements;
75  TEveElementList* m_trackerBarrelElements;
76  TEveElementList* m_trackerEndcapElements;
77  TEveElementList* m_rpcEndcapElements;
78  TEveElementList* m_GEMElements;
79  TEveElementList* m_ME0Elements;
80 };
81 
82 #endif
FWRPZViewGeometry::showGEM
void showGEM(bool)
Definition: FWRPZViewGeometry.cc:534
FWRPZViewGeometry::m_rhoPhiGeo
TEveElementList * m_rhoPhiGeo
Definition: FWRPZViewGeometry.h:70
FWRPZViewGeometry::showTrackerEndcap
void showTrackerEndcap(bool)
Definition: FWRPZViewGeometry.cc:445
FWGeometry::GeomDetInfo
Definition: FWGeometry.h:119
FWRPZViewGeometry::estimateProjectionSizeCSC
void estimateProjectionSizeCSC(const FWGeometry::GeomDetInfo &info, float &, float &, float &, float &)
fireworks::Context
Definition: Context.h:41
FWViewType::EType
EType
Definition: FWViewType.h:31
FWRPZViewGeometry::~FWRPZViewGeometry
~FWRPZViewGeometry() override
Definition: FWRPZViewGeometry.cc:76
FWRPZViewGeometry::estimateProjectionSizeDT
void estimateProjectionSizeDT(const FWGeometry::GeomDetInfo &info, float &, float &, float &, float &)
Definition: FWRPZViewGeometry.cc:273
info
static const TGPicture * info(bool iBackgroundIsBlack)
Definition: FWCollectionSummaryWidget.cc:153
FWRPZViewGeometry::makeCaloOutlineRhoPhi
TEveElement * makeCaloOutlineRhoPhi()
Definition: FWRPZViewGeometry.cc:119
DDAxes::x
FWRPZViewGeometry::FWRPZViewGeometry
FWRPZViewGeometry(const fireworks::Context &context)
Definition: FWRPZViewGeometry.cc:55
FWRPZViewGeometry::m_trackerBarrelElements
TEveElementList * m_trackerBarrelElements
Definition: FWRPZViewGeometry.h:75
FWRPZViewGeometry::estimateProjectionSize
void estimateProjectionSize(const float *, float &, float &, float &, float &)
Definition: FWRPZViewGeometry.cc:343
FWRPZViewGeometry::m_pixelEndcapElements
TEveElementList * m_pixelEndcapElements
Definition: FWRPZViewGeometry.h:74
FWRPZViewGeometry::m_GEMElements
TEveElementList * m_GEMElements
Definition: FWRPZViewGeometry.h:78
FWRPZViewGeometry::showME0
void showME0(bool)
Definition: FWRPZViewGeometry.cc:572
FWRPZViewGeometry::makeShape
TEveGeoShape * makeShape(double, double, double, double)
Definition: FWRPZViewGeometry.cc:245
FWRPZViewGeometry::initStdGeoElements
void initStdGeoElements(const FWViewType::EType id)
Definition: FWRPZViewGeometry.cc:83
FWRPZViewGeometry::makeMuonGeometryRhoPhi
TEveElement * makeMuonGeometryRhoPhi()
Definition: FWRPZViewGeometry.cc:146
FWViewType.h
FWRPZViewGeometry::showPixelEndcap
void showPixelEndcap(bool)
Definition: FWRPZViewGeometry.cc:389
FWRPZViewGeometry::m_rpcEndcapElements
TEveElementList * m_rpcEndcapElements
Definition: FWRPZViewGeometry.h:77
FWGeometry.h
FWRPZViewGeometry::m_ME0Elements
TEveElementList * m_ME0Elements
Definition: FWRPZViewGeometry.h:79
FWRPZViewGeometry
Definition: FWRPZViewGeometry.h:32
FWRPZViewGeometry::showRpcEndcap
void showRpcEndcap(bool)
Definition: FWRPZViewGeometry.cc:479
FWRPZViewGeometry::importNew
void importNew(TEveElementList *x)
Definition: FWRPZViewGeometry.cc:602
FWRPZViewGeometry::m_rhoZGeo
TEveElementList * m_rhoZGeo
Definition: FWRPZViewGeometry.h:71
FWRPZViewGeometry::makeCaloOutlineRhoZ
TEveElement * makeCaloOutlineRhoZ()
Definition: FWRPZViewGeometry.cc:98
FWViewGeometryList.h
FWRPZViewGeometry::showPixelBarrel
void showPixelBarrel(bool)
Definition: FWRPZViewGeometry.cc:367
FWRPZViewGeometry::operator=
const FWRPZViewGeometry & operator=(const FWRPZViewGeometry &)
FWRPZViewGeometry::makeMuonGeometryRhoZ
TEveElement * makeMuonGeometryRhoZ()
Definition: FWRPZViewGeometry.cc:174
FWRPZViewGeometry::m_trackerEndcapElements
TEveElementList * m_trackerEndcapElements
Definition: FWRPZViewGeometry.h:76
FWViewGeometryList
Definition: FWViewGeometryList.h:34
FWRPZViewGeometry::m_pixelBarrelElements
TEveElementList * m_pixelBarrelElements
Definition: FWRPZViewGeometry.h:73
FWRPZViewGeometry::showTrackerBarrel
void showTrackerBarrel(bool)
Definition: FWRPZViewGeometry.cc:413