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
StWalgo2011
WtpcFilter.h
1
// $Id: WtpcFilter.h,v 1.4 2012/08/21 17:40:09 stevens4 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,
bool
barrel);
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(
bool
barrel);
37
38
};
39
40
41
#endif
42
43
44
// $Log: WtpcFilter.h,v $
45
// Revision 1.4 2012/08/21 17:40:09 stevens4
46
// Revert to previous version
47
//
48
// Revision 1.2 2012/06/18 18:28:01 stevens4
49
// Updates for Run 9+11+12 AL analysis
50
//
51
// Revision 1.1 2011/02/10 20:33:27 balewski
52
// start
53
//
WtpcFilter
Definition:
WtpcFilter.h:18
StMuTrack
Definition:
StMuTrack.h:55
Generated by
1.8.5