CMS 3D CMS Logo

CTPPSDiamondLocalTrack.h
Go to the documentation of this file.
1 /****************************************************************************
2  *
3  * This is a part of CTPPS offline software.
4  * Authors:
5  * Laurent Forthomme (laurent.forthomme@cern.ch)
6  * Nicola Minafra (nicola.minafra@cern.ch)
7  * Mateusz Szpyrka (mateusz.szpyrka@cern.ch)
8  *
9  ****************************************************************************/
10 
11 #ifndef DataFormats_CTPPSReco_CTPPSDiamondLocalTrack
12 #define DataFormats_CTPPSReco_CTPPSDiamondLocalTrack
13 
17 
18 //----------------------------------------------------------------------------------------------------
19 
21 public:
24  const math::XYZPoint& pos0, const math::XYZPoint& pos0_sigma, float t, float t_sigma, int oot_idx, int mult_hits);
25 
26  bool containsHit(const CTPPSDiamondRecHit& recHit, float tolerance = 0.1) const;
27 
28  //--- temporal set'ters
29 
30  inline void setOOTIndex(int i) { ts_index_ = i; }
31  inline int ootIndex() const { return ts_index_; }
32 
33  inline void setMultipleHits(int i) { mh_ = i; }
34  inline int multipleHits() const { return mh_; }
35 
36 private:
38  int ts_index_;
40  int mh_;
41 };
42 
43 #endif
CTPPSDiamondLocalTrack
Definition: CTPPSDiamondLocalTrack.h:20
mps_fire.i
i
Definition: mps_fire.py:428
CTPPSTimingLocalTrack.h
CTPPSDiamondLocalTrack::multipleHits
int multipleHits() const
Definition: CTPPSDiamondLocalTrack.h:41
CTPPSDiamondRecHit
Reconstructed hit in diamond detectors.
Definition: CTPPSDiamondRecHit.h:16
CTPPSTimingLocalTrack
Definition: CTPPSTimingLocalTrack.h:18
CTPPSDiamondLocalTrack::setMultipleHits
void setMultipleHits(int i)
Definition: CTPPSDiamondLocalTrack.h:40
rpcPointValidation_cfi.recHit
recHit
Definition: rpcPointValidation_cfi.py:7
CTPPSDiamondLocalTrack::ts_index_
int ts_index_
Time slice index.
Definition: CTPPSDiamondLocalTrack.h:45
CTPPSDiamondRecHit.h
CTPPSDiamondLocalTrack::CTPPSDiamondLocalTrack
CTPPSDiamondLocalTrack()
Definition: CTPPSDiamondLocalTrack.cc:14
CTPPSDiamondLocalTrack::ootIndex
int ootIndex() const
Definition: CTPPSDiamondLocalTrack.h:38
math::XYZPoint
XYZPointD XYZPoint
point in space with cartesian internal representation
Definition: Point3D.h:12
CTPPSDiamondLocalTrack::mh_
int mh_
Multiple hits counter.
Definition: CTPPSDiamondLocalTrack.h:47
CTPPSDiamondLocalTrack::setOOTIndex
void setOOTIndex(int i)
Definition: CTPPSDiamondLocalTrack.h:37
tolerance
const double tolerance
Definition: HGCalGeomParameters.cc:26
Point3D.h
CTPPSDiamondLocalTrack::containsHit
bool containsHit(const CTPPSDiamondRecHit &recHit, float tolerance=0.1) const
Definition: CTPPSDiamondLocalTrack.cc:22
submitPVValidationJobs.t
string t
Definition: submitPVValidationJobs.py:644