CMS 3D CMS Logo

PixelTopology.h
Go to the documentation of this file.
1 #ifndef Geometry_CommonTopologies_PixelTopology_H
2 #define Geometry_CommonTopologies_PixelTopology_H
3 
5 
10 class PixelTopology : public Topology {
11 public:
13  ~PixelTopology() override {}
14 
15  // The following methods are moved to the base class (Topology)
16 
17  // virtual LocalPoint local_position( float channel) const = 0;
18  // virtual LocalError local_error( float err) const = 0;
19  // virtual int channel( const LocalPoint& p) const = 0;
20 
21  virtual std::pair<float, float> pixel(const LocalPoint &p) const = 0;
22 
24  virtual std::pair<float, float> pixel(const LocalPoint &p, const Topology::LocalTrackAngles & /*ltp*/) const {
25  return pixel(p);
26  }
27 
28  virtual std::pair<float, float> pitch() const = 0;
29  virtual int nrows() const = 0;
30  virtual int ncolumns() const = 0;
31 
32  virtual int rocsY() const = 0;
33  virtual int rocsX() const = 0;
34  virtual int rowsperroc() const = 0;
35  virtual int colsperroc() const = 0;
36 
37  virtual float localX(float mpX) const = 0;
38  virtual float localY(float mpY) const = 0;
39  virtual float localX(const float mpX, const Topology::LocalTrackPred & /*trk*/) const { return localX(mpX); }
40  virtual float localY(const float mpY, const Topology::LocalTrackPred & /*trk*/) const { return localY(mpY); }
41 
42  virtual bool isItBigPixelInX(int ixbin) const = 0;
43  virtual bool isItBigPixelInY(int iybin) const = 0;
44  virtual bool containsBigPixelInX(int ixmin, int ixmax) const = 0;
45  virtual bool containsBigPixelInY(int iymin, int iymax) const = 0;
46 
47  virtual bool isItEdgePixelInX(int ixbin) const = 0;
48  virtual bool isItEdgePixelInY(int iybin) const = 0;
49  virtual bool isItEdgePixel(int ixbin, int iybin) const = 0;
50 };
51 
52 #endif
PixelTopology::isItEdgePixelInX
virtual bool isItEdgePixelInX(int ixbin) const =0
PixelTopology::colsperroc
virtual int colsperroc() const =0
AlCaHLTBitMon_ParallelJobs.p
p
Definition: AlCaHLTBitMon_ParallelJobs.py:153
PixelTopology::pitch
virtual std::pair< float, float > pitch() const =0
PixelTopology::isItEdgePixel
virtual bool isItEdgePixel(int ixbin, int iybin) const =0
PixelTopology::isItEdgePixelInY
virtual bool isItEdgePixelInY(int iybin) const =0
PixelTopology::isItBigPixelInX
virtual bool isItBigPixelInX(int ixbin) const =0
PixelTopology::containsBigPixelInX
virtual bool containsBigPixelInX(int ixmin, int ixmax) const =0
Topology::LocalTrackPred
Definition: Topology.h:56
PixelTopology::rocsX
virtual int rocsX() const =0
PixelTopology::ncolumns
virtual int ncolumns() const =0
Point3DBase< float, LocalTag >
PixelTopology
Definition: PixelTopology.h:10
PixelTopology::~PixelTopology
~PixelTopology() override
Definition: PixelTopology.h:13
PixelTopology::isItBigPixelInY
virtual bool isItBigPixelInY(int iybin) const =0
Topology::LocalTrackAngles
Definition: Topology.h:44
PixelTopology::rowsperroc
virtual int rowsperroc() const =0
PixelTopology::localX
virtual float localX(const float mpX, const Topology::LocalTrackPred &) const
Definition: PixelTopology.h:39
PixelTopology::containsBigPixelInY
virtual bool containsBigPixelInY(int iymin, int iymax) const =0
PixelTopology::pixel
virtual std::pair< float, float > pixel(const LocalPoint &p) const =0
PixelTopology::localY
virtual float localY(float mpY) const =0
PixelTopology::rocsY
virtual int rocsY() const =0
PixelTopology::localX
virtual float localX(float mpX) const =0
Topology
Definition: Topology.h:39
PixelTopology::nrows
virtual int nrows() const =0
PixelTopology::localY
virtual float localY(const float mpY, const Topology::LocalTrackPred &) const
Definition: PixelTopology.h:40
Topology.h
PixelTopology::pixel
virtual std::pair< float, float > pixel(const LocalPoint &p, const Topology::LocalTrackAngles &) const
conversion taking also the angle from the track state
Definition: PixelTopology.h:24