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 MTDGeometry *mtd, 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 22 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 21 of file GlobalTrackingGeometryBuilder.cc.

21 {}

Member Function Documentation

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

Build the geometry.

Definition at line 23 of file GlobalTrackingGeometryBuilder.cc.

Referenced by GlobalTrackingGeometryESProducer::produce().

29  {
30  // DO NOT CHANGE THE ORDER OF THE GEOMETRIES !!!!!!!
31 
32  std::vector<const TrackingGeometry*> tkGeometries;
33 
34  tkGeometries.emplace_back(tk);
35  tkGeometries.emplace_back(mtd);
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  return new GlobalTrackingGeometry(tkGeometries);
43 }

Member Data Documentation

const std::string GlobalTrackingGeometryBuilder::myName
private

Definition at line 41 of file GlobalTrackingGeometryBuilder.h.