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_; }
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
RPixDetTrackFinder::RPixDetTrackFinder
RPixDetTrackFinder(edm::ParameterSet const &parameterSet)
Definition: RPixDetTrackFinder.h:26
RPixDetTrackFinder::setGeometry
void setGeometry(const CTPPSGeometry *geometry)
Definition: RPixDetTrackFinder.h:38
geometry
ESHandle< TrackerGeometry > geometry
Definition: TkLasBeamFitter.cc:200
CTPPSPixelLocalTrack.h
CTPPSGeometry
The manager class for TOTEM RP geometry.
Definition: CTPPSGeometry.h:29
RPixDetTrackFinder::listOfAllPlanes_
std::vector< uint32_t > listOfAllPlanes_
Definition: RPixDetTrackFinder.h:48
RPixDetTrackFinder::setRomanPotId
void setRomanPotId(CTPPSPixelDetId rpId)
Definition: RPixDetTrackFinder.h:37
geometry
Definition: geometry.py:1
CTPPSPixelDetId.h
RPixDetTrackFinder::localTrackVector_
std::vector< CTPPSPixelLocalTrack > localTrackVector_
Definition: RPixDetTrackFinder.h:44
RPixDetTrackFinder::getLocalTracks
const std::vector< CTPPSPixelLocalTrack > & getLocalTracks() const
Definition: RPixDetTrackFinder.h:36
year_2016_postTS2_cff.rpId
rpId
Definition: year_2016_postTS2_cff.py:23
CTPPSGeometry.h
RPixDetTrackFinder::romanPotId_
CTPPSPixelDetId romanPotId_
Definition: RPixDetTrackFinder.h:45
RPixDetPatternFinder.h
RPixDetTrackFinder::z0_
double z0_
Definition: RPixDetTrackFinder.h:49
RPixDetTrackFinder::findTracks
virtual void findTracks(int run)=0
RPixDetTrackFinder::setHits
void setHits(std::map< CTPPSPixelDetId, std::vector< RPixDetPatternFinder::PointInPlane > > *hitMap)
Definition: RPixDetTrackFinder.h:30
HLTMuonOfflineAnalyzer_cfi.z0
z0
Definition: HLTMuonOfflineAnalyzer_cfi.py:98
edm::ParameterSet
Definition: ParameterSet.h:47
RPixDetTrackFinder
Definition: RPixDetTrackFinder.h:24
RPixDetTrackFinder::geometry_
const CTPPSGeometry * geometry_
Definition: RPixDetTrackFinder.h:46
RPixDetTrackFinder::setZ0
void setZ0(double z0)
Definition: RPixDetTrackFinder.h:40
RPixDetTrackFinder::numberOfPlanesPerPot_
uint32_t numberOfPlanesPerPot_
Definition: RPixDetTrackFinder.h:47
CTPPSPixelDetId
Definition: CTPPSPixelDetId.h:16
RPixDetTrackFinder::clear
void clear()
Definition: RPixDetTrackFinder.h:35
RPixDetTrackFinder::initialize
virtual void initialize()=0
RPixDetTrackFinder::~RPixDetTrackFinder
virtual ~RPixDetTrackFinder()
Definition: RPixDetTrackFinder.h:28
writedatasetfile.run
run
Definition: writedatasetfile.py:27
RPixDetTrackFinder::setListOfPlanes
void setListOfPlanes(std::vector< uint32_t > listOfAllPlanes)
Definition: RPixDetTrackFinder.h:39
edm::parameterSet
ParameterSet const & parameterSet(Provenance const &provenance, ProcessHistory const &history)
Definition: Provenance.cc:11
genParticles_cff.map
map
Definition: genParticles_cff.py:11
ParameterSet.h
RPixDetTrackFinder::hitMap_
std::map< CTPPSPixelDetId, std::vector< RPixDetPatternFinder::PointInPlane > > * hitMap_
Definition: RPixDetTrackFinder.h:43