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
StRnDHitCollection.h
1
5
/***************************************************************************
6
*
7
* $Id: StRnDHitCollection.h,v 2.1 2006/01/19 21:42:06 ullrich Exp $
8
*
9
* Author: Thomas Ullrich, Jan 2006
10
***************************************************************************
11
*
12
* Description:
13
*
14
***************************************************************************
15
*
16
* $Log: StRnDHitCollection.h,v $
17
* Revision 2.1 2006/01/19 21:42:06 ullrich
18
* Initial Revision.
19
*
20
**************************************************************************/
21
#ifndef StRnDHitCollection_hh
22
#define StRnDHitCollection_hh
23
24
#include "StObject.h"
25
#include "StContainers.h"
26
27
class
StRnDHit
;
28
29
class
StRnDHitCollection
:
public
StObject
{
30
public
:
31
StRnDHitCollection
();
32
~
StRnDHitCollection
();
33
// StRnDHitCollection(const StRnDHitCollection&); use default
34
// const StRnDHitCollection&
35
// operator=(const StRnDHitCollection&); use default
36
37
StSPtrVecRnDHit& hits();
38
const
StSPtrVecRnDHit& hits()
const
;
39
40
bool
addHit(
StRnDHit
*);
41
unsigned
int
numberOfHits()
const
;
42
43
private
:
44
StSPtrVecRnDHit mHits;
45
46
ClassDef(
StRnDHitCollection
,1)
47
};
48
49
inline
const
StSPtrVecRnDHit& StRnDHitCollection::hits()
const
{
return
mHits; }
50
inline
StSPtrVecRnDHit& StRnDHitCollection::hits() {
return
mHits; }
51
inline
unsigned
int
StRnDHitCollection::numberOfHits()
const
{
return
mHits.size();}
52
53
#endif
StRnDHit
Definition:
StRnDHit.h:33
StRnDHitCollection
Definition:
StRnDHitCollection.h:29
StObject
Definition:
StObject.h:54
Generated by
1.8.5