00001 #ifndef STAR_StEmcPmtSimulator 00002 #define STAR_StEmcPmtSimulator 00003 00004 // $Id: StEmcPmtSimulator.h,v 1.7 2007/09/11 21:49:13 kocolosk Exp $ 00005 00006 #include "StEmcSimpleSimulator.h" 00007 #include "StPmtSignal.h" 00008 #include "StEvent/StEnumerations.h" 00009 00010 class StEmcRawHit; 00011 class StMcCalorimeterHit; 00012 00013 /***************************************************************************** 00014 * @class StEmcPmtSimulator.h 00015 * @author A.Pavlinov -> A.Suaide -> A.Kocoloski 00016 * 00017 * This class simulates EMC response with accounting primary 00018 * and secondary photostatistics. It supports the modes for 00019 * simple simulator also. 00020 * 00021 * kPrimaryOnlyMode: Taking into account only primary photostatistics. 00022 * 00023 * kPrimarySecondaryFullMode: Taking into account primary and secondary 00024 * photostatistics(full simulation); 00025 * 00026 * kPrimarySecondaryFastMode: Taking into account primary and secondary 00027 * photostatistics(fast simulation); 00028 *****************************************************************************/ 00029 class StEmcPmtSimulator : public StEmcSimpleSimulator 00030 { 00031 protected: 00032 StPmtSignal mPmtSignal; 00033 StPmtSignal::simulatorVersion mVer; 00034 00035 double mMipPhotoElectrons; 00036 double mMipEnergyDeposit; 00037 00038 public: 00039 StEmcPmtSimulator(StDetectorId det, StEmcSimulatorMode mode); 00040 virtual ~StEmcPmtSimulator() { /* nothing */ }; 00041 00042 StEmcRawHit* makeRawHit(const StMcCalorimeterHit *mcHit); 00043 00044 ClassDef(StEmcPmtSimulator, 2) 00045 }; 00046 #endif 00047 00048 /***************************************************************************** 00049 * $Log: StEmcPmtSimulator.h,v $ 00050 * Revision 1.7 2007/09/11 21:49:13 kocolosk 00051 * complete overhaul of the BEMC simulator 00052 * http://www.star.bnl.gov/HyperNews-star/get/emc2/2486.html 00053 * 00054 * Revision 1.6 2007/01/22 19:13:40 kocolosk 00055 * use STAR logger for all output 00056 * 00057 * Revision 1.5 2005/03/21 21:36:39 suaide 00058 * fixed problem with chain 00059 * 00060 * Revision 1.4 2004/08/06 13:24:47 suaide 00061 * New features added and fixed some bugs in the database 00062 * 00063 * Revision 1.3 2003/09/23 15:19:46 suaide 00064 * fixed bugs and modifications for embedding 00065 * 00066 * Revision 1.2 2002/06/04 16:09:35 pavlinov 00067 * added option with DB(pedestal ans calibration coefficients 00068 * 00069 * Revision 1.1 2000/10/23 22:53:14 pavlinov 00070 * First working C++ version 00071 *****************************************************************************/
1.5.9