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