CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes | Friends
fastsim::Geometry Class Reference

Definition the tracker geometry (vectors of forward/barrel layers). More...

#include <Geometry.h>

Public Member Functions

const std::vector< std::unique_ptr< BarrelSimplifiedGeometry > > & barrelLayers () const
 Return the vector of barrel layers. More...
 
const std::vector< std::unique_ptr< ForwardSimplifiedGeometry > > & forwardLayers () const
 Return the vector of forward layers (disks). More...
 
 Geometry (const edm::ParameterSet &cfg)
 Constructor. More...
 
double getMagneticFieldZ (const math::XYZTLorentzVector &position) const
 Initializes the tracker geometry. More...
 
double getMaxRadius ()
 Upper bound of the radius of the whole tracker geometry. More...
 
double getMaxZ ()
 Upper bound of the length/2 (0 to +Z) of the whole tracker geometry. More...
 
const BarrelSimplifiedGeometrynextLayer (const BarrelSimplifiedGeometry *layer) const
 Helps to navigate through the vector of barrel layers. More...
 
const ForwardSimplifiedGeometrynextLayer (const ForwardSimplifiedGeometry *layer) const
 Helps to navigate through the vector of forward layers. More...
 
const BarrelSimplifiedGeometrypreviousLayer (const BarrelSimplifiedGeometry *layer) const
 Helps to navigate through the vector of barrel layers. More...
 
const ForwardSimplifiedGeometrypreviousLayer (const ForwardSimplifiedGeometry *layer) const
 Helps to navigate through the vector of forward layers. More...
 
void update (const edm::EventSetup &iSetup, const std::map< std::string, InteractionModel * > &interactionModelMap)
 Initializes the tracker geometry. More...
 
 ~Geometry ()
 Default destructor. More...
 

Private Attributes

const bool barrelBoundary_
 Upper bound of the length/2 (0 to +Z) of the whole tracker geometry. More...
 
const std::vector< edm::ParameterSetbarrelLayerCfg_
 The config in which all parameters of the barrel layers are defined. More...
 
std::vector< std::unique_ptr< BarrelSimplifiedGeometry > > barrelLayers_
 The vector of barrel layers (increasing radius) More...
 
unsigned long long cacheIdentifierIdealMagneticField_
 Check interval of validity of the magnetic field. More...
 
unsigned long long cacheIdentifierTrackerRecoGeometry_
 Check interval of validity of the tracker geometry. More...
 
const double fixedMagneticFieldZ_
 Use a uniform magnetic field or non-uniform from MagneticFieldRecord. More...
 
const bool forwardBoundary_
 Hack to interface "old" calo to "new" tracking. More...
 
const std::vector< edm::ParameterSetforwardLayerCfg_
 The config in which all parameters of the forward layers are defined. More...
 
std::vector< std::unique_ptr< ForwardSimplifiedGeometry > > forwardLayers_
 The vector of forward layers (increasing Z-position) More...
 
const GeometricSearchTrackergeometricSearchTracker_
 
const MagneticFieldmagneticField_
 The tracker geometry. More...
 
const double maxRadius_
 
const double maxZ_
 Upper bound of the radius of the whole tracker geometry. More...
 
std::unique_ptr< MagneticFieldownedMagneticField_
 Needed to create a uniform magnetic field if speciefied in config. More...
 
const std::string trackerAlignmentLabel_
 The tracker alignment label. More...
 
const edm::ParameterSet trackerBarrelBoundaryCfg_
 Hack to interface "old" calo to "new" tracking. More...
 
const edm::ParameterSet trackerForwardBoundaryCfg_
 Hack to interface "old" calo to "new" tracking. More...
 
const bool useFixedMagneticFieldZ_
 Needed to create a uniform magnetic field if speciefied in config. More...
 
const bool useTrackerRecoGeometryRecord_
 Use GeometricSearchTracker (active layers/reco geometry). Can be used to get position/radius of tracker material that reflects active layers. More...
 

Friends

std::ostream & operator<< (std::ostream &o, const fastsim::Geometry &geometry)
 Provides some basic output for e.g. debugging. More...
 

Detailed Description

Definition the tracker geometry (vectors of forward/barrel layers).

This class models the material budget of the tracker. Those are reflected by 2 vectors of forward (disks, ordered by increasing Z-position) and barrel layers respectively (cylinders, ordered by increasing radius). Furthermore, initiatilizes the magnetic field used for propagation of particles inside the tracker.

Definition at line 32 of file Geometry.h.

Constructor & Destructor Documentation

◆ Geometry()

Geometry::Geometry ( const edm::ParameterSet cfg)

Constructor.

Definition at line 24 of file Geometry.cc.

27  geometricSearchTracker_(nullptr),
28  magneticField_(nullptr),
29  useFixedMagneticFieldZ_(cfg.exists("magneticFieldZ")),
30  fixedMagneticFieldZ_(cfg.getUntrackedParameter<double>("magneticFieldZ", 0.)),
31  useTrackerRecoGeometryRecord_(cfg.getUntrackedParameter<bool>("useTrackerRecoGeometryRecord", true)),
32  trackerAlignmentLabel_(cfg.getUntrackedParameter<std::string>("trackerAlignmentLabel", "")),
33  barrelLayerCfg_(cfg.getParameter<std::vector<edm::ParameterSet>>("BarrelLayers")),
34  forwardLayerCfg_(cfg.getParameter<std::vector<edm::ParameterSet>>("EndcapLayers")),
35  maxRadius_(cfg.getUntrackedParameter<double>("maxRadius", 500.)),
36  maxZ_(cfg.getUntrackedParameter<double>("maxZ", 1200.)),
37  barrelBoundary_(cfg.exists("trackerBarrelBoundary")) // Hack to interface "old" calo to "new" tracking
38  ,
39  forwardBoundary_(cfg.exists("trackerForwardBoundary")) // Hack to interface "old" calo to "new" tracking
40  ,
42  ? cfg.getParameter<edm::ParameterSet>("trackerBarrelBoundary")
43  : edm::ParameterSet()) // Hack to interface "old" calo to "new" tracking
44  ,
46  ? cfg.getParameter<edm::ParameterSet>("trackerForwardBoundary")
47  : edm::ParameterSet()) // Hack to interface "old" calo to "new" tracking
48  {};

◆ ~Geometry()

Geometry::~Geometry ( )

Default destructor.

Definition at line 22 of file Geometry.cc.

22 { ; }

Member Function Documentation

◆ barrelLayers()

const std::vector<std::unique_ptr<BarrelSimplifiedGeometry> >& fastsim::Geometry::barrelLayers ( ) const
inline

Return the vector of barrel layers.

Ordered by increasing radius (0 to +inf).

Returns
The barrel layers according to defined geometry.

Definition at line 62 of file Geometry.h.

62 { return barrelLayers_; }

References barrelLayers_.

◆ forwardLayers()

const std::vector<std::unique_ptr<ForwardSimplifiedGeometry> >& fastsim::Geometry::forwardLayers ( ) const
inline

Return the vector of forward layers (disks).

Ordered by increasing Z-position (-inf to +inf).

Returns
The forward layers according to defined geometry.

Definition at line 69 of file Geometry.h.

69 { return forwardLayers_; }

References forwardLayers_.

◆ getMagneticFieldZ()

double Geometry::getMagneticFieldZ ( const math::XYZTLorentzVector position) const

Initializes the tracker geometry.

Get the field from the MagneticFieldRecord (or set constant if defined in python config)

Parameters
positionThe position where you want to get the magnetic field (field only in Z direction).
Returns
The magnetic field (Z-direction) for a given position.

Definition at line 155 of file Geometry.cc.

155  {
156  return magneticField_->inTesla(GlobalPoint(position.X(), position.Y(), position.Z())).z();
157 }

References position.

Referenced by FastSimProducer::produce().

◆ getMaxRadius()

double fastsim::Geometry::getMaxRadius ( )
inline

Upper bound of the radius of the whole tracker geometry.

Necessary to initialize the magnetic field within this volume.

Returns
Upper bound of radius of the whole tracker geometry

Definition at line 76 of file Geometry.h.

76 { return maxRadius_; }

References maxRadius_.

◆ getMaxZ()

double fastsim::Geometry::getMaxZ ( )
inline

Upper bound of the length/2 (0 to +Z) of the whole tracker geometry.

Necessary to initialize the magnetic field within this volume.

Returns
Upper bound of length/2 of the whole tracker geometry

Definition at line 83 of file Geometry.h.

83 { return maxZ_; }

References maxZ_.

◆ nextLayer() [1/2]

const BarrelSimplifiedGeometry* fastsim::Geometry::nextLayer ( const BarrelSimplifiedGeometry layer) const
inline

Helps to navigate through the vector of barrel layers.

For a given layer, returns the next layer (as ordered in std::vector<...> barrelLayers_).

Parameters
layerA barrel layer
Returns
The next layer (increasing radius). Returns 0 if last layer reached.

Definition at line 94 of file Geometry.h.

94  {
95  if (layer == nullptr) {
96  return nullptr;
97  }
98  unsigned nextLayerIndex = layer->index() + 1;
99  return nextLayerIndex < barrelLayers_.size() ? barrelLayers_[nextLayerIndex].get() : nullptr;
100  }

References barrelLayers_, and phase1PixelTopology::layer.

◆ nextLayer() [2/2]

const ForwardSimplifiedGeometry* fastsim::Geometry::nextLayer ( const ForwardSimplifiedGeometry layer) const
inline

Helps to navigate through the vector of forward layers.

For a given layer, returns the next layer (as ordered in std::vector<...> forwardLayers_).

Parameters
layerA forward layer
Returns
The next layer (increasing Z-position). Returns 0 if last layer reached.

Definition at line 108 of file Geometry.h.

108  {
109  if (layer == nullptr) {
110  return nullptr;
111  }
112  unsigned nextLayerIndex = layer->index() + 1;
113  return nextLayerIndex < forwardLayers_.size() ? forwardLayers_[nextLayerIndex].get() : nullptr;
114  }

References forwardLayers_, and phase1PixelTopology::layer.

◆ previousLayer() [1/2]

const BarrelSimplifiedGeometry* fastsim::Geometry::previousLayer ( const BarrelSimplifiedGeometry layer) const
inline

Helps to navigate through the vector of barrel layers.

For a given layer, returns the previous layer (as ordered in std::vector<...> barrelLayers_).

Parameters
layerA barrel layer
Returns
The previous layer (decreasing radius). Returns 0 if first layer reached.

Definition at line 122 of file Geometry.h.

122  {
123  if (layer == nullptr) {
124  return barrelLayers_.back().get();
125  }
126  return layer->index() > 0 ? barrelLayers_[layer->index() - 1].get() : nullptr;
127  }

References barrelLayers_, and phase1PixelTopology::layer.

◆ previousLayer() [2/2]

const ForwardSimplifiedGeometry* fastsim::Geometry::previousLayer ( const ForwardSimplifiedGeometry layer) const
inline

Helps to navigate through the vector of forward layers.

For a given layer, returns the previous layer (as ordered in std::vector<...> forwardLayers_).

Parameters
layerA forward layer
Returns
The previous layer (decreasing Z-position). Returns 0 if first layer reached.

Definition at line 135 of file Geometry.h.

135  {
136  if (layer == nullptr) {
137  return forwardLayers_.back().get();
138  }
139  return layer->index() > 0 ? forwardLayers_[layer->index() - 1].get() : nullptr;
140  }

References forwardLayers_, and phase1PixelTopology::layer.

◆ update()

void Geometry::update ( const edm::EventSetup iSetup,
const std::map< std::string, InteractionModel * > &  interactionModelMap 
)

Initializes the tracker geometry.

Calls SimplifiedGeometryFactory to initialize the vectors of barrel/forward layers and provides magnetic field and interaction models for those.

Parameters
iSetupThe Event Setup.
interactionModelMapMap of all interaction models considered (for any layer)
See also
SimplifiedGeometryFactory

Definition at line 50 of file Geometry.cc.

51  {
53  iSetup.get<IdealMagneticFieldRecord>().cacheIdentifier() == cacheIdentifierIdealMagneticField_) {
54  return;
55  }
56 
57  //----------------
58  // find tracker reconstruction geometry
59  //----------------
62  edm::ESHandle<GeometricSearchTracker> geometricSearchTrackerHandle;
63  iSetup.get<TrackerRecoGeometryRecord>().get(trackerAlignmentLabel_, geometricSearchTrackerHandle);
64  geometricSearchTracker_ = &(*geometricSearchTrackerHandle);
65  }
66  }
67 
68  //----------------
69  // update magnetic field
70  //----------------
72  if (useFixedMagneticFieldZ_) // use constant magnetic field
73  {
74  ownedMagneticField_ = std::make_unique<UniformMagneticField>(fixedMagneticFieldZ_);
76  } else // get magnetic field from EventSetup
77  {
80  magneticField_ = &(*magneticField);
81  }
82  }
83 
84  //---------------
85  // layer factory
86  //---------------
87  SimplifiedGeometryFactory simplifiedGeometryFactory(
88  geometricSearchTracker_, *magneticField_, interactionModelMap, maxRadius_, maxZ_);
89 
90  //---------------
91  // update barrel layers
92  //---------------
93  barrelLayers_.clear();
94  for (const edm::ParameterSet& layerCfg : barrelLayerCfg_) {
95  barrelLayers_.push_back(simplifiedGeometryFactory.createBarrelSimplifiedGeometry(layerCfg));
96  }
97 
98  // Hack to interface "old" calo to "new" tracking
99  if (barrelBoundary_) {
100  barrelLayers_.push_back(simplifiedGeometryFactory.createBarrelSimplifiedGeometry(trackerBarrelBoundaryCfg_));
102  }
103 
104  for (unsigned index = 0; index < barrelLayers_.size(); index++) {
105  // set index
106  barrelLayers_[index]->setIndex(index);
107  // check order
108  if (index > 0) {
109  if (barrelLayers_[index]->getRadius() <= barrelLayers_[index - 1]->getRadius()) {
110  throw cms::Exception("fastsim::Geometry")
111  << "barrel layers must be ordered according to increading radius"
112  << "\nbarrel layer " << index << " has radius smaller than or equal to radius of barrel layer " << index - 1
113  << " (" << barrelLayers_[index]->getRadius() << "/" << barrelLayers_[index - 1]->getRadius() << ")";
114  }
115  }
116  }
117 
118  //--------------
119  // update forward layers
120  //--------------
121  forwardLayers_.clear();
122  for (const edm::ParameterSet& layerCfg : forwardLayerCfg_) {
123  forwardLayers_.push_back(simplifiedGeometryFactory.createForwardSimplifiedGeometry(
125  forwardLayers_.insert(forwardLayers_.begin(),
126  simplifiedGeometryFactory.createForwardSimplifiedGeometry(
128  }
129 
130  // Hack to interface "old" calo to "new" tracking
131  if (forwardBoundary_) {
132  forwardLayers_.push_back(simplifiedGeometryFactory.createForwardSimplifiedGeometry(
135  forwardLayers_.insert(forwardLayers_.begin(),
136  simplifiedGeometryFactory.createForwardSimplifiedGeometry(
139  }
140 
141  for (unsigned index = 0; index < forwardLayers_.size(); index++) {
142  // set index
143  forwardLayers_[index]->setIndex(index);
144  // check order
145  if (index > 0) {
146  if (forwardLayers_[index]->getZ() <= forwardLayers_[index - 1]->getZ()) {
147  throw cms::Exception("fastsim::Geometry")
148  << "forward layers must be ordered according to increasing z"
149  << "forward layer " << index << " has z smaller than or equal to z of forward layer " << index - 1;
150  }
151  }
152  }
153 }

References barrelBoundary_, barrelLayerCfg_, barrelLayers_, edm::eventsetup::EventSetupRecord::cacheIdentifier(), cacheIdentifierIdealMagneticField_, cacheIdentifierTrackerRecoGeometry_, fastsim::SimplifiedGeometryFactory::createBarrelSimplifiedGeometry(), fastsim::SimplifiedGeometryFactory::createForwardSimplifiedGeometry(), Exception, fixedMagneticFieldZ_, forwardBoundary_, forwardLayerCfg_, forwardLayers_, geometricSearchTracker_, edm::EventSetup::get(), get, HLT_FULL_cff::magneticField, magneticField_, maxRadius_, maxZ_, fastsim::SimplifiedGeometryFactory::NEGFWD, ownedMagneticField_, fastsim::SimplifiedGeometryFactory::POSFWD, trackerAlignmentLabel_, trackerBarrelBoundaryCfg_, fastsim::SimplifiedGeometry::TRACKERBOUNDARY, trackerForwardBoundaryCfg_, useFixedMagneticFieldZ_, and useTrackerRecoGeometryRecord_.

Referenced by progressbar.ProgressBar::__next__(), MatrixUtil.Matrix::__setitem__(), MatrixUtil.Steps::__setitem__(), progressbar.ProgressBar::finish(), MatrixUtil.Steps::overwrite(), and FastSimProducer::produce().

Friends And Related Function Documentation

◆ operator<<

std::ostream& operator<< ( std::ostream &  o,
const fastsim::Geometry geometry 
)
friend

Provides some basic output for e.g. debugging.

Member Data Documentation

◆ barrelBoundary_

const bool fastsim::Geometry::barrelBoundary_
private

Upper bound of the length/2 (0 to +Z) of the whole tracker geometry.

Hack to interface "old" calo to "new" tracking

Definition at line 167 of file Geometry.h.

Referenced by update().

◆ barrelLayerCfg_

const std::vector<edm::ParameterSet> fastsim::Geometry::barrelLayerCfg_
private

The config in which all parameters of the barrel layers are defined.

Definition at line 161 of file Geometry.h.

Referenced by update().

◆ barrelLayers_

std::vector<std::unique_ptr<BarrelSimplifiedGeometry> > fastsim::Geometry::barrelLayers_
private

The vector of barrel layers (increasing radius)

Definition at line 144 of file Geometry.h.

Referenced by barrelLayers(), nextLayer(), previousLayer(), and update().

◆ cacheIdentifierIdealMagneticField_

unsigned long long fastsim::Geometry::cacheIdentifierIdealMagneticField_
private

Check interval of validity of the magnetic field.

Definition at line 151 of file Geometry.h.

Referenced by update().

◆ cacheIdentifierTrackerRecoGeometry_

unsigned long long fastsim::Geometry::cacheIdentifierTrackerRecoGeometry_
private

Check interval of validity of the tracker geometry.

Definition at line 150 of file Geometry.h.

Referenced by update().

◆ fixedMagneticFieldZ_

const double fastsim::Geometry::fixedMagneticFieldZ_
private

Use a uniform magnetic field or non-uniform from MagneticFieldRecord.

Definition at line 156 of file Geometry.h.

Referenced by update().

◆ forwardBoundary_

const bool fastsim::Geometry::forwardBoundary_
private

Hack to interface "old" calo to "new" tracking.

Definition at line 168 of file Geometry.h.

Referenced by update().

◆ forwardLayerCfg_

const std::vector<edm::ParameterSet> fastsim::Geometry::forwardLayerCfg_
private

The config in which all parameters of the forward layers are defined.

Definition at line 163 of file Geometry.h.

Referenced by update().

◆ forwardLayers_

std::vector<std::unique_ptr<ForwardSimplifiedGeometry> > fastsim::Geometry::forwardLayers_
private

The vector of forward layers (increasing Z-position)

Definition at line 146 of file Geometry.h.

Referenced by forwardLayers(), nextLayer(), previousLayer(), and update().

◆ geometricSearchTracker_

const GeometricSearchTracker* fastsim::Geometry::geometricSearchTracker_
private

Definition at line 153 of file Geometry.h.

Referenced by update().

◆ magneticField_

const MagneticField* fastsim::Geometry::magneticField_
private

The tracker geometry.

The magnetic field

Definition at line 154 of file Geometry.h.

Referenced by update().

◆ maxRadius_

const double fastsim::Geometry::maxRadius_
private

Definition at line 164 of file Geometry.h.

Referenced by getMaxRadius(), and update().

◆ maxZ_

const double fastsim::Geometry::maxZ_
private

Upper bound of the radius of the whole tracker geometry.

Definition at line 165 of file Geometry.h.

Referenced by getMaxZ(), and update().

◆ ownedMagneticField_

std::unique_ptr<MagneticField> fastsim::Geometry::ownedMagneticField_
private

Needed to create a uniform magnetic field if speciefied in config.

Definition at line 148 of file Geometry.h.

Referenced by update().

◆ trackerAlignmentLabel_

const std::string fastsim::Geometry::trackerAlignmentLabel_
private

The tracker alignment label.

Definition at line 159 of file Geometry.h.

Referenced by update().

◆ trackerBarrelBoundaryCfg_

const edm::ParameterSet fastsim::Geometry::trackerBarrelBoundaryCfg_
private

Hack to interface "old" calo to "new" tracking.

Definition at line 169 of file Geometry.h.

Referenced by update().

◆ trackerForwardBoundaryCfg_

const edm::ParameterSet fastsim::Geometry::trackerForwardBoundaryCfg_
private

Hack to interface "old" calo to "new" tracking.

Definition at line 170 of file Geometry.h.

Referenced by update().

◆ useFixedMagneticFieldZ_

const bool fastsim::Geometry::useFixedMagneticFieldZ_
private

Needed to create a uniform magnetic field if speciefied in config.

Definition at line 155 of file Geometry.h.

Referenced by update().

◆ useTrackerRecoGeometryRecord_

const bool fastsim::Geometry::useTrackerRecoGeometryRecord_
private

Use GeometricSearchTracker (active layers/reco geometry). Can be used to get position/radius of tracker material that reflects active layers.

Definition at line 158 of file Geometry.h.

Referenced by update().

fastsim::Geometry::trackerBarrelBoundaryCfg_
const edm::ParameterSet trackerBarrelBoundaryCfg_
Hack to interface "old" calo to "new" tracking.
Definition: Geometry.h:169
MagneticField::inTesla
virtual GlobalVector inTesla(const GlobalPoint &gp) const =0
Field value ad specified global point, in Tesla.
fastsim::Geometry::magneticField_
const MagneticField * magneticField_
The tracker geometry.
Definition: Geometry.h:154
fastsim::Geometry::trackerForwardBoundaryCfg_
const edm::ParameterSet trackerForwardBoundaryCfg_
Hack to interface "old" calo to "new" tracking.
Definition: Geometry.h:170
fastsim::Geometry::forwardBoundary_
const bool forwardBoundary_
Hack to interface "old" calo to "new" tracking.
Definition: Geometry.h:168
fastsim::Geometry::cacheIdentifierIdealMagneticField_
unsigned long long cacheIdentifierIdealMagneticField_
Check interval of validity of the magnetic field.
Definition: Geometry.h:151
fastsim::Geometry::trackerAlignmentLabel_
const std::string trackerAlignmentLabel_
The tracker alignment label.
Definition: Geometry.h:159
fastsim::Geometry::cacheIdentifierTrackerRecoGeometry_
unsigned long long cacheIdentifierTrackerRecoGeometry_
Check interval of validity of the tracker geometry.
Definition: Geometry.h:150
fastsim::Geometry::maxRadius_
const double maxRadius_
Definition: Geometry.h:164
fastsim::Geometry::ownedMagneticField_
std::unique_ptr< MagneticField > ownedMagneticField_
Needed to create a uniform magnetic field if speciefied in config.
Definition: Geometry.h:148
fastsim::Geometry::barrelLayers_
std::vector< std::unique_ptr< BarrelSimplifiedGeometry > > barrelLayers_
The vector of barrel layers (increasing radius)
Definition: Geometry.h:144
fastsim::Geometry::fixedMagneticFieldZ_
const double fixedMagneticFieldZ_
Use a uniform magnetic field or non-uniform from MagneticFieldRecord.
Definition: Geometry.h:156
TrackerRecoGeometryRecord
Definition: TrackerRecoGeometryRecord.h:14
HLT_FULL_cff.magneticField
magneticField
Definition: HLT_FULL_cff.py:348
fastsim::SimplifiedGeometryFactory
Constructs a tracker layer according to entry in python config (incl interaction models).
Definition: SimplifiedGeometryFactory.h:40
fastsim::Geometry::barrelLayerCfg_
const std::vector< edm::ParameterSet > barrelLayerCfg_
The config in which all parameters of the barrel layers are defined.
Definition: Geometry.h:161
PV3DBase::z
T z() const
Definition: PV3DBase.h:61
IdealMagneticFieldRecord
Definition: IdealMagneticFieldRecord.h:11
fastsim::SimplifiedGeometryFactory::POSFWD
Definition: SimplifiedGeometryFactory.h:57
fastsim::SimplifiedGeometryFactory::NEGFWD
Definition: SimplifiedGeometryFactory.h:57
edm::EventSetup::get
T get() const
Definition: EventSetup.h:87
fastsim::Geometry::maxZ_
const double maxZ_
Upper bound of the radius of the whole tracker geometry.
Definition: Geometry.h:165
edm::ESHandle< GeometricSearchTracker >
fastsim::Geometry::barrelBoundary_
const bool barrelBoundary_
Upper bound of the length/2 (0 to +Z) of the whole tracker geometry.
Definition: Geometry.h:167
GlobalPoint
Global3DPoint GlobalPoint
Definition: GlobalPoint.h:10
fastsim::SimplifiedGeometry::TRACKERBOUNDARY
Definition: SimplifiedGeometry.h:59
fastsim::Geometry::useTrackerRecoGeometryRecord_
const bool useTrackerRecoGeometryRecord_
Use GeometricSearchTracker (active layers/reco geometry). Can be used to get position/radius of track...
Definition: Geometry.h:158
phase1PixelTopology::layer
constexpr std::array< uint8_t, layerIndexSize > layer
Definition: phase1PixelTopology.h:99
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
edm::ParameterSet
Definition: ParameterSet.h:47
position
static int position[264][3]
Definition: ReadPGInfo.cc:289
fastsim::Geometry::geometricSearchTracker_
const GeometricSearchTracker * geometricSearchTracker_
Definition: Geometry.h:153
get
#define get
looper.cfg
cfg
Definition: looper.py:297
fastsim::Geometry::forwardLayers_
std::vector< std::unique_ptr< ForwardSimplifiedGeometry > > forwardLayers_
The vector of forward layers (increasing Z-position)
Definition: Geometry.h:146
Exception
Definition: hltDiff.cc:245
AlignmentPI::index
index
Definition: AlignmentPayloadInspectorHelper.h:46
edm::eventsetup::EventSetupRecord::cacheIdentifier
unsigned long long cacheIdentifier() const
Definition: EventSetupRecord.h:187
fastsim::Geometry::forwardLayerCfg_
const std::vector< edm::ParameterSet > forwardLayerCfg_
The config in which all parameters of the forward layers are defined.
Definition: Geometry.h:163
fastsim::Geometry::useFixedMagneticFieldZ_
const bool useFixedMagneticFieldZ_
Needed to create a uniform magnetic field if speciefied in config.
Definition: Geometry.h:155