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

Contents of /PamVMC/ac/include/PamVMCAcDig.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Fri Jun 12 18:38:57 2009 UTC (15 years, 6 months ago) by pam-rm2
Branch: MAIN
CVS Tags: v1r0, HEAD
Changes since 1.1: +0 -0 lines
File MIME type: text/plain
- Introduced user-defined names of output files and random seeds number.
Users can do it use options of PamVMCApplication constructor:
PamVMCApplication(const char* name,  const char *title, const char*
filename="pamtest", Int_t seed=0).
The Random object that I use is TRandom3 object which has astronomical
large period (in case of default initialization 0). All random generators
in the code use this object by calling of gRandom singleton which keeps
it.

- Corrected TOF digitization routine. No problems with TDC hits due to
hadronic interactions anymore.

- Some small changes was done to compile code under Root 5.23. +
geant4_vmc v. 2.6 without any warnings

- Some classes of PamG4RunConfiguartion was changed for geant4_vmc v.
2.6.Some obsolete classes was deleted as soon as developers implemented
regions.

- Navigation was changed from "geomRootToGeant4" to "geomRoot", because on
VMC web page written that as soon as Geant4 has no option ONLY/MANY
translation of overlapped geometry to Geant4 through VGM could be wrong.
I'd like to stay with Root navigation:
http://root.cern.ch/root/vmc/Geant4VMC.html. This should be default
option.

- New Tracker digitization routine written by Sergio was implemented

- PamVMC again became compatible with geant4_vmc v.2.5 and ROOT 5.20.
 The problem was that ROOT developers introduced in TVirtualMC class a new
method SetMagField and new base class:TVirtualMagField from which
user-defined classes shoukd be derived

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

  ViewVC Help
Powered by ViewVC 1.1.23