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
int ts_index_
Time slice index.
Reconstructed hit in diamond detectors.
const double tolerance
int mh_
Multiple hits counter.
bool containsHit(const CTPPSDiamondRecHit &recHit, float tolerance=0.1) const
XYZPointD XYZPoint
point in space with cartesian internal representation
Definition: Point3D.h:12