Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:11:40

0001 // -*- C++ -*-
0002 //
0003 // Package:     Core
0004 // Class  :     FWHFView
0005 //
0006 // Implementation:
0007 //     [Notes on implementation]
0008 //
0009 // Original Author:
0010 //         Created:  Mon May 31 13:42:13 CEST 2010
0011 //
0012 
0013 // system include files
0014 
0015 // user include files
0016 #include "TEveCalo.h"
0017 #include "TEveCaloData.h"
0018 #include "TEveTrans.h"
0019 
0020 #include "Fireworks/Core/interface/FWHFView.h"
0021 #include "Fireworks/Core/interface/Context.h"
0022 #include "Fireworks/Core/interface/FWGenericParameter.h"
0023 
0024 #include "Fireworks/Core/interface/FWEnumParameter.h"
0025 
0026 //
0027 // constants, enums and typedefs
0028 //
0029 
0030 //
0031 // static data member definitions
0032 //
0033 
0034 //
0035 // constructors and destructor
0036 //
0037 FWHFView::FWHFView(TEveWindowSlot* slot, FWViewType::EType typeId) : FWLegoViewBase(slot, typeId) {}
0038 
0039 // FWHFView::FWHFView(const FWHFView& rhs)
0040 // {
0041 //    // do actual copying here;
0042 // }
0043 
0044 FWHFView::~FWHFView() {}
0045 
0046 //
0047 // assignment operators
0048 //
0049 // const FWHFView& FWHFView::operator=(const FWHFView& rhs)
0050 // {
0051 //   //An exception safe implementation is
0052 //   FWHFView temp(rhs);
0053 //   swap(rhs);
0054 //
0055 //   return *this;
0056 // }
0057 
0058 //
0059 // member functions
0060 //
0061 
0062 //
0063 // const member functions
0064 //
0065 
0066 //
0067 // static member functions
0068 //
0069 
0070 void FWHFView::setContext(const fireworks::Context& context) {
0071   FWLegoViewBase::setContext(context);
0072 
0073   // phi bins center shifted for 10 degres
0074   m_lego->RefMainTrans().SetPos(0, -TMath::DegToRad() * 10, 0);
0075 }