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