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
StPmdUtil
StPmdClusterCollection.h
1
5
/*********************************************************
6
*
7
* $Id: StPmdClusterCollection.h,v 1.2 2003/05/12 12:07:12 subhasis Exp $
8
*
9
* Author: Subhasis Chattopadhaya
10
**********************************************************
11
*
12
* Description: Base class for PMD cluster collection
13
*
14
* $Log: StPmdClusterCollection.h,v $
15
* Revision 1.2 2003/05/12 12:07:12 subhasis
16
* Mapping added
17
*
18
*
19
*********************************************************/
20
#ifndef STAR_StPmdClusterCollection
21
#define STAR_StPmdClusterCollection
22
23
#include <TObjArray.h>
24
#include <TArrayI.h>
25
#include <TArrayF.h>
26
#include <TMatrix.h>
27
#include "StPmdDetector.h"
28
#include "StPmdCluster.h"
29
30
31
class
StPmdClusterCollection
:
public
StObject
{
32
private
:
33
34
Int_t mNclusters;
35
TObjArray mClusters;
36
37
protected
:
38
public
:
39
40
StPmdClusterCollection
();
41
virtual
~StPmdClusterCollection
();
42
43
Int_t
Nclusters
()
const
;
44
TObjArray*
Clusters
();
45
46
void
setNclusters(Int_t);
47
48
virtual
void
DeleteCluster();
49
50
51
virtual
void
addCluster(
StPmdCluster
* cluster);
52
53
54
ClassDef(
StPmdClusterCollection
,1)
// Base class for PMD cluster collection
55
};
56
57
inline
Int_t
StPmdClusterCollection::Nclusters
()
const
{
return
mNclusters;}
58
inline
TObjArray*
StPmdClusterCollection::Clusters
() {
return
&mClusters;}
59
inline
void
StPmdClusterCollection::setNclusters(Int_t var) {mNclusters = var;}
60
61
#endif
62
63
64
65
StPmdCluster
Definition:
StPmdCluster.h:45
StPmdClusterCollection::Nclusters
Int_t Nclusters() const
destructor
Definition:
StPmdClusterCollection.h:57
StPmdClusterCollection::Clusters
TObjArray * Clusters()
no. of clusters
Definition:
StPmdClusterCollection.h:58
StPmdClusterCollection::~StPmdClusterCollection
virtual ~StPmdClusterCollection()
constructor
Definition:
StPmdClusterCollection.cxx:35
StObject
Definition:
StObject.h:54
StPmdClusterCollection
Definition:
StPmdClusterCollection.h:31
Generated by
1.8.5