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, const GEMGeometry *gem)
 Build the geometry. More...
 
 GlobalTrackingGeometryBuilder ()
 Constructor. More...
 
virtual ~GlobalTrackingGeometryBuilder ()
 Destructor. More...
 

Private Attributes

const std::string myName
 

Detailed Description

Build the GlobalTrackingGeometry.

Author
Matteo Sani

Definition at line 20 of file GlobalTrackingGeometryBuilder.h.

Constructor & Destructor Documentation

GlobalTrackingGeometryBuilder::GlobalTrackingGeometryBuilder ( )

Constructor.

Definition at line 19 of file GlobalTrackingGeometryBuilder.cc.

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

Destructor.

Definition at line 22 of file GlobalTrackingGeometryBuilder.cc.

22 {}

Member Function Documentation

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

Build the geometry.

Definition at line 25 of file GlobalTrackingGeometryBuilder.cc.

Referenced by GlobalTrackingGeometryESProducer::produce().

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

Member Data Documentation

const std::string GlobalTrackingGeometryBuilder::myName
private

Definition at line 39 of file GlobalTrackingGeometryBuilder.h.