64 #ifndef STAR_StPxlSimMaker
65 #define STAR_StPxlSimMaker
100 void useDIGMAPSSim();
101 void useIdealGeom(
bool ideal =
true);
102 void useDbGeom(
bool db =
true);
103 void useRandomSeed(
bool use =
true);
109 {
static const char cvs[]=
"Tag $Name: $ $Id: StPxlSimMaker.h,v 1.11 2017/11/08 23:14:36 smirnovd Exp $ built " __DATE__
" " __TIME__ ;
return cvs;}
123 inline void StPxlSimMaker::useDIGMAPSSim() {SetAttr(
"useDIGMAPSSim",
true);}
124 inline void StPxlSimMaker::useIdealGeom(
bool ideal) { useDbGeom(!ideal); }
125 inline void StPxlSimMaker::useDbGeom(
bool db) {mUseDbGeom = db;}
126 inline void StPxlSimMaker::useRandomSeed(
bool use) {mUseRandomSeed = use;}
virtual Int_t Make()
calls the StPxlISim methods.
StPxlSimMaker(const Char_t *name="pxlSimMaker")
Constructor uses standard Maker text naming convention, with value "pxlSimMaker". ...
virtual const char * GetCVS() const
Documentation method. GetCVS can be called from the chain, providing a list of all maker versions in ...
virtual ~StPxlSimMaker()
StEvent will own any hits created by this maker, and is responsible for cleanup.
maker for all PXL simulators
virtual Int_t InitRun(Int_t)
gets the DB and initializes StPxlISim for this run.
An abstract class (interface) for all PXL simulation algorithms.
virtual Int_t Init()
checks if other simulators have been requested and initializes StPxlISim accordingly.