]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PHOS/AliPHOSPulseGenerator.h
Compilation on Windoiws/Cygwin
[u/mrichter/AliRoot.git] / PHOS / AliPHOSPulseGenerator.h
index 7fa675e254a4be0b50c67f84ad0fa933ae2ea7b8..0b63e092de1d341f37924240e517dcf74143b3f3 100644 (file)
@@ -48,9 +48,10 @@ public:
   Double_t        GetRawFormatTimeTrigger() const { return fgTimeTrigger ; }
   static Double_t RawResponseFunctionMax(Double_t charge, Double_t gain) ;
   static Double_t RawResponseFunction   (Double_t *x, Double_t *par) ;
+  static Double_t GeV2ADC();
 
   virtual void Print(Option_t*) const;
-  virtual void Draw (Option_t*);
+  virtual void Draw (Option_t* opt = "all");
 
   AliPHOSPulseGenerator& operator = (const AliPHOSPulseGenerator &) {
     Fatal("operator =", "not implemented") ;
@@ -63,7 +64,9 @@ private:
   static Double_t fgHighGain ;          // high gain
   static Double_t fgHighLowGainFactor ; // high to low gain factor
   static Int_t    fgOrder ;             // order of the gamma function
-  static const Int_t fkTimeBins = 64 ;  // number of sampling bins
+
+  static const Int_t fkTimeBins = 100 ; // number of sampling bins
+
   static Double_t fgTimeMax ;           // maximum sampled time
   static Double_t fgTimePeak ;          // peaking time
   static Double_t fgTimeTrigger ;       // time of the trigger for the RO signal