CMS 3D CMS Logo

RPixDetPatternFinder.h
Go to the documentation of this file.
1 /*
2  *
3 * This is a part of CTPPS offline software.
4 * Author:
5 * Fabrizio Ferro (ferro@ge.infn.it)
6 * Enrico Robutti (robutti@ge.infn.it)
7 * Fabio Ravera (fabio.ravera@cern.ch)
8 *
9 */
10 #ifndef RecoPPS_Local_RPixDetPatternFinder_H
11 #define RecoPPS_Local_RPixDetPatternFinder_H
12 
14 
17 
20 
23 
24 #include <vector>
25 
27 public:
29 
30  virtual ~RPixDetPatternFinder(){};
31 
32  typedef struct {
37  } PointInPlane;
38  typedef std::vector<PointInPlane> Road;
39 
40  void setHits(const edm::DetSetVector<CTPPSPixelRecHit> *hitVector) { hitVector_ = hitVector; }
41  virtual void findPattern() = 0;
42  void clear() { patternVector_.clear(); }
43  std::vector<Road> const &getPatterns() const { return patternVector_; }
45 
46 protected:
48  std::vector<Road> patternVector_;
50 };
51 
52 #endif
RPixDetPatternFinder::RPixDetPatternFinder
RPixDetPatternFinder(edm::ParameterSet const &parameterSet)
Definition: RPixDetPatternFinder.h:28
edm::DetSetVector< CTPPSPixelRecHit >
RPixDetPatternFinder::~RPixDetPatternFinder
virtual ~RPixDetPatternFinder()
Definition: RPixDetPatternFinder.h:30
geometry
ESHandle< TrackerGeometry > geometry
Definition: TkLasBeamFitter.cc:200
CTPPSPixelRecHit
Definition: CTPPSPixelRecHit.h:17
CTPPSGeometry
The manager class for TOTEM RP geometry.
Definition: CTPPSGeometry.h:29
RPixDetPatternFinder::hitVector_
const edm::DetSetVector< CTPPSPixelRecHit > * hitVector_
Definition: RPixDetPatternFinder.h:47
RPixDetPatternFinder::PointInPlane::detId
CTPPSPixelDetId detId
Definition: RPixDetPatternFinder.h:36
geometry
Definition: geometry.py:1
CTPPSPixelDetId.h
RPixDetPatternFinder::PointInPlane::globalError
math::Error< 3 >::type globalError
Definition: RPixDetPatternFinder.h:34
CTPPSPixelRecHit.h
RPixDetPatternFinder::setGeometry
void setGeometry(const CTPPSGeometry *geometry)
Definition: RPixDetPatternFinder.h:44
RPixDetPatternFinder::Road
std::vector< PointInPlane > Road
Definition: RPixDetPatternFinder.h:38
CTPPSGeometry.h
RPixDetPatternFinder::PointInPlane::globalPoint
CTPPSGeometry::Vector globalPoint
Definition: RPixDetPatternFinder.h:33
RPixDetPatternFinder::PointInPlane::recHit
CTPPSPixelRecHit recHit
Definition: RPixDetPatternFinder.h:35
Error.h
edm::ParameterSet
Definition: ParameterSet.h:36
RPixDetPatternFinder::setHits
void setHits(const edm::DetSetVector< CTPPSPixelRecHit > *hitVector)
Definition: RPixDetPatternFinder.h:40
PointInPlane
std::pair< double, double > PointInPlane
Definition: HoughGrouping.h:29
DetSetVector.h
CTPPSPixelDetId
Definition: CTPPSPixelDetId.h:16
RPixDetPatternFinder::geometry_
const CTPPSGeometry * geometry_
Definition: RPixDetPatternFinder.h:49
RPixDetPatternFinder::getPatterns
const std::vector< Road > & getPatterns() const
Definition: RPixDetPatternFinder.h:43
math::Error::type
ErrorD< N >::type type
Definition: Error.h:32
edm::parameterSet
ParameterSet const & parameterSet(Provenance const &provenance, ProcessHistory const &history)
Definition: Provenance.cc:11
DetSet.h
RPixDetPatternFinder::clear
void clear()
Definition: RPixDetPatternFinder.h:42
ParameterSet.h
RPixDetPatternFinder::findPattern
virtual void findPattern()=0
RPixDetPatternFinder
Definition: RPixDetPatternFinder.h:26
RPixDetPatternFinder::patternVector_
std::vector< Road > patternVector_
Definition: RPixDetPatternFinder.h:48
CTPPSGeometry::Vector
DetGeomDesc::Translation Vector
Definition: CTPPSGeometry.h:39