CMS 3D CMS Logo

RPixDetTrackFinder.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 RecoCTPPS_PixelLocal_RPixDetTrackFinder_H
11 #define RecoCTPPS_PixelLocal_RPixDetTrackFinder_H
12 
14 
18 
19 
20 #include "CLHEP/Vector/ThreeVector.h"
22 
23 #include <vector>
24 #include <map>
25 
27 
28  public:
30 
31  virtual ~RPixDetTrackFinder() {};
32 
33  void setHits(std::map<CTPPSPixelDetId, std::vector<RPixDetPatternFinder::PointInPlane> > *hitMap) {hitMap_ = hitMap; }
34  virtual void findTracks()=0;
35  virtual void initialize()=0;
36  void clear(){
37  localTrackVector_.clear();
38  }
39  std::vector<CTPPSPixelLocalTrack> const& getLocalTracks() const {return localTrackVector_; }
42  void setListOfPlanes(std::vector<uint32_t> listOfAllPlanes) { listOfAllPlanes_ = listOfAllPlanes; }
43  void setZ0(double z0) { z0_ = z0; }
44 
45 
46  protected:
47  std::map<CTPPSPixelDetId, std::vector<RPixDetPatternFinder::PointInPlane> > *hitMap_;
48  std::vector<CTPPSPixelLocalTrack> localTrackVector_;
52  std::vector<uint32_t> listOfAllPlanes_;
53  double z0_;
54 
55 };
56 
57 #endif
virtual void initialize()=0
std::vector< CTPPSPixelLocalTrack > localTrackVector_
void setZ0(double z0)
std::vector< CTPPSPixelLocalTrack > const & getLocalTracks() const
RPixDetTrackFinder(edm::ParameterSet const &parameterSet)
std::map< CTPPSPixelDetId, std::vector< RPixDetPatternFinder::PointInPlane > > * hitMap_
std::vector< uint32_t > listOfAllPlanes_
The manager class for TOTEM RP geometry.
Definition: CTPPSGeometry.h:33
void setRomanPotId(CTPPSPixelDetId rpId)
const CTPPSGeometry * geometry_
virtual void findTracks()=0
ESHandle< TrackerGeometry > geometry
void setGeometry(const CTPPSGeometry *geometry)
CTPPSPixelDetId romanPotId_
ParameterSet const & parameterSet(Provenance const &provenance)
Definition: Provenance.cc:11
void setHits(std::map< CTPPSPixelDetId, std::vector< RPixDetPatternFinder::PointInPlane > > *hitMap)
void setListOfPlanes(std::vector< uint32_t > listOfAllPlanes)