Main Page
Namespaces
Classes
Package Documentation
Geometry
GlobalTrackingGeometryBuilder
plugins
GlobalTrackingGeometryBuilder.cc
Go to the documentation of this file.
1
6
#include "
Geometry/GlobalTrackingGeometryBuilder/plugins/GlobalTrackingGeometryBuilder.h
"
7
#include "
Geometry/CommonDetUnit/interface/GlobalTrackingGeometry.h
"
8
#include "
Geometry/TrackerGeometryBuilder/interface/TrackerGeometry.h
"
9
#include "
Geometry/CSCGeometry/interface/CSCGeometry.h
"
10
#include "
Geometry/RPCGeometry/interface/RPCGeometry.h
"
11
#include "
Geometry/GEMGeometry/interface/GEMGeometry.h
"
12
#include "
Geometry/GEMGeometry/interface/ME0Geometry.h
"
13
#include "
Geometry/DTGeometry/interface/DTGeometry.h
"
14
15
#include <iostream>
16
#include <iomanip>
17
18
GlobalTrackingGeometryBuilder::GlobalTrackingGeometryBuilder
() : myName(
"GlobalTrackingGeometryBuilder"
){}
19
20
21
GlobalTrackingGeometryBuilder::~GlobalTrackingGeometryBuilder
(){}
22
23
24
GlobalTrackingGeometry
*
GlobalTrackingGeometryBuilder::build
(
const
TrackerGeometry
* tk,
25
const
DTGeometry
*
dt
,
26
const
CSCGeometry
*
csc
,
27
const
RPCGeometry
*
rpc
,
28
const
GEMGeometry
*
gem
,
29
const
ME0Geometry
* me0){
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
}
45
GlobalTrackingGeometryBuilder.h
GlobalTrackingGeometryBuilder::~GlobalTrackingGeometryBuilder
virtual ~GlobalTrackingGeometryBuilder()
Destructor.
Definition:
GlobalTrackingGeometryBuilder.cc:21
dt
float dt
Definition:
AMPTWrapper.h:126
DTGeometry.h
omtf::DataWord64::rpc
Definition:
OmtfDataWord64.h:16
CSCGeometry
Definition:
CSCGeometry.h:24
DTGeometry
Definition:
DTGeometry.h:25
gem
A class for AMC data.
Definition:
AMC13Event.h:6
RPCGeometry
Definition:
RPCGeometry.h:22
ME0Geometry
Definition:
ME0Geometry.h:12
GlobalTrackingGeometryBuilder::GlobalTrackingGeometryBuilder
GlobalTrackingGeometryBuilder()
Constructor.
Definition:
GlobalTrackingGeometryBuilder.cc:18
GEMGeometry
Definition:
GEMGeometry.h:24
csc
Definition:
L1Track.h:19
ME0Geometry.h
GlobalTrackingGeometry
Definition:
GlobalTrackingGeometry.h:20
GEMGeometry.h
TrackerGeometry.h
GlobalTrackingGeometry.h
RPCGeometry.h
CSCGeometry.h
TrackerGeometry
Definition:
TrackerGeometry.h:14
GlobalTrackingGeometryBuilder::build
GlobalTrackingGeometry * build(const TrackerGeometry *tk, const DTGeometry *dt, const CSCGeometry *csc, const RPCGeometry *rpc, const GEMGeometry *gem, const ME0Geometry *me0)
Build the geometry.
Definition:
GlobalTrackingGeometryBuilder.cc:24
Generated for CMSSW Reference Manual by
1.8.11