StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StMcBTofHitCollection.hh
1 /***************************************************************************
2  *
3  * $Id: StMcBTofHitCollection.hh,v 2.3 2012/03/22 00:27:04 perev Exp $
4  * $Log: StMcBTofHitCollection.hh,v $
5  * Revision 2.3 2012/03/22 00:27:04 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 2009/07/24 19:08:06 perev
12  * Cleanup + Btof added (Geurts)
13  *
14  *
15  */
16 #ifndef StMcBTofHitCollection_hh
17 #define StMcBTofHitCollection_hh
18 #include "StMcContainers.hh"
19 #include "StObject.h"
20 
21 class StMcBTofHit;
22 
24 public:
26  virtual ~StMcBTofHitCollection();
27  void Clear(const char* opt="");
28  bool IsFolder() const { return true;};
29 virtual void Browse(TBrowser *b);
30 
31  bool addHit(StMcBTofHit*);
32  unsigned long numberOfHits() const;
33 
34  StSPtrVecMcBTofHit& hits();
35  const StSPtrVecMcBTofHit& hits() const;
36 
37 protected:
38  StSPtrVecMcBTofHit mHits;
39  ClassDef(StMcBTofHitCollection,1)
40 };
41 #endif