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
StMcEvent
StMcHitComparisons.hh
1
/**********************************************
2
*
3
* $Id: StMcHitComparisons.hh,v 2.5 2005/11/22 21:44:52 fisyak Exp $
4
*
5
* Author: Manuel Calderon de la Barca Sanchez
6
***********************************************
7
* Description: Define the comparisons to be used
8
* in the multimaps
9
* & sorting of containers
10
*
11
***********************************************
12
* $Log: StMcHitComparisons.hh,v $
13
* Revision 2.5 2005/11/22 21:44:52 fisyak
14
* Add compress Print for McEvent, add Ssd collections
15
*
16
* Revision 2.4 2005/07/06 21:49:51 calderon
17
* StThreeVector.hh -> StThreeVectorF.hh
18
*
19
* Revision 2.3 2005/07/06 20:05:28 calderon
20
* Remove forward declaration of StThreeVectorF, use #include, and only in
21
* StMcHit base class. StThreeVectorF is not a class anymore, it is now
22
* only a typedef, only template version of StThreeVector exists now.
23
*
24
* Revision 2.2 2000/06/09 19:52:07 calderon
25
* No longer use 2 different functions for SVT and TPC that do the same thing,
26
* just use one function for the base class
27
*
28
* Revision 2.1 2000/03/07 15:09:54 calderon
29
* Initial Revision.
30
* Comparisons used for sorting the hit containers, and
31
* for ordering the hits in the multimaps.
32
*
33
*
34
**********************************************/
35
#ifndef StMcHitComparisons_HH
36
#define StMcHitComparisons_HH
37
class
StHit
;
38
class
StTpcHit
;
39
class
StSvtHit
;
40
class
StSsdHit
;
41
class
StFtpcHit
;
42
class
StRichHit
;
43
44
class
StMcHit
;
45
class
StMcTpcHit
;
46
class
StMcSvtHit
;
47
class
StMcSsdHit
;
48
class
StMcFtpcHit
;
49
class
StMcRichHit
;
50
#include "StThreeVectorF.hh"
51
52
#if (defined __SUNPRO_CC && (__SUNPRO_CC < 0x500))
53
// bool is defined in utility for SUNPRO_CC 4.2
54
#include <utility>
55
#endif
56
struct
compHit
{
57
bool
operator()(
const
StHit
*,
const
StHit
*)
const
;
58
};
59
60
struct
compMcHit
{
61
bool
operator()(
const
StMcHit
*,
const
StMcHit
*)
const
;
62
};
63
64
// struct compTpcHit{
65
// bool operator()(const StTpcHit* h1,const StTpcHit* h2) const;
66
// };
67
68
// struct compMcTpcHit{
69
// bool operator()(const StMcTpcHit* h1,const StMcTpcHit* h2) const;
70
// };
71
72
// struct compSvtHit{
73
// bool operator()(const StSvtHit* h1,const StSvtHit* h2) const;
74
// };
75
76
// struct compMcSvtHit{
77
// bool operator()(const StMcSvtHit* h1,const StMcSvtHit* h2) const;
78
// };
79
80
struct
compRPhi
{
81
bool
operator()(
const
StThreeVectorF
&,
const
StThreeVectorF
&)
const
;
82
};
83
struct
compFtpcHit
{
84
bool
operator()(
const
StFtpcHit
*,
const
StFtpcHit
*)
const
;
85
};
86
struct
compMcFtpcHit
{
87
bool
operator()(
const
StMcFtpcHit
*,
const
StMcFtpcHit
*)
const
;
88
};
89
90
#endif
compFtpcHit
Definition:
StMcHitComparisons.hh:83
compMcFtpcHit
Definition:
StMcHitComparisons.hh:86
compRPhi
Definition:
StMcHitComparisons.hh:80
StMcTpcHit
Definition:
StMcTpcHit.hh:78
StHit
Definition:
StHit.h:125
StRichHit
Definition:
StRichHit.h:51
StFtpcHit
Definition:
StFtpcHit.h:70
StMcSsdHit
Definition:
StMcSsdHit.hh:39
StMcHit
Definition:
StMcHit.hh:70
StSsdHit
Definition:
StSsdHit.h:65
StTpcHit
Definition:
StTpcHit.h:119
StMcRichHit
Definition:
StMcRichHit.hh:46
compHit
Definition:
StMcHitComparisons.hh:56
StMcSvtHit
Definition:
StMcSvtHit.hh:70
StSvtHit
Definition:
StSvtHit.h:82
compMcHit
Definition:
StMcHitComparisons.hh:60
StMcFtpcHit
Definition:
StMcFtpcHit.hh:67
StThreeVector< float >
Generated by
1.8.5