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