48 #ifndef STAR_StPxlFastSim
49 #define STAR_StPxlFastSim
51 #include "StPxlISim.h"
61 StPxlFastSim(
const Char_t *name=
"pxlFastSim",Bool_t randomSeed=kFALSE):
StPxlISim(name), mPxlDb(0), mRandom(0), mResXPix(0), mResYPix(0), mResZPix(0), mUseRandomSeed(randomSeed) {}
89 {
static const char cvs[]=
"Tag $Name: $ $Id: StPxlFastSim.h,v 1.8 2017/10/19 19:38:17 jeromel Exp $ built " __DATE__
" " __TIME__ ;
return cvs;}
93 double distortHit(
const double x,
const double res,
const double constraint)
const;
95 void localToMatser(Double_t* local,Double_t* master,Int_t sector,Int_t ladder,Int_t sensor);
105 Bool_t mUseRandomSeed;
Int_t addPxlHits(const StMcPxlHitCollection &, StPxlHitCollection &)
creates an StPxlHit object for every StMcPxlHit, and fills the hit StPxlHitCollection container...
StPxlFastSim(const Char_t *name="pxlFastSim", Bool_t randomSeed=kFALSE)
Constructor.
Int_t initRun(const TDataSet &calib_db, const TObjectSet *pxlDbDataSet, const Int_t run)
A random seed is passed to mRandom PXL smearing resolutions (PixelHitError) are fetched from calib_db...
~StPxlFastSim()
This class does not own any hit containers. mRandom is deleted here.
An abstract class (interface) for all PXL simulation algorithms.
virtual const char * GetCVS() const
Documentation method. GetCVS can be called from the chain, providing a list of all maker versions in ...
Class to simulate PXL hits from Monte Carlo.