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::GlobalTrackingGeometryBuilder ( )

Constructor.

Definition at line 19 of file GlobalTrackingGeometryBuilder.cc.

19 : myName("GlobalTrackingGeometryBuilder") {}

◆ ~GlobalTrackingGeometryBuilder()

GlobalTrackingGeometryBuilder::~GlobalTrackingGeometryBuilder ( )
virtual

Destructor.

Definition at line 21 of file GlobalTrackingGeometryBuilder.cc.

21 {}

Member Function Documentation

◆ build()

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.

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 }

References dt, mixOne_premix_on_sim_cfi::me0, and omtf::DataWord64::rpc.

Referenced by GlobalTrackingGeometryESProducer::produce().

Member Data Documentation

◆ myName

const std::string GlobalTrackingGeometryBuilder::myName
private

Definition at line 41 of file GlobalTrackingGeometryBuilder.h.

GlobalTrackingGeometryBuilder::myName
const std::string myName
Definition: GlobalTrackingGeometryBuilder.h:41
dt
float dt
Definition: AMPTWrapper.h:136
csc
Definition: L1Track.h:19
GlobalTrackingGeometry
Definition: GlobalTrackingGeometry.h:20
mixOne_premix_on_sim_cfi.me0
me0
Definition: mixOne_premix_on_sim_cfi.py:309
gem
Definition: AMC13Event.h:6
mtd_digitizer
Definition: MTDDigitizer.h:34
omtf::DataWord64::rpc
Definition: OmtfDataWord64.h:16