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 RecoPPS_Local_RPixDetTrackFinder_H
11 #define RecoPPS_Local_RPixDetTrackFinder_H
12 
14 
18 
20 
21 #include <vector>
22 #include <map>
23 
25 public:
27 
28  virtual ~RPixDetTrackFinder(){};
29 
30  void setHits(std::map<CTPPSPixelDetId, std::vector<RPixDetPatternFinder::PointInPlane> > *hitMap) {
31  hitMap_ = hitMap;
32  }
33  virtual void findTracks(int run) = 0;
34  virtual void initialize() = 0;
35  void clear() { localTrackVector_.clear(); }
36  std::vector<CTPPSPixelLocalTrack> const &getLocalTracks() const { return localTrackVector_; }
37  void setRomanPotId(CTPPSPixelDetId rpId) { romanPotId_ = rpId; };
39  void setListOfPlanes(std::vector<uint32_t> listOfAllPlanes) { listOfAllPlanes_ = listOfAllPlanes; }
40  void setZ0(double z0) { z0_ = z0; }
41 
42 protected:
43  std::map<CTPPSPixelDetId, std::vector<RPixDetPatternFinder::PointInPlane> > *hitMap_;
44  std::vector<CTPPSPixelLocalTrack> localTrackVector_;
48  std::vector<uint32_t> listOfAllPlanes_;
49  double z0_;
50 };
51 
52 #endif
std::vector< CTPPSPixelLocalTrack > const & getLocalTracks() const
virtual void initialize()=0
ParameterSet const & parameterSet(StableProvenance const &provenance, ProcessHistory const &history)
Definition: Provenance.cc:11
std::vector< CTPPSPixelLocalTrack > localTrackVector_
void setZ0(double z0)
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:30
void setRomanPotId(CTPPSPixelDetId rpId)
const CTPPSGeometry * geometry_
void setGeometry(const CTPPSGeometry *geometry)
CTPPSPixelDetId romanPotId_
void setHits(std::map< CTPPSPixelDetId, std::vector< RPixDetPatternFinder::PointInPlane > > *hitMap)
virtual void findTracks(int run)=0
void setListOfPlanes(std::vector< uint32_t > listOfAllPlanes)