src
DataFormats
CTPPSReco
interface
CTPPSPixelRecHit.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
*
7
*/
8
9
#ifndef DataFormats_CTPPSReco_CTPPSPixelRecHit_H
10
#define DataFormats_CTPPSReco_CTPPSPixelRecHit_H
11
12
#include "
DataFormats/GeometrySurface/interface/LocalError.h
"
13
#include "
DataFormats/GeometryVector/interface/LocalPoint.h
"
14
15
// Reconstructed hits in CTPPS Pixel detector
16
17
class
CTPPSPixelRecHit
{
18
public
:
19
CTPPSPixelRecHit
(
LocalPoint
lp =
LocalPoint
(0., 0., 0.),
20
LocalError
le =
LocalError
(0., 0., 0.),
21
bool
edge =
false
,
22
bool
bad =
false
,
23
bool
rocs
=
false
,
24
int
minrow = 0,
25
int
mincol = 0,
26
int
size
= 0,
27
int
rowsize = 0,
28
int
colsize = 0)
29
:
thePoint_
(lp),
30
theError_
(le),
31
isOnEdge_
(edge),
32
hasBadPixels_
(bad),
33
spanTwoRocs_
(
rocs
),
34
minPixelRow_
(minrow),
35
minPixelCol_
(mincol),
36
clusterSize_
(
size
),
37
clusterSizeRow_
(rowsize),
38
clusterSizeCol_
(colsize) {}
39
40
inline
LocalPoint
point
()
const
{
return
thePoint_
; }
41
inline
LocalError
error
()
const
{
return
theError_
; }
42
43
inline
bool
isOnEdge
()
const
{
return
isOnEdge_
; }
44
inline
bool
hasBadPixels
()
const
{
return
hasBadPixels_
; }
45
inline
bool
spanTwoRocs
()
const
{
return
spanTwoRocs_
; }
46
47
inline
unsigned
int
minPixelRow
()
const
{
return
minPixelRow_
; }
48
inline
unsigned
int
minPixelCol
()
const
{
return
minPixelCol_
; }
49
50
inline
unsigned
int
clusterSize
()
const
{
return
clusterSize_
; }
51
inline
unsigned
int
clusterSizeRow
()
const
{
return
clusterSizeRow_
; }
52
inline
unsigned
int
clusterSizeCol
()
const
{
return
clusterSizeCol_
; }
53
54
private
:
55
LocalPoint
thePoint_
;
56
LocalError
theError_
;
57
58
bool
isOnEdge_
;
59
bool
hasBadPixels_
;
60
bool
spanTwoRocs_
;
61
62
unsigned
int
minPixelRow_
;
63
unsigned
int
minPixelCol_
;
64
65
unsigned
int
clusterSize_
;
66
unsigned
int
clusterSizeRow_
;
67
unsigned
int
clusterSizeCol_
;
68
};
69
70
inline
bool
operator<
(
CTPPSPixelRecHit
&
a
,
CTPPSPixelRecHit
&
b
) {
return
(
a
.point().mag() <
b
.point().mag()); };
71
72
#endif
findQualityFiles.size
size
Write out results.
Definition:
findQualityFiles.py:443
LocalError.h
LocalPoint.h
CTPPSPixelRecHit::clusterSizeCol_
unsigned int clusterSizeCol_
Definition:
CTPPSPixelRecHit.h:67
CTPPSPixelRecHit::clusterSizeRow_
unsigned int clusterSizeRow_
Definition:
CTPPSPixelRecHit.h:66
align::LocalPoint
Point3DBase< Scalar, LocalTag > LocalPoint
Definition:
Definitions.h:30
CTPPSPixelRecHit::theError_
LocalError theError_
Definition:
CTPPSPixelRecHit.h:56
CTPPSPixelRecHit::minPixelCol_
unsigned int minPixelCol_
Definition:
CTPPSPixelRecHit.h:63
CTPPSPixelRecHit::clusterSizeCol
unsigned int clusterSizeCol() const
Definition:
CTPPSPixelRecHit.h:52
CTPPSPixelRecHit::point
LocalPoint point() const
Definition:
CTPPSPixelRecHit.h:40
CTPPSPixelRecHit::spanTwoRocs
bool spanTwoRocs() const
Definition:
CTPPSPixelRecHit.h:45
operator<
bool operator<(CTPPSPixelRecHit &a, CTPPSPixelRecHit &b)
Definition:
CTPPSPixelRecHit.h:70
CTPPSPixelRecHit::minPixelRow_
unsigned int minPixelRow_
Definition:
CTPPSPixelRecHit.h:62
CTPPSPixelRecHit::isOnEdge
bool isOnEdge() const
Definition:
CTPPSPixelRecHit.h:43
CTPPSPixelRecHit::minPixelCol
unsigned int minPixelCol() const
Definition:
CTPPSPixelRecHit.h:48
CTPPSPixelRecHit::error
LocalError error() const
Definition:
CTPPSPixelRecHit.h:41
CTPPSPixelRecHit::clusterSize_
unsigned int clusterSize_
Definition:
CTPPSPixelRecHit.h:65
CTPPSPixelRecHit::clusterSize
unsigned int clusterSize() const
Definition:
CTPPSPixelRecHit.h:50
CTPPSPixelRecHit
Definition:
CTPPSPixelRecHit.h:17
CTPPSPixelRecHit::thePoint_
LocalPoint thePoint_
Definition:
CTPPSPixelRecHit.h:55
CTPPSPixelRecHit::spanTwoRocs_
bool spanTwoRocs_
Definition:
CTPPSPixelRecHit.h:60
LocalError
Definition:
LocalError.h:12
CTPPSPixelRecHit::isOnEdge_
bool isOnEdge_
Definition:
CTPPSPixelRecHit.h:58
b
double b
Definition:
hdecay.h:118
CTPPSPixelRecHit::CTPPSPixelRecHit
CTPPSPixelRecHit(LocalPoint lp=LocalPoint(0., 0., 0.), LocalError le=LocalError(0., 0., 0.), bool edge=false, bool bad=false, bool rocs=false, int minrow=0, int mincol=0, int size=0, int rowsize=0, int colsize=0)
Definition:
CTPPSPixelRecHit.h:19
CTPPSPixelRecHit::minPixelRow
unsigned int minPixelRow() const
Definition:
CTPPSPixelRecHit.h:47
Point3DBase< float, LocalTag >
CTPPSPixelRecHit::hasBadPixels
bool hasBadPixels() const
Definition:
CTPPSPixelRecHit.h:44
a
double a
Definition:
hdecay.h:119
CTPPSPixelRecHit::clusterSizeRow
unsigned int clusterSizeRow() const
Definition:
CTPPSPixelRecHit.h:51
PixelMapPlotter.rocs
rocs
Definition:
PixelMapPlotter.py:497
CTPPSPixelRecHit::hasBadPixels_
bool hasBadPixels_
Definition:
CTPPSPixelRecHit.h:59
Generated for CMSSW Reference Manual by
1.8.14