/[PAMELA software]/PamVMC/include/PamVMCApplication.h
ViewVC logotype

Diff of /PamVMC/include/PamVMCApplication.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by nikolas, Thu Feb 19 16:50:35 2009 UTC revision 1.5 by pam-rm2, Fri Jun 12 18:39:16 2009 UTC
# Line 10  Line 10 
10  #define PAMVMC_APPLICATION_H  #define PAMVMC_APPLICATION_H
11    
12  #include <TVirtualMCApplication.h>  #include <TVirtualMCApplication.h>
13  #include "TMCVerbose.h"  #include <TMCVerbose.h>
14    #include <TRandom.h>
15    
16  #include "PamVMCDetectorSD.h"  #include "PamVMCDetectorSD.h"
17    
18    #include "PamVMCPrimaryGenerator.h"
19  #include "PamVMCDetector.h"  #include "PamVMCDetector.h"
20  #include "PamVMCDetPamela.h"  #include "PamVMCDetPamela.h"
21    #include "PamVMCFieldMgr.h"
22    
23  #include "PamRootManager.h"  #include "PamRootManager.h"
24  #include "PamVMCDetectorHit.h"  #include "PamVMCDetectorHit.h"
25  #include <TMap.h>  #include <TMap.h>
26    
 //#include "PamVMCDetector.h"  
27    
28  #ifdef PAMFIELD  #ifdef PAMFIELD
29  #include "TrkParams.h"  #include "TrkParams.h"
# Line 39  class PamVMCDetPamela; Line 41  class PamVMCDetPamela;
41  class PamVMCApplication : public TVirtualMCApplication  class PamVMCApplication : public TVirtualMCApplication
42  {  {
43    public:    public:
44      PamVMCApplication(const char* name,  const char *title);      PamVMCApplication(const char* name,  const char *title, const char* filename="pamtest", Int_t seed=0);
45      PamVMCApplication();  
46      virtual ~PamVMCApplication();      virtual ~PamVMCApplication();
47        
48      // static access method      // static access method
# Line 62  class PamVMCApplication : public TVirtua Line 64  class PamVMCApplication : public TVirtua
64      virtual void FinishPrimary();      virtual void FinishPrimary();
65      virtual void FinishEvent();      virtual void FinishEvent();
66      virtual void FinishRun();      virtual void FinishRun();
67    #if ROOT_VERSION_CODE < 333572
68      virtual void Field(const Double_t* x, Double_t* b) const;      virtual void Field(const Double_t* x, Double_t* b) const;
69        #endif
70      // set methods      // set methods
71      void  SetVerboseLevel(Int_t verboseLevel);      void  SetVerboseLevel(Int_t verboseLevel);
72    
# Line 74  class PamVMCApplication : public TVirtua Line 77  class PamVMCApplication : public TVirtua
77    
78    private:    private:
79    
80        Bool_t IsInsideCavity();
81    
82      // data members      // data members
83      Int_t                     fEventNo;      Int_t                     fEventNo;
84      TMCVerbose                fVerbose;      TMCVerbose                fVerbose;
85      PamVMCStack*              fStack;      PamVMCStack*              fStack;
86      PamVMCDetPamela       *fdetector;      PamVMCDetPamela*          fdetector;
87      PamVMCPrimaryGenerator*     fPrimaryGenerator;      PamVMCPrimaryGenerator*   fPrimaryGenerator;
88      PamRootManager             fRootManager;      PamRootManager            fRootManager;
89        TRandom3*                  frandom;
90      fin fdstatus;      fin                       fdstatus;
91    
92        
93    

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.5

  ViewVC Help
Powered by ViewVC 1.1.23