CondFormats
SiPixelTransient
interface
SimplePixel.h
Go to the documentation of this file.
1
//
2
// SimplePixel.h (v1.00)
3
//
4
5
#ifndef SimplePixel_h
6
#define SimplePixel_h 1
7
8
class
SimplePixel
{
9
10
public
:
11
SimplePixel
() {
12
s
= 0.;
13
x
= 0.;
14
y
= 0.;
15
i
= 0;
16
j
= 0;
17
btype
= 0;
18
}
19
20
bool
operator<
(
const
SimplePixel
& rhs)
const
{
21
return
(this->
s
< rhs.
s
);
22
}
23
24
float
s
;
25
float
x
;
26
float
y
;
27
int
i
;
28
int
j
;
29
int
btype
;
30
};
31
32
#endif
SimplePixel::btype
int btype
type of boundary (0=end, 1 = x-boundary, 2 = y-boundary)
Definition:
SimplePixel.h:29
SimplePixel::y
float y
y coordinate of boundary intersection
Definition:
SimplePixel.h:26
SimplePixel::operator<
bool operator<(const SimplePixel &rhs) const
define < operator so that std::list can sort these by path length
Definition:
SimplePixel.h:20
SimplePixel::s
float s
distance from track entry
Definition:
SimplePixel.h:24
SimplePixel::j
int j
y index of traversed pixel
Definition:
SimplePixel.h:28
SimplePixel::SimplePixel
SimplePixel()
< struck pixel class for use in simpletemplate2D
Definition:
SimplePixel.h:11
SimplePixel::x
float x
x coordinate of boundary intersection
Definition:
SimplePixel.h:25
SimplePixel
Definition:
SimplePixel.h:8
SimplePixel::i
int i
x index of traversed pixel
Definition:
SimplePixel.h:27
Generated for CMSSW Reference Manual by
1.8.16