00001 /*************************************************************************** 00002 * 00003 * $Id: StMcSvtLadderHitCollection.hh,v 2.6 2012/03/22 00:49:53 perev Exp $ 00004 * 00005 * Author: Manuel Calderon de la Barca Sanchez, Oct 1999 00006 *************************************************************************** 00007 * 00008 * Description: Monte Carlo Svt Ladder Hit Collection class 00009 * 00010 *************************************************************************** 00011 * 00012 * $Log: StMcSvtLadderHitCollection.hh,v $ 00013 * Revision 2.6 2012/03/22 00:49:53 perev 00014 * private => protected 00015 * 00016 * Revision 2.5 2009/07/24 19:08:08 perev 00017 * Cleanup + Btof added (Geurts) 00018 * 00019 * Revision 2.4 2005/01/27 23:40:48 calderon 00020 * Adding persistency to StMcEvent as a step for Virtual MonteCarlo. 00021 * 00022 * Revision 2.3 2000/04/18 23:46:13 calderon 00023 * Fix bug in reurning barrel number 00024 * Enumerations for the Max barrels, ladders & wafers modified for 00025 * SSD inclusion in current scheme. 00026 * 00027 * Revision 2.2 2000/03/06 18:05:22 calderon 00028 * 1) Modified SVT Hits storage scheme from layer-ladder-wafer to 00029 * barrel-ladder-wafer. 00030 * 2) Added Rich Hit class and collection, and links to them in other 00031 * classes. 00032 * 00033 * Revision 2.1 1999/11/19 19:06:33 calderon 00034 * Recommit after redoing the files. 00035 * 00036 * Revision 2.0 1999/11/17 02:01:00 calderon 00037 * Completely revised for new StEvent 00038 * 00039 * 00040 **************************************************************************/ 00041 #ifndef StMcSvtLadderHitCollection_hh 00042 #define StMcSvtLadderHitCollection_hh 00043 00044 #include "StMcSvtWaferHitCollection.hh" 00045 00046 class StMcSvtLadderHitCollection : public StObject 00047 { 00048 public: 00049 StMcSvtLadderHitCollection(); 00050 virtual ~StMcSvtLadderHitCollection(); 00051 // StMcSvtLadderHitCollection(const StMcSvtLadderHitCollection&); use default 00052 // const StMcSvtLadderHitCollection& operator=(const StMcSvtLadderHitCollection&); use default 00053 00054 unsigned long numberOfHits() const; 00055 unsigned int numberOfWafers() const; 00056 00057 StMcSvtWaferHitCollection* wafer(unsigned int); 00058 const StMcSvtWaferHitCollection* wafer(unsigned int) const; 00059 00060 void setBarrelNumber(int); 00061 00062 protected: 00063 enum { mMaxNumberOfWafers = 16 }; 00064 int mBarrelNumber; 00065 StMcSvtWaferHitCollection mWafers[mMaxNumberOfWafers]; 00066 ClassDef(StMcSvtLadderHitCollection,1) 00067 }; 00068 #endif
1.5.9