StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StMcIstLayerHitCollection.hh
1 /***************************************************************************
2  *
3  * $Id: StMcIstLayerHitCollection.hh,v 2.5 2012/03/22 00:44:33 perev Exp $
4  *
5  * Author: Fabrice Retiere/Kai Schweda, Aug 2003
6  ***************************************************************************
7  *
8  * Description: Monte Carlo Ist Layer Hit Collection class from Kai
9  *
10  * The pixel detector hits are stored here.
11  *
12  ***************************************************************************
13  *
14  * $Log: StMcIstLayerHitCollection.hh,v $
15  * Revision 2.5 2012/03/22 00:44:33 perev
16  * private => protected
17  *
18  * Revision 2.4 2012/03/01 16:48:29 perev
19  * method Browse() added
20  *
21  * Revision 2.3 2009/07/24 19:08:07 perev
22  * Cleanup + Btof added (Geurts)
23  *
24  * Revision 2.2 2005/05/11 20:54:29 calderon
25  * Added persistency: ClassImp, ClassDef and inheritance from StObject.
26  *
27  * Revision 2.1 2004/09/14 05:00:30 calderon
28  * Added support for Ist, Ssd and changes to Pixel, from "El Kai".
29  *
30  * Revision 2.1 2003/08/20 18:50:21 calderon
31  * Addition of Tof classes and Ist classes. Modified track, event, and
32  * container code to reflect this.
33  * Fix bug in StMcVertex and in clearing of some hit collections.
34  *
35  *
36  *
37  **************************************************************************/
38 #ifndef StMcIstLayerHitCollection_hh
39 #define StMcIstLayerHitCollection_hh
40 
41 #include "StMcContainers.hh"
42 #include "StObject.h"
43 
44 class StMcIstHit;
45 
47 public:
49  virtual ~StMcIstLayerHitCollection();
50  void Clear(const char* opt="");
51  bool IsFolder() const { return true;};
52 virtual void Browse(TBrowser *b);
53 
54  unsigned long numberOfHits() const;
55 
56  StSPtrVecMcIstHit& hits();
57  const StSPtrVecMcIstHit& hits() const;
58 
59 protected:
60  StSPtrVecMcIstHit mHits;
61  ClassDef(StMcIstLayerHitCollection,1)
62 };
63 #endif