File indexing completed on 2024-04-06 12:14:41
0001
0002
0003
0004
0005
0006 #include "Geometry/GlobalTrackingGeometryBuilder/plugins/GlobalTrackingGeometryBuilder.h"
0007 #include "Geometry/CommonDetUnit/interface/GlobalTrackingGeometry.h"
0008 #include "Geometry/TrackerGeometryBuilder/interface/TrackerGeometry.h"
0009 #include "Geometry/CSCGeometry/interface/CSCGeometry.h"
0010 #include "Geometry/RPCGeometry/interface/RPCGeometry.h"
0011 #include "Geometry/GEMGeometry/interface/GEMGeometry.h"
0012 #include "Geometry/GEMGeometry/interface/ME0Geometry.h"
0013 #include "Geometry/DTGeometry/interface/DTGeometry.h"
0014 #include "Geometry/MTDGeometryBuilder/interface/MTDGeometry.h"
0015
0016 #include <iostream>
0017 #include <iomanip>
0018
0019 GlobalTrackingGeometryBuilder::GlobalTrackingGeometryBuilder() : myName("GlobalTrackingGeometryBuilder") {}
0020
0021 GlobalTrackingGeometryBuilder::~GlobalTrackingGeometryBuilder() {}
0022
0023 GlobalTrackingGeometry* GlobalTrackingGeometryBuilder::build(const TrackerGeometry* tk,
0024 const MTDGeometry* mtd,
0025 const DTGeometry* dt,
0026 const CSCGeometry* csc,
0027 const RPCGeometry* rpc,
0028 const GEMGeometry* gem,
0029 const ME0Geometry* me0) {
0030
0031
0032 std::vector<const TrackingGeometry*> tkGeometries;
0033
0034 tkGeometries.emplace_back(tk);
0035 tkGeometries.emplace_back(mtd);
0036 tkGeometries.emplace_back(dt);
0037 tkGeometries.emplace_back(csc);
0038 tkGeometries.emplace_back(rpc);
0039 tkGeometries.emplace_back(gem);
0040 tkGeometries.emplace_back(me0);
0041
0042 return new GlobalTrackingGeometry(tkGeometries);
0043 }