CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Attributes
GlobalTrackingGeometryBuilder Class Reference

#include <GlobalTrackingGeometryBuilder.h>

Public Member Functions

GlobalTrackingGeometrybuild (const TrackerGeometry *tk, const DTGeometry *dt, const CSCGeometry *csc, const RPCGeometry *rpc)
 Build the geometry. More...
 
 GlobalTrackingGeometryBuilder ()
 Constructor. More...
 
virtual ~GlobalTrackingGeometryBuilder ()
 Destructor. More...
 

Private Attributes

const std::string myName
 

Detailed Description

Build the GlobalTrackingGeometry.

Date:
2006/05/06 13:46:16
Revision:
1.1
Author
Matteo Sani

Definition at line 21 of file GlobalTrackingGeometryBuilder.h.

Constructor & Destructor Documentation

GlobalTrackingGeometryBuilder::GlobalTrackingGeometryBuilder ( )

Constructor.

Definition at line 20 of file GlobalTrackingGeometryBuilder.cc.

20 : myName("GlobalTrackingGeometryBuilder"){}
GlobalTrackingGeometryBuilder::~GlobalTrackingGeometryBuilder ( )
virtual

Destructor.

Definition at line 23 of file GlobalTrackingGeometryBuilder.cc.

23 {}

Member Function Documentation

GlobalTrackingGeometry * GlobalTrackingGeometryBuilder::build ( const TrackerGeometry tk,
const DTGeometry dt,
const CSCGeometry csc,
const RPCGeometry rpc 
)

Build the geometry.

Definition at line 26 of file GlobalTrackingGeometryBuilder.cc.

Referenced by GlobalTrackingGeometryESProducer::produce().

27  {
28 
29  // DO NOT CHANGE THE ORDER OF THE GEOMETRIES !!!!!!!
30 
31  std::vector<const TrackingGeometry*> tkGeometries;
32 
33  tkGeometries.push_back(tk);
34  tkGeometries.push_back(dt);
35  tkGeometries.push_back(csc);
36  tkGeometries.push_back(rpc);
37 
38 
39  return new GlobalTrackingGeometry(tkGeometries);
40 }

Member Data Documentation

const std::string GlobalTrackingGeometryBuilder::myName
private

Definition at line 37 of file GlobalTrackingGeometryBuilder.h.