StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StMcMtdHitCollection.hh
1 /***************************************************************************
2  *
3  * $Id: StMcMtdHitCollection.hh,v 2.3 2012/03/22 00:45:30 perev Exp $
4  * $Log: StMcMtdHitCollection.hh,v $
5  * Revision 2.3 2012/03/22 00:45:30 perev
6  * private => protected
7  *
8  * Revision 2.2 2012/03/01 16:48:29 perev
9  * method Browse() added
10  *
11  * Revision 2.1 2011/10/11 16:22:39 perev
12  * Add Mtd
13  *
14  *
15  */
16 #ifndef StMcMtdHitCollection_hh
17 #define StMcMtdHitCollection_hh
18 #include "StMcContainers.hh"
19 #include "StObject.h"
20 
21 class TBrowser;
22 class StMcMtdHit;
23 
25 public:
27  virtual ~StMcMtdHitCollection();
28  void Clear(const char* opt="");
29  bool IsFolder() const { return true;};
30 virtual void Browse(TBrowser *b);
31  bool addHit(StMcMtdHit*);
32  unsigned long numberOfHits() const;
33 
34  StSPtrVecMcMtdHit& hits();
35  const StSPtrVecMcMtdHit& hits() const;
36 
37 protected:
38  StSPtrVecMcMtdHit mHits;
39  ClassDef(StMcMtdHitCollection,1)
40 };
41 #endif