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)
 Build the geometry.
 GlobalTrackingGeometryBuilder ()
 Constructor.
virtual ~GlobalTrackingGeometryBuilder ()
 Destructor.

Private Attributes

const std::string myName

Detailed Description

Build the GlobalTrackingGeometry.

Date:
2011/08/16 14:54:34
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.

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

Destructor.

Definition at line 23 of file GlobalTrackingGeometryBuilder.cc.

{}

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().

                                                                         {

    // 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);
    
    
    return new GlobalTrackingGeometry(tkGeometries);
}

Member Data Documentation

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

Definition at line 37 of file GlobalTrackingGeometryBuilder.h.