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
StiPPVertex
CtbHitList.h
1
#ifndef CtbHitList_h
2
#define CtbHitList_h
3
4
#include "StGenericVertexMaker/StiPPVertex/ScintHitList.h"
5
class
StTriggerData
;
6
class
TDataSet
;
7
class
CtbHitList
:
public
ScintHitList
{
8
private
:
9
10
// params:
11
float
mCtbThres_mev;
// M-C hits
12
int
mCtbThres_ch;
// data hits
13
float
*geantE;
14
enum
{mxPhi1=61,mxEta1=5};
15
int
mcId2bin[mxPhi1][mxEta1];
// map for M-C
16
enum
{mxSlat=2, mxTray=120};
17
int
realId2bin[mxSlat][mxTray];
// map for real events
18
19
public
:
20
CtbHitList
();
21
~
CtbHitList
();
22
void
clear();
23
void
initRun(
float
fac=1.);
24
void
buildFromMC(
TDataSet
*gds);
25
void
buildFromData(
StTriggerData
*trgD);
26
virtual
int
etaBin(
float
eta);
27
virtual
float
bin2EtaLeft(
int
iEta);
28
static
void
ctb_get_slat_from_data(
int
slat,
int
tray,
float
& phiRad,
float
&eta);
29
};
30
31
#endif
StTriggerData
Definition:
StTriggerData.h:193
ScintHitList
Definition:
ScintHitList.h:8
CtbHitList
Definition:
CtbHitList.h:7
TDataSet
Definition:
TDataSet.h:34
Generated by
1.8.5