00001 /*************************************************************************** 00002 * 00003 * $Id: StMcSvtBarrelHitCollection.hh,v 2.5 2012/03/22 00:48:45 perev Exp $ 00004 * 00005 * Author: Manuel Calderon de la Barca Sanchez, March 2000 00006 *************************************************************************** 00007 * 00008 * Description: Monte Carlo Svt Barrel Hit Collection class 00009 * 00010 *************************************************************************** 00011 * 00012 * $Log: StMcSvtBarrelHitCollection.hh,v $ 00013 * Revision 2.5 2012/03/22 00:48:45 perev 00014 * private => protected 00015 * 00016 * Revision 2.4 2009/07/24 19:08:08 perev 00017 * Cleanup + Btof added (Geurts) 00018 * 00019 * Revision 2.3 2005/01/27 23:40:48 calderon 00020 * Adding persistency to StMcEvent as a step for Virtual MonteCarlo. 00021 * 00022 * Revision 2.2 2000/04/18 23:46:12 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.1 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 * 00034 **************************************************************************/ 00035 #ifndef StMcSvtBarrelHitCollection_hh 00036 #define StMcSvtBarrelHitCollection_hh 00037 00038 #include "StMcSvtLadderHitCollection.hh" 00039 00040 00041 class StMcSvtBarrelHitCollection : public StObject 00042 { 00043 public: 00044 StMcSvtBarrelHitCollection(); 00045 virtual ~StMcSvtBarrelHitCollection(); 00046 // StMcSvtBarrelHitCollection(const StMcSvtBarrelHitCollection&); use default 00047 // const StMcSvtBarrelHitCollection& 00048 // operator=(const StMcSvtBarrelHitCollection&); use default 00049 00050 unsigned long numberOfHits() const; 00051 unsigned int numberOfLadders() const; 00052 00053 StMcSvtLadderHitCollection* ladder(unsigned int); 00054 const StMcSvtLadderHitCollection* ladder(unsigned int) const; 00055 00056 void setBarrelNumber(int); 00057 00058 protected: 00059 enum { mMaxNumberOfLadders = 20 }; 00060 int mBarrelNumber; 00061 StMcSvtLadderHitCollection mLadders[mMaxNumberOfLadders]; 00062 ClassDef(StMcSvtBarrelHitCollection,1) 00063 }; 00064 #endif
1.5.9