StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StPmdCollection.h
1 
5 /************************************************
6  *
7  * $Id: StPmdCollection.h,v 1.3 2010/08/27 16:54:20 perev Exp $
8  *
9  *Author: Subhasis Chattopadhyay
10  ************************************************
11  *
12  * Description: Base class for PMD Collection which
13  * includes both PMD and CPV
14  *
15  * $Log: StPmdCollection.h,v $
16  * Revision 1.3 2010/08/27 16:54:20 perev
17  * WarnOff
18  *
19  * Revision 1.2 2003/05/12 12:07:13 subhasis
20  * Mapping added
21  *
22  *
23  **************************************************/
24 #ifndef StPmdCollection_hh
25 #define StPmdCollection_hh
26 
27 #include "StObject.h"
28 #include "StPmdHit.h"
29 
30 class StPmdDetector;
31 
32 class StPmdCollection : public TDataSet {
33 public:
34  StPmdCollection(const Char_t *);
36 
37  StPmdDetector* detector(Int_t);
38 
39  void setDetector(StPmdDetector*, Int_t);
40 
41 private:
42  StPmdDetector* mDetector[2];
43 
44  ClassDef(StPmdCollection,1)
45 };
46 #endif
47 
48 
49 
50 
51 
52 
53 
54 
StPmdDetector * detector(Int_t)
destructor
void setDetector(StPmdDetector *, Int_t)
detector id
~StPmdCollection()
constructor keeps the information for bothCPV/PMD