forked from cms-sw/cmssw
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTrackerGeomBuilderFromGeometricDet.h
38 lines (29 loc) · 1.24 KB
/
TrackerGeomBuilderFromGeometricDet.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#ifndef Geometry_TrackerGeometryBuilder_TrackerGeomBuilderFromGeometricDet_H
#define Geometry_TrackerGeometryBuilder_TrackerGeomBuilderFromGeometricDet_H
#include <string>
#include <vector>
#include <map>
#include "Geometry/TrackerGeometryBuilder/interface/PlaneBuilderFromGeometricDet.h"
#include "Geometry/TrackerNumberingBuilder/interface/GeometricDet.h"
#include "Geometry/CommonDetUnit/interface/GeomDetType.h"
class TrackerGeometry;
class PixelGeomDetType;
class StripGeomDetType;
class TrackerGeomBuilderFromGeometricDet {
public:
TrackerGeometry* build(const GeometricDet* gd, const edm::ParameterSet& pSet );
private:
void buildPixel(std::vector<const GeometricDet*> const &,
TrackerGeometry*,GeomDetType::SubDetector det,
bool upgradeGeometry,
int BIG_PIX_PER_ROC_X,
int BIG_PIX_PER_ROC_Y);
void buildSilicon(std::vector<const GeometricDet*> const &,
TrackerGeometry*,GeomDetType::SubDetector det, const std::string& part);
void buildGeomDet(TrackerGeometry*);
PlaneBuilderFromGeometricDet::ResultType
buildPlaneWithMaterial(const GeometricDet* gd,double scaleFactor=1.) const;
std::map<std::string,PixelGeomDetType*> thePixelDetTypeMap;
std::map<std::string,StripGeomDetType*> theStripDetTypeMap;
};
#endif