1 #ifndef FASTSIM_GEOMETRY_H 2 #define FASTSIM_GEOMETRY_H 27 class InteractionModel;
51 void update(
const edm::EventSetup & iSetup,
const std::map<std::string,InteractionModel*> & interactionModelMap);
66 const std::vector<std::unique_ptr<BarrelSimplifiedGeometry> >&
barrelLayers()
const {
return barrelLayers_; }
73 const std::vector<std::unique_ptr<ForwardSimplifiedGeometry> >&
forwardLayers()
const {
return forwardLayers_; }
104 unsigned nextLayerIndex = layer->
index() + 1;
105 return nextLayerIndex < barrelLayers_.size() ? barrelLayers_[nextLayerIndex].get() :
nullptr;
120 unsigned nextLayerIndex = layer->
index() + 1;
121 return nextLayerIndex < forwardLayers_.size() ? forwardLayers_[nextLayerIndex].get() :
nullptr;
134 return barrelLayers_.back().get();
136 return layer->
index() > 0 ? barrelLayers_[layer->
index() -1].get() :
nullptr;
149 return forwardLayers_.back().get();
151 return layer->
index() > 0 ? forwardLayers_[layer->
index() -1].get() :
nullptr;
const bool useTrackerRecoGeometryRecord_
Use GeometricSearchTracker (active layers/reco geometry). Can be used to get position/radius of track...
unsigned long long cacheIdentifierTrackerRecoGeometry_
Check interval of validity of the tracker geometry.
Implementation of a forward detector layer (disk).
double getMaxRadius()
Upper bound of the radius of the whole tracker geometry.
std::vector< std::unique_ptr< BarrelSimplifiedGeometry > > barrelLayers_
The vector of barrel layers (increasing radius)
const GeometricSearchTracker * geometricSearchTracker_
const std::vector< std::unique_ptr< ForwardSimplifiedGeometry > > & forwardLayers() const
Return the vector of forward layers (disks).
const MagneticField * magneticField_
The tracker geometry.
const BarrelSimplifiedGeometry * nextLayer(const BarrelSimplifiedGeometry *layer) const
Helps to navigate through the vector of barrel layers.
const std::vector< edm::ParameterSet > forwardLayerCfg_
The config in which all parameters of the forward layers are defined.
Implementation of a barrel detector layer (cylindrical).
const std::vector< edm::ParameterSet > barrelLayerCfg_
The config in which all parameters of the barrel layers are defined.
const double fixedMagneticFieldZ_
Use a uniform magnetic field or non-uniform from MagneticFieldRecord.
const double maxZ_
Upper bound of the radius of the whole tracker geometry.
const edm::ParameterSet trackerForwardBoundaryCfg_
Hack to interface "old" calo to "new" tracking.
const ForwardSimplifiedGeometry * nextLayer(const ForwardSimplifiedGeometry *layer) const
Helps to navigate through the vector of forward layers.
const std::string trackerAlignmentLabel_
The tracker alignment label.
XYZTLorentzVectorD XYZTLorentzVector
Lorentz vector with cylindrical internal representation using pseudorapidity.
std::unique_ptr< MagneticField > ownedMagneticField_
Needed to create a uniform magnetic field if speciefied in config.
const bool forwardBoundary_
Hack to interface "old" calo to "new" tracking.
const BarrelSimplifiedGeometry * previousLayer(const BarrelSimplifiedGeometry *layer) const
Helps to navigate through the vector of barrel layers.
double getMaxZ()
Upper bound of the length/2 (0 to +Z) of the whole tracker geometry.
const edm::ParameterSet trackerBarrelBoundaryCfg_
Hack to interface "old" calo to "new" tracking.
Definition the tracker geometry (vectors of forward/barrel layers).
const std::vector< std::unique_ptr< BarrelSimplifiedGeometry > > & barrelLayers() const
Return the vector of barrel layers.
int index() const
Return index of this layer (layers are numbered according to their position in the detector)...
static int position[264][3]
std::vector< std::unique_ptr< ForwardSimplifiedGeometry > > forwardLayers_
The vector of forward layers (increasing Z-position)
const ForwardSimplifiedGeometry * previousLayer(const ForwardSimplifiedGeometry *layer) const
Helps to navigate through the vector of forward layers.
const bool useFixedMagneticFieldZ_
Needed to create a uniform magnetic field if speciefied in config.
std::ostream & operator<<(std::ostream &ost, const HLTGlobalStatus &hlt)
Formatted printout of trigger tbale.
const bool barrelBoundary_
Upper bound of the length/2 (0 to +Z) of the whole tracker geometry.
unsigned long long cacheIdentifierIdealMagneticField_
Check interval of validity of the magnetic field.