| 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" |
| 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(); |
| 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 |
|
|