PandaRoot
PndMvdRecoCharge.h
Go to the documentation of this file.
1 #ifndef PNDMVDRECOCHARGE_H
2 #define PNDMVDRECOCHARGE_H
3 
4 #include <iostream>
5 #include <cmath>
6 #include "PndSdsDigi.h"
7 
8 class PndMvdRecoCharge // calculates the charge of a digipixel for the given tot
9 {
10 
11  public:
13  PndMvdRecoCharge(Double_t tr, Double_t a, Double_t threshold);
14  //~PndMvdPixelCharge();
15  Double_t GetCharge(PndSdsDigi &digi);
16  Double_t GetCharge(Double_t tot);
17 
18  private:
19  Double_t fthreshold; // threshold [e]
20  Double_t ftr; // raising time [ns]
21  Double_t fa; // falling ration [e/ns]
22 };
23 #endif /*PNDMVDRECOCHARGE_H*/
Base class for Digi information.
Definition: PndSdsDigi.h:29
Double_t GetCharge(PndSdsDigi &digi)