/[PAMELA software]/trieste/pamVMC/ac/include/PamVMCAcDig.h
ViewVC logotype

Contents of /trieste/pamVMC/ac/include/PamVMCAcDig.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Tue Mar 24 14:03:57 2009 UTC (15 years, 9 months ago) by pizzolot
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +4 -3 lines
File MIME type: text/plain
setting of random seed; new distribution for primary generation

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

  ViewVC Help
Powered by ViewVC 1.1.23