CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Enumerations | Functions
FWCaloTowerProxyBuilder.cc File Reference
#include <math.h>
#include "TEveCaloData.h"
#include "TEveCalo.h"
#include "TH2F.h"
#include "Fireworks/Core/interface/Context.h"
#include "Fireworks/Core/interface/FWEventItem.h"
#include "Fireworks/Core/interface/FWModelChangeManager.h"
#include "Fireworks/Core/interface/fw3dlego_xbins.h"
#include "Fireworks/Calo/plugins/FWCaloTowerProxyBuilder.h"
#include "Fireworks/Calo/plugins/FWCaloTowerSliceSelector.h"
#include "DataFormats/CaloTowers/interface/CaloTower.h"

Go to the source code of this file.

Enumerations

enum  { dummy_proxybuilder_methods___LINE__ }
 
enum  { dummy_proxybuilder_methods___LINE__ }
 
enum  { dummy_proxybuilder_methods___LINE__ }
 

Functions

static const
FWProxyBuilderFactory::PMaker
< FWECalCaloTowerProxyBuilder
s_maker__LINE__ (FWECalCaloTowerProxyBuilder::typeOfBuilder()+FWECalCaloTowerProxyBuilder::classRegisterTypeName()+(FWECalCaloTowerProxyBuilder::representsSubPart()?"!":"_")+""+FWECalCaloTowerProxyBuilder::classPurpose()+""+FWECalCaloTowerProxyBuilder::classView()+"#""FWECalCaloTowerProxyBuilder")
 
static const
FWProxyBuilderFactory::PMaker
< FWHCalCaloTowerProxyBuilder
s_maker__LINE__ (FWHCalCaloTowerProxyBuilder::typeOfBuilder()+FWHCalCaloTowerProxyBuilder::classRegisterTypeName()+(FWHCalCaloTowerProxyBuilder::representsSubPart()?"!":"_")+""+FWHCalCaloTowerProxyBuilder::classPurpose()+""+FWHCalCaloTowerProxyBuilder::classView()+"#""FWHCalCaloTowerProxyBuilder")
 
static const
FWProxyBuilderFactory::PMaker
< FWHOCaloTowerProxyBuilder
s_maker__LINE__ (FWHOCaloTowerProxyBuilder::typeOfBuilder()+FWHOCaloTowerProxyBuilder::classRegisterTypeName()+(FWHOCaloTowerProxyBuilder::representsSubPart()?"!":"_")+""+FWHOCaloTowerProxyBuilder::classPurpose()+""+FWHOCaloTowerProxyBuilder::classView()+"#""FWHOCaloTowerProxyBuilder")
 
double wrapPi (double val)
 

Enumeration Type Documentation

anonymous enum
Enumerator
dummy_proxybuilder_methods___LINE__ 

Definition at line 202 of file FWCaloTowerProxyBuilder.cc.

anonymous enum
Enumerator
dummy_proxybuilder_methods___LINE__ 

Definition at line 203 of file FWCaloTowerProxyBuilder.cc.

anonymous enum
Enumerator
dummy_proxybuilder_methods___LINE__ 

Definition at line 204 of file FWCaloTowerProxyBuilder.cc.

Function Documentation

static const FWProxyBuilderFactory ::PMaker< FWECalCaloTowerProxyBuilder > s_maker__LINE__ ( FWECalCaloTowerProxyBuilder::typeOfBuilder()+FWECalCaloTowerProxyBuilder::classRegisterTypeName()+(FWECalCaloTowerProxyBuilder::representsSubPart()?"!":"_")+""+FWECalCaloTowerProxyBuilder::classPurpose()+""+FWECalCaloTowerProxyBuilder::classView()+"#""FWECalCaloTowerProxyBuilder"  )
static
static const FWProxyBuilderFactory ::PMaker< FWHCalCaloTowerProxyBuilder > s_maker__LINE__ ( FWHCalCaloTowerProxyBuilder::typeOfBuilder()+FWHCalCaloTowerProxyBuilder::classRegisterTypeName()+(FWHCalCaloTowerProxyBuilder::representsSubPart()?"!":"_")+""+FWHCalCaloTowerProxyBuilder::classPurpose()+""+FWHCalCaloTowerProxyBuilder::classView()+"#""FWHCalCaloTowerProxyBuilder"  )
static
static const FWProxyBuilderFactory ::PMaker< FWHOCaloTowerProxyBuilder > s_maker__LINE__ ( FWHOCaloTowerProxyBuilder::typeOfBuilder()+FWHOCaloTowerProxyBuilder::classRegisterTypeName()+(FWHOCaloTowerProxyBuilder::representsSubPart()?"!":"_")+""+FWHOCaloTowerProxyBuilder::classPurpose()+""+FWHOCaloTowerProxyBuilder::classView()+"#""FWHOCaloTowerProxyBuilder"  )
static
double wrapPi ( double  val)

Definition at line 80 of file FWCaloTowerProxyBuilder.cc.

References Pi, and TwoPi.

Referenced by FWCaloTowerProxyBuilderBase::fillCaloData().

81 {
82  using namespace TMath;
83 
84  if (val< -Pi())
85  {
86  return val += TwoPi();
87  }
88  if (val> Pi())
89  {
90  return val -= TwoPi();
91  }
92  return val;
93 }
const double TwoPi
const double Pi