|
Class Reference for E1039 Core & Analysis Software
|
An SubsysReco module to skip a simulated event in which a muon or a muon pair doesn't pass through the rough geometric acceptance. More...
#include </dev/shm/kenichi/update-github-e1039-doc/e1039-core/simulation/g4dst/SQGeomAccLoose.h>
Inheritance diagram for SQGeomAccLoose:
Collaboration diagram for SQGeomAccLoose:Public Member Functions | |
| SQGeomAccLoose (const std::string &name="SQGeomAccLoose") | |
| virtual | ~SQGeomAccLoose () |
| int | Init (PHCompositeNode *topNode) |
| int | InitRun (PHCompositeNode *topNode) |
| int | process_event (PHCompositeNode *topNode) |
| int | End (PHCompositeNode *topNode) |
| Called at the end of all processing. More... | |
| void | SetNumHitPlanesPerParticle (const int val) |
| void | SetNumParticlesPerEvent (const int val) |
Public Member Functions inherited from SubsysReco | |
| virtual | ~SubsysReco () |
| virtual int | EndRun (const int) |
| Called at the end of each run. More... | |
| virtual int | Reset (PHCompositeNode *) |
| Reset. More... | |
| virtual int | ResetEvent (PHCompositeNode *) |
| Clean up after each event. More... | |
| virtual void | Print (const std::string &what="ALL") const |
Public Member Functions inherited from Fun4AllBase | |
| virtual | ~Fun4AllBase () |
| virtual const std::string | Name () const |
| Returns the name of this module. More... | |
| virtual void | Name (const std::string &name) |
| Sets the name of this module. More... | |
| virtual void | Verbosity (const int ival) |
| Sets the verbosity of this module (0 by default=quiet). More... | |
| virtual void | Verbosity (enu_Verbosity ival) |
| Sets the verbosity of this module (0 by default=quiet). More... | |
| virtual int | Verbosity () const |
| Gets the verbosity of this module. More... | |
Additional Inherited Members | |
Public Types inherited from Fun4AllBase | |
| enum | enu_Verbosity { VERBOSITY_QUIET = 0 , VERBOSITY_SOME = 1 , VERBOSITY_MORE = 2 , VERBOSITY_EVEN_MORE = 3 , VERBOSITY_A_LOT = 4 , VERBOSITY_MAX = INT_MAX - 10 } |
Protected Member Functions inherited from SubsysReco | |
| SubsysReco (const std::string &name="NONAME") | |
Protected Member Functions inherited from Fun4AllBase | |
| Fun4AllBase (const std::string &name="NONAME") | |
Protected Attributes inherited from Fun4AllBase | |
| std::string | ThisName |
| int | verbosity |
| The verbosity level. 0 means not verbose at all. More... | |
An SubsysReco module to skip a simulated event in which a muon or a muon pair doesn't pass through the rough geometric acceptance.
Typical usage:
This module can/should be registered before SQDigitizer for better process speed. The geometric acceptance required by this module is rough, because
SQGeomAcc when you need accurate and/or flexible geometric acceptance. Definition at line 22 of file SQGeomAccLoose.h.
| SQGeomAccLoose::SQGeomAccLoose | ( | const std::string & | name = "SQGeomAccLoose" | ) |
Definition at line 12 of file SQGeomAccLoose.cc.
|
virtual |
Definition at line 20 of file SQGeomAccLoose.cc.
|
virtual |
Called at the end of all processing.
Reimplemented from SubsysReco.
Definition at line 72 of file SQGeomAccLoose.cc.
References Fun4AllReturnCodes::EVENT_OK.
|
virtual |
Called during initialization, i.e. registered via Fun4AllServer::registerSubsystem(). Typically this is where you can book histograms, and e.g. register them to Fun4AllServer (so they can be output to file using Fun4AllServer::dumpHistos() method).
Reimplemented from SubsysReco.
Definition at line 25 of file SQGeomAccLoose.cc.
References Fun4AllReturnCodes::EVENT_OK.
|
virtual |
Called for first event when run number is known. Typically this is where you may want to fetch data from database, because you know the run number.
Reimplemented from SubsysReco.
Definition at line 30 of file SQGeomAccLoose.cc.
References Fun4AllReturnCodes::ABORTEVENT, and Fun4AllReturnCodes::EVENT_OK.
|
virtual |
Called for each event. This is where you do the real work.
Make lists of particle IDs
Count the number of hits per particle
Count the number of in-acceptance particles
Reimplemented from SubsysReco.
Definition at line 48 of file SQGeomAccLoose.cc.
References Fun4AllReturnCodes::ABORTEVENT, and Fun4AllReturnCodes::EVENT_OK.
|
inline |
Definition at line 43 of file SQGeomAccLoose.h.
|
inline |
Definition at line 44 of file SQGeomAccLoose.h.