StRoot
1
|
#include <StExampleFilter.h>
Public Member Functions | |
int | RejectEG (const StGenParticleMaster &ptl) const |
int | RejectGT (const StGenParticleMaster &ptl) const |
int | RejectGE (const StGenParticleMaster &ptl) const |
Public Member Functions inherited from StMCFilter | |
StMCFilter (const char *name) | |
virtual void | Finish () const |
Finish called at the end of GEANT. | |
const std::string & | GetName () const |
double & | User (int idx) |
Return a reference to one of 10 user words. | |
double | User (int idx) const |
Returns one of the 10 user words. | |
virtual void | parseConfig (std::string key, float value) |
Additional Inherited Members | |
Static Public Member Functions inherited from StMCFilter | |
static StMCFilter * | selected () |
Returns a pointer to the selected filter. | |
Static Protected Member Functions inherited from StMCFilter | |
static int | GetNTotEG () |
Number of total EG events. | |
static int | GetNTotGT () |
Number of total GT events. | |
static int | GetNTotGE () |
Number of total GE events. | |
static int | GetNRejEG () |
Number of rejected GE events. | |
static int | GetNRejGT () |
Number of rejected GT events. | |
static int | GetNRejGE () |
Number of rejected GE events. | |
static void | FINISH () |
Print of numbers above at the end of STARSIM. | |
Protected Attributes inherited from StMCFilter | |
std::string | fName |
char | fBeg [1] |
int | fCnt [3][2] |
double | fUser [20] |
char | fEnd [1] |
Static Protected Attributes inherited from StMCFilter | |
static myMap_t * | mgMap =0 |
Example of implementation of StMCFilter class more info in http://www.star.bnl.gov/~perev/SIM/mcFi;lter.ppt
Definition at line 17 of file StExampleFilter.h.
|
virtual |
user reject function called immediately after Event Generator. Currently Pythia Vertex in zero. EG==EventGenerator
StMCFilter base class is :
An argument of RejectXX(StGenParticles &Ptl) Class StGenParticles is a container class containing StGenParticle objects. Each object represents one particle(track). User methods of StGenParticles class:
Class StGenParticle ideologically is based on HEPEVT standard http://cepa.fnal.gov/psm/simulation/mcgen/lund/pythia_manual/pythia6.3/pythia6301/node39.html
Methods:
Additional methods:
Filter kumac commands gexec $STAR_LIB/geometry.so gexec $STAR_LIB/libpythia_6410t.so gexec $STAR_LIB/bpythia.so gexec $STAR_LIB/StMCFilter.so gfilter filterNameAll three methods are called in a proper places. Method which is not overloaded, always returns zero (no rejection)
Reimplemented from StMCFilter.
Definition at line 89 of file StExampleFilter.cxx.
|
virtual |
user reject function called after GEANT tracking Vertex and tracks are already generated. GE==GeantEnd
Reimplemented from StMCFilter.
Definition at line 115 of file StExampleFilter.cxx.
|
virtual |
user reject function called before GEANT tracking Vertex is already generated. GT == GeantTracker
Reimplemented from StMCFilter.
Definition at line 109 of file StExampleFilter.cxx.