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
StEvent
StRichHit.cxx
1
/***************************************************************************
2
*
3
* $Id: StRichHit.cxx,v 2.5 2009/11/23 16:34:07 fisyak Exp $
4
*
5
* Author: Brian Lasiuk, May 2000
6
***************************************************************************
7
*
8
* Description: Implementation of persistent Hit definition
9
*
10
***************************************************************************
11
*
12
* $Log: StRichHit.cxx,v $
13
* Revision 2.5 2009/11/23 16:34:07 fisyak
14
* Cleanup, remove dependence on dst tables, clean up software monitors
15
*
16
* Revision 2.4 2004/07/15 16:36:25 ullrich
17
* Removed all clone() declerations and definitions. Use StObject::clone() only.
18
*
19
* Revision 2.3 2001/04/05 04:00:52 ullrich
20
* Replaced all (U)Long_t by (U)Int_t and all redundant ROOT typedefs.
21
*
22
* Revision 2.2 2001/03/24 03:34:54 perev
23
* clone() -> clone() const
24
*
25
* Revision 2.1 2000/05/22 21:44:47 ullrich
26
* Initial Revision
27
*
28
**************************************************************************/
29
30
#include "StRichHit.h"
31
32
static
const
char
rcsid[] =
"$Id: StRichHit.cxx,v 2.5 2009/11/23 16:34:07 fisyak Exp $"
;
33
34
ClassImp(
StRichHit
)
35
36
StRichHit
::
StRichHit
() {
/* nopt */
}
37
38
StRichHit::StRichHit(
const
StThreeVectorF
& xl,
const
StThreeVectorF
& dx)
39
: mLocal(xl), mLError(dx)
40
{
41
// This is used for off-line
42
}
43
StRichHit::StRichHit(
const
StThreeVectorF
& xg,
const
StThreeVectorF
& dx,
44
unsigned
int
hp,
float
q,
float
maxAdc,
unsigned
char
tc)
45
:
StHit
(xg,dx,hp,q,tc),mMaxAmplitude(maxAdc)
46
{
47
// For Storage in the StRichHitCollection
48
}
49
50
51
StRichHit::~StRichHit() {
/* nopt */
}
52
53
ostream&
54
operator<<(ostream& os,
const
StRichHit
&
hit
)
55
{
56
return
(os <<
"StRichHit::> "
<< hit.internal() <<
", q= "
57
<< hit.charge() <<
", (#"
58
<< hit.clusterNumber() <<
')'
);
59
}
StHit
Definition:
StHit.h:125
StRichHit
Definition:
StRichHit.h:51
hit
Definition:
GenericTable.C:6
StThreeVector< float >
Generated by
1.8.5