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

Diff of /PamVMC/include/PamVMCDigitizer.h

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

revision 1.1 by nikolas, Thu Feb 19 16:50:36 2009 UTC revision 1.5 by pam-rm2, Fri Jun 12 18:39:18 2009 UTC
# Line 11  Line 11 
11  #include <TClonesArray.h>  #include <TClonesArray.h>
12  #include <TDatabasePDG.h>  #include <TDatabasePDG.h>
13  #include <TParticlePDG.h>  #include <TParticlePDG.h>
14    #include <TRandom3.h>
15  #include "PamVMCSQLMgr.h"  #include "PamVMCSQLMgr.h"
16  #include "PamVMCRawMgr.h"  #include "PamVMCRawMgr.h"
17  #include "PamVMCDetectorHit.h"  #include "PamVMCDetectorHit.h"
# Line 42  class PamVMCDigitizer  : public TObject Line 43  class PamVMCDigitizer  : public TObject
43    UInt_t fPadding; //data padding    UInt_t fPadding; //data padding
44    UCBuffer fDataPadding; //detector's Padding data    UCBuffer fDataPadding; //detector's Padding data
45    
46      TRandom * frandom; //pointer to random object. Warning, Class is not owner of this object
47    
48   public:   public:
49    
50    
51    PamVMCDigitizer(char *dname="dummy"): fdname(dname)    PamVMCDigitizer(const char *dname="dummy"): fdname(dname)
52    {    {
53      fsql = PamVMCSQLMgr::Instance();      fsql = PamVMCSQLMgr::Instance();
54      fraw = PamVMCRawMgr::Instance();      fraw = PamVMCRawMgr::Instance();
# Line 72  class PamVMCDigitizer  : public TObject Line 75  class PamVMCDigitizer  : public TObject
75      fhitscolmap.Print();      fhitscolmap.Print();
76    }    }
77    
78      /*Setting a pointer to random number if needed */
79      virtual void SetRandom(TRandom* random){
80        frandom = random;
81      }
82    
83    /*This method calls from application*/    /*This method calls from application*/
84    virtual void LoadCalib(){; };    virtual void LoadCalib(){; };
85    

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

  ViewVC Help
Powered by ViewVC 1.1.23