CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_2_9/src/Fireworks/Core/src/FWHFView.cc

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 //
00003 // Package:     Core
00004 // Class  :     FWHFView
00005 // 
00006 // Implementation:
00007 //     [Notes on implementation]
00008 //
00009 // Original Author:  
00010 //         Created:  Mon May 31 13:42:13 CEST 2010
00011 // $Id: FWHFView.cc,v 1.12 2011/02/22 18:37:31 amraktad Exp $
00012 //
00013 
00014 // system include files
00015 
00016 // user include files
00017 #include "TEveCalo.h"
00018 #include "TEveCaloData.h"
00019 #include "TEveTrans.h"
00020 
00021 #include "Fireworks/Core/interface/FWHFView.h"
00022 #include "Fireworks/Core/interface/Context.h"
00023 #include "Fireworks/Core/interface/FWGenericParameter.h"
00024 
00025 #include "Fireworks/Core/interface/FWEnumParameter.h"
00026 
00027 //
00028 // constants, enums and typedefs
00029 //
00030 
00031 //
00032 // static data member definitions
00033 //
00034 
00035 //
00036 // constructors and destructor
00037 //
00038 FWHFView::FWHFView(TEveWindowSlot* slot, FWViewType::EType typeId):
00039    FWLegoViewBase(slot, typeId)
00040 {  
00041 }
00042 
00043 // FWHFView::FWHFView(const FWHFView& rhs)
00044 // {
00045 //    // do actual copying here;
00046 // }
00047 
00048 FWHFView::~FWHFView()
00049 {
00050 }
00051 
00052 //
00053 // assignment operators
00054 //
00055 // const FWHFView& FWHFView::operator=(const FWHFView& rhs)
00056 // {
00057 //   //An exception safe implementation is
00058 //   FWHFView temp(rhs);
00059 //   swap(rhs);
00060 //
00061 //   return *this;
00062 // }
00063 
00064 //
00065 // member functions
00066 //
00067 
00068 //
00069 // const member functions
00070 //
00071 
00072 //
00073 // static member functions
00074 //
00075    
00076 
00077 void
00078 FWHFView::setContext(const fireworks::Context& context)
00079 {  
00080    FWLegoViewBase::setContext(context);
00081 
00082    // phi bins center shifted for 10 degres
00083    m_lego->RefMainTrans().SetPos(0, -TMath::DegToRad()*10, 0);
00084 }
00085 
00086 
00087