CMS 3D CMS Logo

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, const ME0Geometry *me0)
 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 21 of file GlobalTrackingGeometryBuilder.h.

Constructor & Destructor Documentation

GlobalTrackingGeometryBuilder::GlobalTrackingGeometryBuilder ( )

Constructor.

Definition at line 18 of file GlobalTrackingGeometryBuilder.cc.

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

Destructor.

Definition at line 21 of file GlobalTrackingGeometryBuilder.cc.

21 {}

Member Function Documentation

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

Build the geometry.

Definition at line 24 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.emplace_back(tk);
36  tkGeometries.emplace_back(dt);
37  tkGeometries.emplace_back(csc);
38  tkGeometries.emplace_back(rpc);
39  tkGeometries.emplace_back(gem);
40  tkGeometries.emplace_back(me0);
41 
42 
43  return new GlobalTrackingGeometry(tkGeometries);
44 }

Member Data Documentation

const std::string GlobalTrackingGeometryBuilder::myName
private

Definition at line 41 of file GlobalTrackingGeometryBuilder.h.