StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StPxlISim.h
1 
9 #ifndef STAR_STPXLISIM_H
10 #define STAR_STPXLISIM_H
11 
12 #include "StMessMgr.h"
13 #include "TNamed.h"
14 
15 class TDataSet;
16 class TObjectSet;
18 class StPxlHitCollection;
20 
21 class StPxlISim : public TNamed
22 {
23 public:
24  StPxlISim(const Char_t *name): TNamed(name,name){}
25 
26  virtual Int_t initRun(const TDataSet& calib_db,const TObjectSet* pxlDbDataSet,const Int_t run) = 0;
27 
30  virtual Int_t addPxlHits(const StMcPxlHitCollection& in, StPxlHitCollection& out){LOG_INFO<<"StPxlISim::addPxlHits is not implemented in daughter class."<<endm; return 1;}
33  virtual Int_t addPxlRawHits(const StMcPxlHitCollection& in, StPxlRawHitCollection& out){LOG_INFO<<"StPxlISim::addPxlRawHits is not implemented in daughter class."<<endm; return 1;}
34 };
35 #endif /* STPXLISIM_H */
virtual Int_t addPxlHits(const StMcPxlHitCollection &in, StPxlHitCollection &out)
this function is to be implemented by algorithms which create PXL hits points.
Definition: StPxlISim.h:30
virtual Int_t addPxlRawHits(const StMcPxlHitCollection &in, StPxlRawHitCollection &out)
this function is to be implemented by algorithms which create raw PXL hits
Definition: StPxlISim.h:33
An abstract class (interface) for all PXL simulation algorithms.
Definition: StPxlISim.h:21