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
St_QA_Maker
TpcMapUtilities.h
1
// $Id: TpcMapUtilities.h,v 1.3 2006/05/20 14:52:43 genevb Exp $
3
//
4
// Author: M.L. Miller, Yale
5
//
7
//
8
// Description: TPC sector gains map utilities
9
//
11
//
12
// $Log: TpcMapUtilities.h,v $
13
// Revision 1.3 2006/05/20 14:52:43 genevb
14
// Make define variable unique for QA too
15
//
16
// Revision 1.2 2006/05/20 03:17:21 genevb
17
// Changed MapKey to MapQAKey to make it unique for QA
18
//
19
// Revision 1.1 2000/08/09 18:57:44 lansdell
20
// improvements in TPC gains code reduces CPU time per event by factor of 2
21
//
22
//
24
25
#ifndef TpcMapQAUtilities_h
26
#define TpcMapQAUtilities_h
27
28
#include "StThreeVectorD.hh"
29
30
//Structure for map key
31
struct
HitMapQAKey
{
32
bool
operator==(
const
HitMapQAKey
&)
const
;
33
int
sector;
34
int
padrow;
35
};
36
37
//Structure for ordering map key
38
struct
MapQAKeyLessThan
{
39
bool
operator() (
const
HitMapQAKey
&,
const
HitMapQAKey
&)
const
;
40
};
41
42
//Structure to hold 3d global points in a plane of each padrow
43
class
PadrowLocation
{
44
public
:
45
PadrowLocation
();
46
PadrowLocation
(
const
StThreeVectorD
&,
const
StThreeVectorD
&,
const
StThreeVectorD
&);
47
virtual
~
PadrowLocation
();
48
49
//Access
50
const
StThreeVectorD
& outsidePoint()
const
;
51
const
StThreeVectorD
& centerPoint()
const
;
52
const
StThreeVectorD
& insidePoint()
const
;
53
void
print()
const
;
54
55
private
:
56
StThreeVectorD
m_TopPoint;
57
StThreeVectorD
m_MidPoint;
58
StThreeVectorD
m_BotPoint;
59
};
60
61
#endif
MapQAKeyLessThan
Definition:
TpcMapUtilities.h:38
PadrowLocation
Definition:
TpcMapUtilities.h:43
HitMapQAKey
Definition:
TpcMapUtilities.h:31
StThreeVector< double >
Generated by
1.8.5