StRoot
1
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
StGenericVertexMaker
StvPPVertex
ScintHitList.h
1
#ifndef ScintHitList_h
2
#define ScintHitList_h
3
4
#include <TString.h>
5
class
TH1F;
6
class
TObjArray;
7
namespace
StEvPPV {
8
class
ScintHitList
{
9
protected
:
10
int
*active, *fired, *
track
;
11
int
nActive, nFired,nTrack,nMatch;
12
float
phi0, dPhi;
// in radians
13
float
eta0, dEta;
14
int
nEta,nPhi,nBin;
15
int
iPhiEta2bin(
int
iPhi,
int
iEta);
16
void
iBin2iPhiEta(
int
iBin,
int
&iPhi,
int
&iEta) ;
17
void
setActive(
int
iBin);
18
void
setFired(
int
iBin);
19
TH1F *h[8];
20
TString myName;
21
float
Wmatch, Wveto;
22
23
public
:
24
ScintHitList
(
float
Xphi0,
float
XdPhi,
int
mxPhi,
float
Xeta0,
float
XdEta,
int
mxEta,
25
const
char
*name,
float
wm,
float
wv);
26
virtual
~
ScintHitList
();
27
void
clear();
28
void
initRun();
29
int
addTrack(
float
eta,
float
phi);
30
void
print(
int
k=0);
31
int
getActive(
int
iBin);
32
int
getFired(
int
iBin);
33
int
getTrack(
int
iBin);
34
bool
isMatched(
int
ibin);
35
bool
isVetoed(
int
ibin);
36
float
getWeight(
int
ibin);
37
void
doHisto();
38
void
initHisto(TObjArray* );
39
int
getnFired(){
return
nFired; }
40
int
phiBin(
float
phi);
//phi is [0,2Pi]
41
virtual
int
etaBin(
float
eta)=0;
// varies with detector
42
virtual
float
bin2EtaLeft(
int
iEta)=0;
// varies with detector
43
44
};
45
}
// end namespace StEvPPV
46
47
48
#endif
track
Definition:
MapTableTest.C:38
StEvPPV::ScintHitList
Definition:
ScintHitList.h:8
Generated by
1.8.5