StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StMcFtpcPlaneHitCollection.hh
1 /***************************************************************************
2  *
3  * $Id: StMcFtpcPlaneHitCollection.hh,v 2.5 2012/03/22 00:42:55 perev Exp $
4  *
5  * Author: Manuel Calderon de la Barca Sanchez, Oct 1999
6  ***************************************************************************
7  *
8  * Description: Monte Carlo Ftpc Plane Hit Collection class
9  *
10  * The hits are stored here, and there is no Sector Hit collection, because
11  * the sector assignment depends on the reconstruction, B-Field, etc. The
12  * Monte Carlo Data doesn't shouldn't assign the sector.
13  *
14  ***************************************************************************
15  *
16  * $Log: StMcFtpcPlaneHitCollection.hh,v $
17  * Revision 2.5 2012/03/22 00:42:55 perev
18  * private => protected
19  *
20  * Revision 2.4 2012/03/01 16:48:29 perev
21  * method Browse() added
22  *
23  * Revision 2.3 2009/07/24 19:08:07 perev
24  * Cleanup + Btof added (Geurts)
25  *
26  * Revision 2.2 2005/01/27 23:40:47 calderon
27  * Adding persistency to StMcEvent as a step for Virtual MonteCarlo.
28  *
29  * Revision 2.1 2000/03/06 18:05:21 calderon
30  * 1) Modified SVT Hits storage scheme from layer-ladder-wafer to
31  * barrel-ladder-wafer.
32  * 2) Added Rich Hit class and collection, and links to them in other
33  * classes.
34  *
35  * Revision 2.0 1999/11/17 02:00:59 calderon
36  * Completely revised for new StEvent
37  *
38  *
39  **************************************************************************/
40 #ifndef StMcFtpcPlaneHitCollection_hh
41 #define StMcFtpcPlaneHitCollection_hh
42 
43 #include "StMcContainers.hh"
44 #include "StObject.h"
45 
46 class StMcFtpcHit;
47 
49 {
50 public:
52  virtual ~StMcFtpcPlaneHitCollection();
53  void Clear(const char* opt="");
54  bool IsFolder() const { return true;};
55 virtual void Browse(TBrowser *b);
56 
57  unsigned long numberOfHits() const;
58 
59  StSPtrVecMcFtpcHit& hits();
60  const StSPtrVecMcFtpcHit& hits() const;
61 
62 protected:
63  StSPtrVecMcFtpcHit mHits;
64  ClassDef(StMcFtpcPlaneHitCollection,1)
65 };
66 #endif