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

22 {}

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

Referenced by GlobalTrackingGeometryESProducer::produce().

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

Member Data Documentation

const std::string GlobalTrackingGeometryBuilder::myName
private

Definition at line 43 of file GlobalTrackingGeometryBuilder.h.