00001 /*************************************************************************** 00002 * 00003 * $Id: StMcSvtHitCollection.hh,v 2.6 2012/03/22 00:48:45 perev Exp $ 00004 * $Log: StMcSvtHitCollection.hh,v $ 00005 * Revision 2.6 2012/03/22 00:48:45 perev 00006 * private => protected 00007 * 00008 * Revision 2.5 2009/07/24 19:08:08 perev 00009 * Cleanup + Btof added (Geurts) 00010 * 00011 * Revision 2.4 2005/01/27 23:40:48 calderon 00012 * Adding persistency to StMcEvent as a step for Virtual MonteCarlo. 00013 * 00014 * Revision 2.3 2000/04/18 23:46:12 calderon 00015 * Fix bug in reurning barrel number 00016 * Enumerations for the Max barrels, ladders & wafers modified for 00017 * SSD inclusion in current scheme. 00018 * 00019 * Revision 2.2 2000/03/06 18:05:22 calderon 00020 * 1) Modified SVT Hits storage scheme from layer-ladder-wafer to 00021 * barrel-ladder-wafer. 00022 * 2) Added Rich Hit class and collection, and links to them in other 00023 * classes. 00024 * 00025 * Revision 2.1 1999/11/19 19:06:33 calderon 00026 * Recommit after redoing the files. 00027 * 00028 * Revision 2.0 1999/11/17 02:12:16 calderon 00029 * Completely revised for new StEvent 00030 * 00031 * Revision 1.2 1999/09/23 21:25:52 calderon 00032 * Added Log & Id 00033 * Modified includes according to Yuri 00034 * 00035 * 00036 **************************************************************************/ 00037 #ifndef StMcSvtHitCollection_hh 00038 #define StMcSvtHitCollection_hh 00039 00040 #include "StMcSvtBarrelHitCollection.hh" 00041 class StMcSvtHit; 00042 00043 class StMcSvtHitCollection : public StObject { 00044 public: 00045 StMcSvtHitCollection(); 00046 virtual ~StMcSvtHitCollection(); 00047 // StMcSvtHitCollection(const StMcSvtHitCollection&); use default 00048 // StMcSvtHitCollection& operator=(const StMcSvtHitCollection&); use default 00049 00050 bool addHit(StMcSvtHit*); 00051 unsigned long numberOfHits() const; 00052 unsigned int numberOfBarrels() const; 00053 00054 StMcSvtBarrelHitCollection* barrel(unsigned int); 00055 const StMcSvtBarrelHitCollection* barrel(unsigned int) const; 00056 00057 protected: 00058 enum { mNumberOfBarrels = 4 }; // Keeping the SSD along with SVT 00059 StMcSvtBarrelHitCollection mBarrels[mNumberOfBarrels]; 00060 ClassDef(StMcSvtHitCollection,1) 00061 }; 00062 00063 #endif
1.5.9