CMS 3D CMS Logo

Public Member Functions | Private Attributes

GlobalTrackingGeometryBuilder Class Reference

#include <GlobalTrackingGeometryBuilder.h>

List of all members.

Public Member Functions

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

Private Attributes

const std::string myName

Detailed Description

Build the GlobalTrackingGeometry.

Date:
2013/05/24 07:44:00
Revision:
1.2
Author:
Matteo Sani

Definition at line 22 of file GlobalTrackingGeometryBuilder.h.


Constructor & Destructor Documentation

GlobalTrackingGeometryBuilder::GlobalTrackingGeometryBuilder ( )

Constructor.

Definition at line 21 of file GlobalTrackingGeometryBuilder.cc.

: myName("GlobalTrackingGeometryBuilder"){}
GlobalTrackingGeometryBuilder::~GlobalTrackingGeometryBuilder ( ) [virtual]

Destructor.

Definition at line 24 of file GlobalTrackingGeometryBuilder.cc.

{}

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 27 of file GlobalTrackingGeometryBuilder.cc.

Referenced by GlobalTrackingGeometryESProducer::produce().

                                                                                    {

    // DO NOT CHANGE THE ORDER OF THE GEOMETRIES !!!!!!!  
    
    std::vector<const TrackingGeometry*> tkGeometries;
    
    tkGeometries.push_back(tk);
    tkGeometries.push_back(dt);
    tkGeometries.push_back(csc);
    tkGeometries.push_back(rpc);
    tkGeometries.push_back(gem);
    
    
    return new GlobalTrackingGeometry(tkGeometries);
}

Member Data Documentation

const std::string GlobalTrackingGeometryBuilder::myName [private]

Definition at line 41 of file GlobalTrackingGeometryBuilder.h.