HARPO  5.1.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
HarpoSimElectronics.h
Go to the documentation of this file.
1 #ifndef HARPOSIMELECTRONICS_H
2 #define HARPOSIMELECTRONICS_H
3 // //
5 // HarpoSimElectronics //
6 // //
7 // SIM raw file Electronics Class //
8 // //
10 
11 #include "TObject.h"
12 #include "HarpoDccMap.h"
13 #include "HarpoPedestal.h"
14 #include "HarpoSimStrips.h"
15 
16 class HarpoSimElectronics : public TObject {
17 
18 public:
19 
22 
25 
26  void Reset();
27  /* void ProcessStrips(HarpoSimStrips* strips); */
28  /* void ProcessStrips(HarpoDccMap* dccMap, TClonesArray* hits, Int_t nhits); */
29  void Noise();//{}
30  void Noise(HarpoDccMap* map);//{}
31  void Saturation(HarpoDccMap* map);//{}
32  Double_t ChannelSat(Double_t qreal);
33  void ZeroSuppression();//{}
34  void ZeroSuppression(HarpoDccMap* map);//{}
35  /* void AGETmultiplicity(); */
36 
37  Int_t AddCharge(HarpoDccMap* map, Int_t channel, Double_t time, Double_t charge);
38  Int_t AddCharge(Int_t plane, Int_t channel, Double_t time, Double_t charge);
39 
40  // Double_t GetSigmaNoise(){return fNoise;}
41  HarpoPedestal* GetPedestals(UInt_t ndet){return fPedestals[ndet];}
42 
43 
44  private:
45 
46  Double_t fNoise;
47  /* Double_t fNoiseAGET; */
48  Int_t fZeroSuppr;
49  Int_t fGammaPower; // Form of the shaping function t^P*exp(-P*t) P = 2,3,4
50  Double_t fTau; // Shaping time [us]
51  Double_t fSamplingFreq; // Sampling frequency [MHz]
52  Int_t fTimeRange;
53  Double_t fTimeOffset;
54  Double_t fThrSat;
55  Double_t fThrSatCh;
56  Double_t fAmpSatCh;
57  Double_t fXtalkSatCh;
58 
61 
62  // HarpoSimAGET* fAGET;
63  /* TClonesArray* fAGETarray; */
64 
66 
67  ClassDef(HarpoSimElectronics,1)
68 };
69 #endif
void Saturation(HarpoDccMap *map)
Int_t AddCharge(HarpoDccMap *map, Int_t channel, Double_t time, Double_t charge)
HarpoDccMap * GetDccMapX()
HarpoPedestal * fPedestals[2]
unpacked dcc data The class contains the data map for DCC or Feminos The data is stored as a 2D TMatr...
Definition: HarpoDccMap.h:29
HarpoDccMap * GetDccMapY()
Double_t ChannelSat(Double_t qreal)
HarpoPedestal * GetPedestals(UInt_t ndet)