Main Page
Namespaces
Classes
Package Documentation
DataFormats
CTPPSReco
interface
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
14
#include "
DataFormats/Math/interface/Point3D.h
"
15
#include "
DataFormats/CTPPSReco/interface/CTPPSTimingLocalTrack.h
"
16
#include "
DataFormats/CTPPSReco/interface/CTPPSDiamondRecHit.h
"
17
18
//----------------------------------------------------------------------------------------------------
19
20
class
CTPPSDiamondLocalTrack
:
public
CTPPSTimingLocalTrack
21
{
22
public
:
23
CTPPSDiamondLocalTrack
();
24
CTPPSDiamondLocalTrack
(
const
math::XYZPoint
& pos0,
const
math::XYZPoint
& pos0_sigma,
25
float
t
,
float
t_sigma,
int
oot_idx,
int
mult_hits );
26
27
bool
containsHit
(
const
CTPPSDiamondRecHit
&
recHit
,
float
tolerance
= 0.1 )
const
;
28
29
//--- temporal set'ters
30
31
inline
void
setOOTIndex
(
int
i
) {
ts_index_
=
i
; }
32
inline
int
getOOTIndex
()
const
{
return
ts_index_
; }
33
34
inline
void
setMultipleHits
(
int
i
) {
mh_
=
i
; }
35
inline
int
getMultipleHits
()
const
{
return
mh_
; }
36
37
private
:
39
int
ts_index_
;
41
int
mh_
;
42
};
43
44
#endif
45
rpcPointValidation_cfi.recHit
recHit
Definition:
rpcPointValidation_cfi.py:7
CTPPSDiamondLocalTrack::ts_index_
int ts_index_
Time slice index.
Definition:
CTPPSDiamondLocalTrack.h:39
mps_fire.i
i
Definition:
mps_fire.py:338
CTPPSDiamondLocalTrack::CTPPSDiamondLocalTrack
CTPPSDiamondLocalTrack()
Definition:
CTPPSDiamondLocalTrack.cc:15
CTPPSDiamondLocalTrack::getOOTIndex
int getOOTIndex() const
Definition:
CTPPSDiamondLocalTrack.h:32
CTPPSDiamondRecHit
Reconstructed hit in diamond detectors.
Definition:
CTPPSDiamondRecHit.h:17
tolerance
const double tolerance
Definition:
HGCalGeomParameters.cc:27
CTPPSDiamondLocalTrack::mh_
int mh_
Multiple hits counter.
Definition:
CTPPSDiamondLocalTrack.h:41
Point3D.h
CTPPSDiamondLocalTrack::containsHit
bool containsHit(const CTPPSDiamondRecHit &recHit, float tolerance=0.1) const
Definition:
CTPPSDiamondLocalTrack.cc:27
CTPPSTimingLocalTrack
Definition:
CTPPSTimingLocalTrack.h:20
CTPPSDiamondRecHit.h
CTPPSTimingLocalTrack.h
CTPPSDiamondLocalTrack::setMultipleHits
void setMultipleHits(int i)
Definition:
CTPPSDiamondLocalTrack.h:34
CTPPSDiamondLocalTrack::getMultipleHits
int getMultipleHits() const
Definition:
CTPPSDiamondLocalTrack.h:35
math::XYZPoint
XYZPointD XYZPoint
point in space with cartesian internal representation
Definition:
Point3D.h:12
lumiQTWidget.t
t
Definition:
lumiQTWidget.py:50
CTPPSDiamondLocalTrack
Definition:
CTPPSDiamondLocalTrack.h:20
CTPPSDiamondLocalTrack::setOOTIndex
void setOOTIndex(int i)
Definition:
CTPPSDiamondLocalTrack.h:31
Generated for CMSSW Reference Manual by
1.8.11