source: JEM-EUSO/esaf_lal/tags/v1_r0/esaf/packages/simulation/detector/electronics/include/FullAnalogFrontEnd.hh @ 117

Last change on this file since 117 was 117, checked in by moretto, 11 years ago

ESAF version compilable on mac OS

File size: 1.2 KB
Line 
1// ESAF : Euso Simulation and Analysis Framework
2// $Id: FullAnalogFrontEnd.hh 1112 2004-09-28 12:10:53Z thea $
3// M. Pallavicini created Jul,  2 2002
4// Full analog front end electronics simulation
5// one ADC value for each channel and for each GTU
6
7#ifndef __FULLANALOGFRONTEND_HH_
8#define __FULLANALOGFRONTEND_HH_
9
10#include "euso.hh"
11#include "AnalogFrontEnd.hh"
12#include "Config.hh"
13
14class FullAnalogFrontEnd : public AnalogFrontEnd {
15public:
16    FullAnalogFrontEnd( FrontEndChip*, Int_t size );
17    virtual ~FullAnalogFrontEnd();
18
19    EsafConfigClass( Electronics, FullAnalogFrontEnd )
20
21    // reset (clear Int_ternal variables and status)
22    virtual void Reset( Int_t );
23
24    // add a photon for one specific channel and GTU
25    // last bool is true if DFEE has triggered on this channel and GTU
26    virtual void Add( const PmtSignal&, Int_t, int );
27
28    // simulate fGtu response
29    virtual void Simulate( ChipGtuData* );
30
31private:
32    Int_t fSize;         // number of channels
33    Int_t fGtu;          // gtu id
34    Double_t *fCharge;   // measured charge per channel
35    Double_t fDynode;    // total dynode charge
36
37    ClassDef(FullAnalogFrontEnd,0)
38};
39
40#endif  /* __FULLANALOGFRONTEND_HH_ */
41
Note: See TracBrowser for help on using the repository browser.