StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StMcFgtLayerHitCollection.hh
1 /***************************************************************************
2  *
3  * $Id: StMcFgtLayerHitCollection.hh,v 2.4 2012/03/22 00:40:41 perev Exp $
4  *
5  * Author: Fabrice Retiere/Kai Schweda, Aug 2003
6  ***************************************************************************
7  *
8  * Description: Monte Carlo Fgt Layer Hit Collection class from Kai
9  *
10  * The Fgt detector hits are stored here.
11  *
12  ***************************************************************************
13  *
14  * $Log: StMcFgtLayerHitCollection.hh,v $
15  * Revision 2.4 2012/03/22 00:40:41 perev
16  * private => protected
17  *
18  * Revision 2.3 2012/03/01 16:48:29 perev
19  * method Browse() added
20  *
21  * Revision 2.2 2009/07/24 19:08:07 perev
22  * Cleanup + Btof added (Geurts)
23  *
24  * Revision 2.1 2005/04/18 20:11:33 calderon
25  * Addition of Fgt and Fst files. Modified other files to accomodate changes.
26  *
27  *
28  *
29  **************************************************************************/
30 #ifndef StMcFgtLayerHitCollection_hh
31 #define StMcFgtLayerHitCollection_hh
32 
33 #include "StMcContainers.hh"
34 #include "StObject.h"
35 
36 class StMcFgtHit;
37 
39 {
40 public:
42  virtual ~StMcFgtLayerHitCollection();
43  void Clear(const char* opt="");
44  bool IsFolder() const { return true;};
45 virtual void Browse(TBrowser *b);
46 
47  unsigned long numberOfHits() const;
48 
49  StSPtrVecMcFgtHit& hits();
50  const StSPtrVecMcFgtHit& hits() const;
51 
52 protected:
53  StSPtrVecMcFgtHit mHits;
54  ClassDef(StMcFgtLayerHitCollection,1)
55 };
56 #endif