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(UInt_t seed):PamVMCDigitizer("AC"){ |
27 |
fattenAC = new TF1("fAttAC",".825+.64*atan(9.8/x)",0.,45.); |
28 |
rnd = new TRandom3(seed); |
29 |
} |
30 |
|
31 |
|
32 |
virtual ~PamVMCAcDig(){ delete fattenAC;} |
33 |
|
34 |
|
35 |
void Digitize(){; }; //not used |
36 |
|
37 |
void DigitizeAC(Int_t EventNo); |
38 |
|
39 |
|
40 |
ClassDef(PamVMCAcDig,2) |
41 |
}; |
42 |
|
43 |
|
44 |
#endif //PAMVMC_AC_DIG_H |