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
public
:
22
CTPPSDiamondLocalTrack
();
23
CTPPSDiamondLocalTrack
(
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
rpcPointValidation_cfi.recHit
recHit
Definition:
rpcPointValidation_cfi.py:7
CTPPSDiamondLocalTrack::ts_index_
int ts_index_
Time slice index.
Definition:
CTPPSDiamondLocalTrack.h:38
mps_fire.i
i
Definition:
mps_fire.py:429
CTPPSDiamondLocalTrack::CTPPSDiamondLocalTrack
CTPPSDiamondLocalTrack()
Definition:
CTPPSDiamondLocalTrack.cc:15
submitPVValidationJobs.t
string t
Definition:
submitPVValidationJobs.py:651
CTPPSDiamondLocalTrack::ootIndex
int ootIndex() const
Definition:
CTPPSDiamondLocalTrack.h:31
CTPPSDiamondRecHit
Reconstructed hit in diamond detectors.
Definition:
CTPPSDiamondRecHit.h:17
tolerance
const double tolerance
Definition:
HGCalGeomParameters.cc:29
CTPPSDiamondLocalTrack::mh_
int mh_
Multiple hits counter.
Definition:
CTPPSDiamondLocalTrack.h:40
Point3D.h
CTPPSTimingLocalTrack
Definition:
CTPPSTimingLocalTrack.h:19
CTPPSDiamondLocalTrack::multipleHits
int multipleHits() const
Definition:
CTPPSDiamondLocalTrack.h:34
CTPPSDiamondLocalTrack::containsHit
bool containsHit(const CTPPSDiamondRecHit &recHit, float tolerance=0.1) const
Definition:
CTPPSDiamondLocalTrack.cc:23
CTPPSDiamondRecHit.h
CTPPSTimingLocalTrack.h
CTPPSDiamondLocalTrack::setMultipleHits
void setMultipleHits(int i)
Definition:
CTPPSDiamondLocalTrack.h:33
math::XYZPoint
XYZPointD XYZPoint
point in space with cartesian internal representation
Definition:
Point3D.h:12
CTPPSDiamondLocalTrack
Definition:
CTPPSDiamondLocalTrack.h:20
CTPPSDiamondLocalTrack::setOOTIndex
void setOOTIndex(int i)
Definition:
CTPPSDiamondLocalTrack.h:30
Generated for CMSSW Reference Manual by
1.8.14