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
StEtrHitCollection.h
1
5
/***************************************************************************
6
*
7
* Description:
8
*
9
***************************************************************************
10
*
11
* $Log: StEtrHitCollection.h,v $
12
* Revision 2.1 2012/01/24 03:06:13 perev
13
* Add Etr
14
*
15
*
16
* Revision 1.0 2012/01/05 Ming
17
* Initial Revision
18
*
19
**************************************************************************/
20
#ifndef StEtrHitCollection_hh
21
#define StEtrHitCollection_hh
22
23
#include "StObject.h"
24
#include "StContainers.h"
25
26
class
StEtrHit
;
27
28
class
StEtrHitCollection
:
public
StObject
{
29
public
:
30
StEtrHitCollection
();
31
~
StEtrHitCollection
();
32
33
bool
addHit(
StEtrHit
*);
34
unsigned
int
numberOfHits()
const
;
35
unsigned
int
numberOfLayers()
const
;
36
unsigned
int
numberOfSectors()
const
;
37
38
StSPtrVecEtrHit& hits();
39
const
StSPtrVecEtrHit& hits()
const
;
40
41
private
:
42
enum
{ mNumberOfLayers = 3 };
43
enum
{ mNumberOfSectors = 12 };
44
45
StSPtrVecEtrHit mHits;
46
47
ClassDef(
StEtrHitCollection
,1)
48
};
49
#endif
StEtrHitCollection
Definition:
StEtrHitCollection.h:28
StEtrHit
Definition:
StEtrHit.h:36
StObject
Definition:
StObject.h:54
Generated by
1.8.5