StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StEmcPmtSimulator.h
1 #ifndef STAR_StEmcPmtSimulator
2 #define STAR_StEmcPmtSimulator
3 
4 // $Id: StEmcPmtSimulator.h,v 1.7 2007/09/11 21:49:13 kocolosk Exp $
5 
6 #include "StEmcSimpleSimulator.h"
7 #include "StPmtSignal.h"
9 
10 class StEmcRawHit;
11 class StMcCalorimeterHit;
12 
13 /*****************************************************************************
14  * @class StEmcPmtSimulator.h
15  * @author A.Pavlinov -> A.Suaide -> A.Kocoloski
16  *
17  * This class simulates EMC response with accounting primary
18  * and secondary photostatistics. It supports the modes for
19  * simple simulator also.
20  *
21  * kPrimaryOnlyMode: Taking into account only primary photostatistics.
22  *
23  * kPrimarySecondaryFullMode: Taking into account primary and secondary
24  * photostatistics(full simulation);
25  *
26  * kPrimarySecondaryFastMode: Taking into account primary and secondary
27  * photostatistics(fast simulation);
28  *****************************************************************************/
30 {
31 protected:
32  StPmtSignal mPmtSignal;
34 
35  double mMipPhotoElectrons;
36  double mMipEnergyDeposit;
37 
38 public:
39  StEmcPmtSimulator(StDetectorId det, StEmcSimulatorMode mode);
40  virtual ~StEmcPmtSimulator() { /* nothing */ };
41 
43 
44  ClassDef(StEmcPmtSimulator, 2)
45 };
46 #endif
47 
48 /*****************************************************************************
49  * $Log: StEmcPmtSimulator.h,v $
50  * Revision 1.7 2007/09/11 21:49:13 kocolosk
51  * complete overhaul of the BEMC simulator
52  * http://www.star.bnl.gov/HyperNews-star/get/emc2/2486.html
53  *
54  * Revision 1.6 2007/01/22 19:13:40 kocolosk
55  * use STAR logger for all output
56  *
57  * Revision 1.5 2005/03/21 21:36:39 suaide
58  * fixed problem with chain
59  *
60  * Revision 1.4 2004/08/06 13:24:47 suaide
61  * New features added and fixed some bugs in the database
62  *
63  * Revision 1.3 2003/09/23 15:19:46 suaide
64  * fixed bugs and modifications for embedding
65  *
66  * Revision 1.2 2002/06/04 16:09:35 pavlinov
67  * added option with DB(pedestal ans calibration coefficients
68  *
69  * Revision 1.1 2000/10/23 22:53:14 pavlinov
70  * First working C++ version
71  *****************************************************************************/
StEmcRawHit * makeRawHit(const StMcCalorimeterHit *mcHit)
workhorse function