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
StSpinPool
StWalgoB2009
WtpcFilter.h
1
// $Id: WtpcFilter.h,v 1.1 2010/01/18 03:30:01 balewski Exp $
2
//
3
//*-- Author : Jan Balewski, MIT
4
5
6
//----------------------------
7
//------- Sector dependent TPC track filter
8
//----------------------------
9
#ifndef W_TPC_FILTER_HH
10
#define W_TPC_FILTER_HH
11
12
#include <TString.h>
13
14
class
TObjArray;
15
class
TH1;
16
class
StMuTrack
;
17
18
class
WtpcFilter
{
19
public
:
20
WtpcFilter
();
21
void
init(
const
char
*core,
int
sec, TObjArray *HListX);
22
void
setCuts(
int
x,
float
y,
float
r1,
float
r2) {
23
par_nFitPts=x; par_nHitFrac=y; par_Rmin=r1; par_Rmax=r2; }
24
static
int
getTpcSec(
float
phiRad,
float
etaDet);
25
bool
accept(
const
StMuTrack
*prMuTrack);
26
27
private
:
28
TString name;
29
int
secID;
30
int
par_nFitPts;
31
float
par_nHitFrac, par_Rmin, par_Rmax;
32
33
// histograms
34
TObjArray *HList;
35
enum
{mxHA=8}; TH1 * hA[mxHA];
36
void
initHistos();
37
38
};
39
40
41
#endif
42
43
44
// $Log: WtpcFilter.h,v $
45
// Revision 1.1 2010/01/18 03:30:01 balewski
46
// new
47
//
WtpcFilter
Definition:
WtpcFilter.h:18
StMuTrack
Definition:
StMuTrack.h:55
Generated by
1.8.5