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
StMuTofHitCollection.h
1
/****************************************************************
2
* $Id: StMuTofHitCollection.h,v 1.2 2004/05/02 04:10:14 perev Exp $
3
*
4
* Author: Xin Dong, April 2004
5
*
6
*****************************************************************
7
* Description:
8
* TOF hits collection for Micro Dst
9
*
10
*****************************************************************
11
*
12
* $Log: StMuTofHitCollection.h,v $
13
* Revision 1.2 2004/05/02 04:10:14 perev
14
* private => protected
15
*
16
* Revision 1.1 2004/04/02 03:39:12 jeromel
17
* New files for TTOF
18
*
19
****************************************************************/
20
21
#ifndef ST_MU_TOF_HIT_COLLECTION_H
22
#define ST_MU_TOF_HIT_COLLECTION_H
23
24
#include <vector>
25
#ifndef ST_NO_NAMESPACES
26
using
std::vector;
27
using
std::copy;
28
#endif
29
30
31
#include "StMuTofHit.h"
32
33
#ifndef ST_NO_DEF_TEMPLATE_ARGS
34
typedef
vector<StMuTofHit*> hitVector;
35
#else
36
typedef
vector<StMuTofHit*, allocator<StMuTofHit*> > hitVector;
37
#endif
38
39
class
StMuTofHitCollection
{
40
public
:
41
StMuTofHitCollection
();
42
virtual
~
StMuTofHitCollection
();
43
44
// Do not use default
45
// StMuTofHitCollection(const StMuTofHitCollection& old);
46
// StMuTofHitCollection& operator=(const StMuTofHitCollection& old);
47
48
bool
push_back(
StMuTofHit
*
hit
);
49
size_t
size()
const
;
50
StMuTofHit
* front()
const
;
51
StMuTofHit
* back()
const
;
52
StMuTofHit
* getHit(
size_t
index)
const
;
53
54
void
clear();
55
56
protected
:
57
58
hitVector mHitVector;
59
};
60
61
#endif
/* _TOF */
StMuTofHit
Definition:
StMuTofHit.h:11
hit
Definition:
GenericTable.C:6
StMuTofHitCollection
Definition:
StMuTofHitCollection.h:39
Generated by
1.8.5