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