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
StMuDSTMaker
COMMON
StMuTimer.h
1
/***************************************************************************
2
*
3
* $Id: StMuTimer.h,v 1.4 2004/05/02 04:10:14 perev Exp $
4
*
5
* Author: Thomas Ullrich, April 1999
6
***************************************************************************
7
*
8
* Description: CPU timer
9
*
10
***************************************************************************
11
*
12
* $Log: StMuTimer.h,v $
13
* Revision 1.4 2004/05/02 04:10:14 perev
14
* private => protected
15
*
16
* Revision 1.3 2003/10/15 17:34:17 laue
17
* StMuDstMaker: Reading fixed. Delete() changed back to Clear()
18
* StMuEmcCollection: Re-implemented the DeleteThis() function,
19
* This hoopefully fixed the memory leak when
20
* writing MuDst again.
21
* StMuTimer: ClassDef/ClassImp
22
*
23
* Revision 1.2 2003/09/09 18:16:54 laue
24
* StMuIOMaker: embedded documentation added
25
* StMuTimer: name of define changed (was same as StTimer)
26
*
27
* Revision 1.1 2002/03/08 17:04:18 laue
28
* initial revision
29
*
30
* Revision 1.1 1999/04/27 19:23:46 ullrich
31
* Initial Revision
32
*
33
**************************************************************************/
34
#ifndef StMuTimer_h
35
#define StMuTimer_h
36
37
#include "TObject.h"
38
39
class
StMuTimer
:
public
TObject {
40
public
:
41
StMuTimer
();
42
43
double
elapsedTime()
const
;
44
double
resolution()
const
;
45
void
reset();
46
void
start();
47
void
stop();
48
49
protected
:
50
double
mStartTime;
51
double
mStopTime;
52
int
mIsStopped;
53
54
static
double
absoluteTime();
55
56
ClassDef(
StMuTimer
,0)
57
};
58
59
#endif
StMuTimer
Definition:
StMuTimer.h:39
Generated by
1.8.5