00001 /*************************************************************************** 00002 * 00003 * $Id: StMcSsdLadderHitCollection.hh,v 2.3 2012/03/22 00:47:25 perev Exp $ 00004 * 00005 * Author: Fabrice Retiere/Kai Schweda, Aug 2003 00006 *************************************************************************** 00007 * 00008 * Description: Monte Carlo Ssd Ladder Hit Collection class from Kai 00009 * 00010 * The ssd detector hits are stored here. 00011 * 00012 *************************************************************************** 00013 * 00014 * $Log: StMcSsdLadderHitCollection.hh,v $ 00015 * Revision 2.3 2012/03/22 00:47:25 perev 00016 * private => protected 00017 * 00018 * Revision 2.2 2011/10/17 00:24:01 fisyak 00019 * Add time of flight for hits 00020 * 00021 * Revision 2.1 2005/11/22 21:44:52 fisyak 00022 * Add compress Print for McEvent, add Ssd collections 00023 * 00024 * Revision 2.2 2005/01/27 23:40:48 calderon 00025 * Adding persistency to StMcEvent as a step for Virtual MonteCarlo. 00026 * 00027 * Revision 2.1 2004/09/14 05:00:30 calderon 00028 * Added support for Ist, Ssd and changes to Pixel, from "El Kai". 00029 * 00030 * Revision 2.1 2003/08/20 18:50:21 calderon 00031 * Addition of Tof classes and Ssd classes. Modified track, event, and 00032 * container code to reflect this. 00033 * Fix bug in StMcVertex and in clearing of some hit collections. 00034 * 00035 * 00036 * 00037 **************************************************************************/ 00038 #ifndef StMcSsdLadderHitCollection_hh 00039 #define StMcSsdLadderHitCollection_hh 00040 00041 #include "StMcContainers.hh" 00042 #include "StObject.h" 00043 00044 #include "StMcSsdWaferHitCollection.hh" 00045 00046 class StMcSsdLadderHitCollection : public StObject 00047 { 00048 public: 00049 StMcSsdLadderHitCollection() {} 00050 virtual ~StMcSsdLadderHitCollection() {} 00051 protected: 00052 enum { mMaxNumberOfWafers = 16 }; 00053 StMcSsdWaferHitCollection mWafers[mMaxNumberOfWafers]; 00054 public: 00055 unsigned long numberOfHits() const; 00056 unsigned int numberOfWafers() const {return mMaxNumberOfWafers;} 00057 00058 StMcSsdWaferHitCollection* wafer(unsigned int); 00059 const StMcSsdWaferHitCollection* wafer(unsigned int) const; 00060 00061 ClassDef(StMcSsdLadderHitCollection,1) 00062 }; 00063 #endif
1.5.9