1 |
#ifndef PAMVMC_AC_DIG_H |
2 |
#define PAMVMC_AC_DIG_H |
3 |
|
4 |
#include "PamVMCDigitizer.h" |
5 |
#include <TF1.h> |
6 |
|
7 |
|
8 |
using std::cout; |
9 |
using std::endl; |
10 |
|
11 |
class PamVMCAcDig : public PamVMCDigitizer { |
12 |
|
13 |
|
14 |
Float_t fSumEcat[5], fSumEcas[5], fSumEcard[5]; |
15 |
|
16 |
Bool_t fDEBUG; |
17 |
|
18 |
TF1* fattenAC; |
19 |
|
20 |
void FillErel(); |
21 |
|
22 |
void AddErel(TClonesArray* HitColl, Int_t detcode); |
23 |
|
24 |
public: |
25 |
|
26 |
PamVMCAcDig():PamVMCDigitizer("AC"){ |
27 |
fattenAC = new TF1("fAttAC",".825+.64*atan(9.8/x)",0.,45.); |
28 |
} |
29 |
|
30 |
|
31 |
virtual ~PamVMCAcDig(){ delete fattenAC;} |
32 |
|
33 |
|
34 |
void Digitize(){; }; //not used |
35 |
|
36 |
void DigitizeAC(Int_t EventNo); |
37 |
|
38 |
|
39 |
ClassDef(PamVMCAcDig,1) |
40 |
}; |
41 |
|
42 |
|
43 |
#endif //PAMVMC_AC_DIG_H |