CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Macros
FWTGeoRecoGeometryESProducer.cc File Reference
#include "Fireworks/Geometry/interface/FWTGeoRecoGeometryESProducer.h"
#include "Fireworks/Geometry/interface/FWTGeoRecoGeometry.h"
#include "Fireworks/Geometry/interface/FWTGeoRecoGeometryRecord.h"
#include "DataFormats/GeometrySurface/interface/RectangularPlaneBounds.h"
#include "DataFormats/GeometrySurface/interface/TrapezoidalPlaneBounds.h"
#include "Geometry/CommonDetUnit/interface/GlobalTrackingGeometry.h"
#include "Geometry/CaloGeometry/interface/CaloGeometry.h"
#include "Geometry/CaloGeometry/interface/CaloCellGeometry.h"
#include "Geometry/CSCGeometry/interface/CSCGeometry.h"
#include "Geometry/DTGeometry/interface/DTGeometry.h"
#include "Geometry/CSCGeometry/interface/CSCChamber.h"
#include "Geometry/CSCGeometry/interface/CSCLayer.h"
#include "Geometry/DTGeometry/interface/DTChamber.h"
#include "Geometry/DTGeometry/interface/DTLayer.h"
#include "Geometry/RPCGeometry/interface/RPCGeometry.h"
#include "Geometry/Records/interface/CaloGeometryRecord.h"
#include "Geometry/TrackerGeometryBuilder/interface/TrackerGeometry.h"
#include "Geometry/TrackerGeometryBuilder/interface/RectangularPixelTopology.h"
#include "Geometry/TrackerGeometryBuilder/interface/PixelGeomDetUnit.h"
#include "Geometry/TrackerGeometryBuilder/interface/StripGeomDetUnit.h"
#include "Geometry/TrackerGeometryBuilder/interface/StripGeomDetType.h"
#include "Geometry/CommonTopologies/interface/StripTopology.h"
#include "Geometry/CommonTopologies/interface/RectangularStripTopology.h"
#include "Geometry/CommonTopologies/interface/TrapezoidalStripTopology.h"
#include "TGeoManager.h"
#include "TGeoArb8.h"
#include "TGeoMatrix.h"
#include "TFile.h"
#include "TTree.h"
#include "TError.h"

Go to the source code of this file.

Macros

#define ADD_PIXEL_TOPOLOGY(rawid, detUnit)
 
#define ADD_SISTRIP_TOPOLOGY(rawid, detUnit)
 

Macro Definition Documentation

#define ADD_PIXEL_TOPOLOGY (   rawid,
  detUnit 
)
Value:
const PixelGeomDetUnit* det = dynamic_cast<const PixelGeomDetUnit*>( detUnit ); \
if( det ) \
{ \
m_fwGeometry->idToName[rawid].topology[0] = topo.nrows(); \
m_fwGeometry->idToName[rawid].topology[1] = topo.ncolumns(); \
} \
virtual int nrows() const =0
virtual const PixelTopology & specificTopology() const
Returns a reference to the pixel proxy topology.
string const
Definition: compareJSON.py:14
if(dp >Float(M_PI)) dp-

Definition at line 34 of file FWTGeoRecoGeometryESProducer.cc.

Referenced by FWTGeoRecoGeometryESProducer::addPixelBarrelGeometry(), and FWTGeoRecoGeometryESProducer::addPixelForwardGeometry().

#define ADD_SISTRIP_TOPOLOGY (   rawid,
  detUnit 
)
Value:
const StripGeomDetUnit* det = dynamic_cast<const StripGeomDetUnit*>( detUnit ); \
if( det ) \
{ \
const StripTopology* topo = dynamic_cast<const StripTopology*>( &det->specificTopology()); \
m_fwGeometry->idToName[rawid].topology[0] = topo->nstrips(); \
m_fwGeometry->idToName[rawid].topology[1] = topo->stripLength(); \
if( const RadialStripTopology* rtop = dynamic_cast<const RadialStripTopology*>( topo )) \
{ \
m_fwGeometry->idToName[rawid].topology[2] = rtop->phiPitch(); \
} \
else if( dynamic_cast<const RectangularStripTopology*>( topo )) \
{ \
m_fwGeometry->idToName[rawid].topology[2] = topo->pitch(); \
} \
else if( dynamic_cast<const TrapezoidalStripTopology*>( topo )) \
{ \
m_fwGeometry->idToName[rawid].topology[2] = topo->pitch(); \
} \
} \
virtual int nstrips() const =0
virtual const StripTopology & specificTopology() const
Returns a reference to the strip proxy topology.
string const
Definition: compareJSON.py:14
if(dp >Float(M_PI)) dp-

Definition at line 43 of file FWTGeoRecoGeometryESProducer.cc.

Referenced by FWTGeoRecoGeometryESProducer::addTECGeometry(), FWTGeoRecoGeometryESProducer::addTIBGeometry(), FWTGeoRecoGeometryESProducer::addTIDGeometry(), and FWTGeoRecoGeometryESProducer::addTOBGeometry().