StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StSvtHybridNoise.hh
1 /***************************************************************************
2  *
3  * $Id: StSvtHybridNoise.hh,v 1.2 2003/07/31 19:18:09 caines Exp $
4  *
5  * Author: Selemon Bekele
6  ***************************************************************************
7  *
8  * Description: SVT Hybrid Data BASE class
9  *
10  ***************************************************************************
11  *
12  * $Log: StSvtHybridNoise.hh,v $
13  * Revision 1.2 2003/07/31 19:18:09 caines
14  * Petrs improved simulation code
15  *
16  * Revision 1.1 2000/11/30 20:47:49 caines
17  * First version of Slow Simulator - S. Bekele
18  *
19  **************************************************************************/
20 
21 #ifndef STSVTHYBRIDNOISE_HH
22 #define STSVTHYBRIDNOISE_HH
23 
24 #include "StSvtClassLibrary/StSvtHybridData.hh"
25 #include "StSvtClassLibrary/StSvtHybridPixelsC.hh"
26 
28 {
29 public:
30  StSvtHybridNoise(int barrel, int ladder, int wafer, int hybrid);
31 
32  double makeGausDev(double sigma,double mean = 0);
33  double prob(double sigma, double threshold);
34  double maxDistValue(double sigma ,double threshold);
35  double countAboveThreshold(double sigma, double randNum);
36 
37 protected:
38 
39  ClassDef(StSvtHybridNoise,1)
40 };
41 
42 #endif