FairRoot/PandaRoot
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
tracking
catracking
code
PndCAStationSTT.h
Go to the documentation of this file.
1
#ifndef PNDCASTATIONSTT_H
2
#define PNDCASTATIONSTT_H
3
4
#include "
PndCADef.h
"
5
6
#include <vector>
7
using
std::vector;
8
9
class
PndCAHitSTT
{
10
public
:
11
char
fISta
,
fISec
;
12
int
fOrigID
;
13
float
fU
,
fDR
;
14
15
friend
bool
operator<
(
const
PndCAHitSTT
&
a
,
const
PndCAHitSTT
&
b
) {
16
return
(a.
fISec
< b.
fISec
) || ((a.
fISec
== b.
fISec
) && (a.
fU
< b.
fU
));
17
}
18
};
19
20
class
PndCAStationSTTSector
{
21
public
:
22
void
Init
(){
23
fNHits
= 0;
24
fFirstHit
= 0;
25
}
26
int
fNHits
;
27
int
fFirstHit
;
28
};
29
30
class
PndCAStationSTT
{
31
public
:
32
void
Init
(){
33
fResolution
= float_v(35697.3e-8);
34
fHits1D
.clear();
35
fHits1D
.reserve(100);
36
for
(
int
i
=0;
i
<
fgNSectors
;
i
++ )
fSectors
[
i
].
Init
();
37
}
38
static
const
int
fgNSectors
= 6;
39
float_v
fResolution
;
40
float_v
fSin
,
fCos
;
41
PndCAStationSTTSector
fSectors
[
fgNSectors
];
42
vector<PndCAHitSTT>
fHits1D
;
43
};
44
45
#endif
i
Int_t i
Definition:
run_full.C:25
b
TTree * b
Definition:
GammaSpectraAnalysis.C:24
PndCAStationSTTSector::Init
void Init()
Definition:
PndCAStationSTT.h:22
PndCAStationSTTSector::fFirstHit
int fFirstHit
Definition:
PndCAStationSTT.h:27
PndCAStationSTT::fgNSectors
static const int fgNSectors
Definition:
PndCAStationSTT.h:38
PndCAStationSTT::Init
void Init()
Definition:
PndCAStationSTT.h:32
PndCAHitSTT::fISec
char fISec
Definition:
PndCAStationSTT.h:11
a
Int_t a
Definition:
anaLmdDigi.C:126
PndCAHitSTT::fISta
char fISta
Definition:
PndCAStationSTT.h:11
PndCAStationSTT::fSin
float_v fSin
Definition:
PndCAStationSTT.h:40
PndCAHitSTT::fDR
float fDR
Definition:
PndCAStationSTT.h:13
PndCAHitSTT::operator<
friend bool operator<(const PndCAHitSTT &a, const PndCAHitSTT &b)
Definition:
PndCAStationSTT.h:15
PndCADef.h
PndCAHitSTT::fOrigID
int fOrigID
Definition:
PndCAStationSTT.h:12
PndCAStationSTT
Definition:
PndCAStationSTT.h:30
PndCAStationSTTSector
Definition:
PndCAStationSTT.h:20
PndCAStationSTT::fResolution
float_v fResolution
Definition:
PndCAStationSTT.h:39
PndCAStationSTT::fHits1D
vector< PndCAHitSTT > fHits1D
Definition:
PndCAStationSTT.h:42
PndCAHitSTT::fU
float fU
Definition:
PndCAStationSTT.h:13
PndCAStationSTTSector::fNHits
int fNHits
Definition:
PndCAStationSTT.h:26
PndCAStationSTT::fCos
float_v fCos
Definition:
PndCAStationSTT.h:40
PndCAHitSTT
Definition:
PndCAStationSTT.h:9
PndCAStationSTT::fSectors
PndCAStationSTTSector fSectors[fgNSectors]
Definition:
PndCAStationSTT.h:41
Generated on Wed Apr 3 2019 10:02:48 for FairRoot/PandaRoot by
1.8.5