Go to the documentation of this file. 1 #ifndef FASTSIM_SIMPLIFIEDGEOMETRYFACTORY
2 #define FASTSIM_SIMPLIFIEDGEOMETRYFACTORY
28 class SimplifiedGeometry;
29 class BarrelSimplifiedGeometry;
30 class ForwardSimplifiedGeometry;
31 class InteractionModel;
52 const std::map<std::string, fastsim::InteractionModel *> &interactionModelMap,
53 double magneticFieldHistMaxR,
54 double magneticFieldHistMaxZ);
101 std::map<std::string, const std::vector<BarrelDetLayer const *> *>
103 std::map<std::string, const std::vector<ForwardDetLayer const *> *>
std::unique_ptr< ForwardSimplifiedGeometry > createForwardSimplifiedGeometry(LayerType type, const edm::ParameterSet &cfg) const
Helper method for createSimplifiedGeometry(..) to create a forward layer (ForwardSimplifiedGeometry).
std::map< std::string, const std::vector< BarrelDetLayer const * > * > barrelDetLayersMap_
A map of strings and pointers to detLayers.
const MagneticField *const magneticField_
The full magnetic field.
SimplifiedGeometryFactory(const GeometricSearchTracker *geometricSearchTracker, const MagneticField &magneticField, const std::map< std::string, fastsim::InteractionModel * > &interactionModelMap, double magneticFieldHistMaxR, double magneticFieldHistMaxZ)
Constructor.
Constructs a tracker layer according to entry in python config (incl interaction models).
std::unique_ptr< BarrelSimplifiedGeometry > createBarrelSimplifiedGeometry(const edm::ParameterSet &cfg) const
Helper method for createSimplifiedGeometry(..) to create a barrel layer (BarrelSimplifiedGeometry).
std::unique_ptr< SimplifiedGeometry > createSimplifiedGeometry(LayerType type, const edm::ParameterSet &cfg) const
Main method of this class. Creates a new detector layer (SimplifiedGeometry).
const std::map< std::string, fastsim::InteractionModel * > * interactionModelMap_
Map of interaction models.
LayerType
Each layer is either a barrel layer, or a forward layer (either at ppositive or negative Z).
const double magneticFieldHistMaxR_
Limit in R for histogram of magnetic field.
const GeometricSearchTracker *const geometricSearchTracker_
The full tracker geometry.
const double magneticFieldHistMaxZ_
Limit in +-Z for histogram of magnetic field.
std::map< std::string, const std::vector< ForwardDetLayer const * > * > forwardDetLayersMap_
A map of strings and pointers to detLayers.
const DetLayer * getDetLayer(const std::string &detLayerName, const GeometricSearchTracker &geometricSearchTracker) const
Method returns a pointer to a DetLayer according to the string that was passed.