13 #ifndef STAR_StPxlDigmapsSim
14 #define STAR_StPxlDigmapsSim
16 #include "StPxlUtil/StPxlConstants.h"
17 #include "StPxlISim.h"
46 void setSeed(
unsigned int seed) { mOwnRndSeed = seed; }
53 static const char cvs[] =
"Tag $Name: $ $Id: StPxlDigmapsSim.h,v 1.3 2018/03/15 21:37:42 dongx Exp $ built " __DATE__
" " __TIME__ ;
63 void calculateIncidencePositions(
int,
StMcPxlHit const*, TVector3&, TVector3&)
const;
67 float calculateDepositedEnergy(
float totalLength,
float betagamma)
const;
74 double dEdxvsBGNorm(
double* x,
double* par);
77 bool goodPixel(
int sec,
int lad,
int sen,
int ix,
int iy)
const;
80 bool goodSensor(
int sec,
int lad,
int sen)
const;
91 unsigned int mOwnRndSeed;
100 short mSensorGoodStatusMin;
101 short mSensorGoodStatusMax;
104 short mRowColumnGoodStatus;
107 float mEnergyLandauMean;
108 float mEnergyLandauSigma;
109 double mScalePar[10];
114 float mOffsetX[kNumberOfPxlSectors][kNumberOfPxlLaddersPerSector][kNumberOfPxlSensorsPerLadder];
115 float mOffsetZ[kNumberOfPxlSectors][kNumberOfPxlLaddersPerSector][kNumberOfPxlSensorsPerLadder];
virtual int initRun(TDataSet const &calib_db, TObjectSet const *pxlDbDataSet, Int_t run)
initRun function to read in DB entries for slow simulator parameters and masking tables.
Monte Carlo Track class All information on a simulated track is stored in this class: kinematics...
void setSeed(unsigned int seed)
set own random seed if needed, default to use gRandom
virtual const char * GetCVS() const
Documentation method. GetCVS can be called from the chain, providing a list of all maker versions in ...
STAR wrapper for DIGMAPS package.
An abstract class (interface) for all PXL simulation algorithms.
virtual ~StPxlDigmapsSim()
This class does not own any hit containers. mRandom is deleted here.