CMS 3D CMS Logo

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
GlobalTrackingGeometryBuilder.cc
Go to the documentation of this file.
1 
15 
16 #include <iostream>
17 #include <iomanip>
18 
19 GlobalTrackingGeometryBuilder::GlobalTrackingGeometryBuilder() : myName("GlobalTrackingGeometryBuilder") {}
20 
22 
24  const MTDGeometry* mtd,
25  const DTGeometry* dt,
26  const CSCGeometry* csc,
27  const RPCGeometry* rpc,
28  const GEMGeometry* gem,
29  const ME0Geometry* me0) {
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 }
virtual ~GlobalTrackingGeometryBuilder()
Destructor.
float dt
Definition: AMPTWrapper.h:136
Definition: L1Track.h:19
GlobalTrackingGeometry * 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.