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
StMcHitIter.h
1
/***************************************************************************
2
*
3
* $Id: StMcHitIter.h,v 2.2 2018/03/15 22:00:35 smirnovd Exp $
4
* $Log: StMcHitIter.h,v $
5
* Revision 2.2 2018/03/15 22:00:35 smirnovd
6
* Fix linker error by removing declared but undefined functions
7
*
8
* Revision 2.1 2012/03/22 01:08:05 perev
9
* McHitIter added
10
*
11
*
12
*
13
**************************************************************************/
14
#ifndef StMcHitIter_h
15
#define StMcHitIter_h
16
#include "
StEvent/StEnumerations.h
"
//StDetectorId
17
#include "TObject.h"
18
class
StMcEvent
;
19
class
StMcHit
;
20
21
class
StMcHitIter
:
public
TObject {
22
public
:
23
StMcHitIter
(
const
StMcEvent
*mcev);
24
void
Reset(
const
StMcEvent
*mcev);
25
const
int
*Path(
int
&lev)
const
{lev = mLev;
return
mPath;}
26
const
int
*MaxN()
const
{
return
mMaxN;}
27
28
protected
:
29
30
int
mDets[kMaxDetectorId+1];
31
char
mBeg[1];
32
const
StMcEvent
*mMcEv;
33
const
StMcHit
*mMcHit;
34
int
mLev;
35
int
mPath[10];
36
int
mMaxN[10];
37
char
mEnd[1];
38
39
ClassDef(
StMcHitIter
,0)
40
};
41
42
#endif
43
StMcHit
Definition:
StMcHit.hh:70
StMcHitIter
Definition:
StMcHitIter.h:21
StMcEvent
Event data structure to hold all information from a Monte Carlo simulation. This class is the interfa...
Definition:
StMcEvent.hh:169
StEnumerations.h
Generated by
1.8.5