ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
SubsysReco module creating calorimeter tower objects (RawTowerv1) from hits (PHG4Hit) using j,k indeces of these hits. More...
#include <fun4all_eicdetectors/blob/master/simulation/g4simulation/g4ttl/RawDigitBuilderTTL.h>
Public Member Functions | |
RawDigitBuilderTTL (const std::string &name="RawDigitBuilderTTL") | |
~RawDigitBuilderTTL () override | |
int | Init (PHCompositeNode *topNode) override |
module initialization | |
int | InitRun (PHCompositeNode *topNode) override |
run initialization | |
int | process_event (PHCompositeNode *topNode) override |
event processing | |
int | End (PHCompositeNode *topNode) override |
end of process | |
void | SetZClustering (const bool make_z_clustering) |
option to turn off z-dimension clustering | |
bool | GetZClustering () const |
void | Detector (const std::string &d) |
Public Member Functions inherited from SubsysReco | |
~SubsysReco () override | |
virtual int | EndRun (const int) |
Called at the end of each run. | |
virtual int | Reset (PHCompositeNode *) |
Reset. | |
virtual int | ResetEvent (PHCompositeNode *) |
Clean up after each event. | |
void | Print (const std::string &="ALL") const override |
Public Member Functions inherited from Fun4AllBase | |
virtual | ~Fun4AllBase () |
virtual const std::string | Name () const |
Returns the name of this module. | |
virtual void | Name (const std::string &name) |
Sets the name of this module. | |
virtual void | Verbosity (const int ival) |
Sets the verbosity of this module (0 by default=quiet). | |
virtual void | Verbosity (enu_Verbosity ival) |
Sets the verbosity of this module (0 by default=quiet). | |
virtual int | Verbosity () const |
Gets the verbosity of this module. | |
Private Member Functions | |
void | CreateNodes (PHCompositeNode *topNode) |
void | PrintClusters (PHCompositeNode *topNode) |
Private Attributes | |
TrkrClusterContainer * | m_clusterlist |
std::string | m_Detector |
std::string | m_SimTowerNodePrefix |
double | m_Emin |
bool | m_makeZClustering |
std::map< std::string, double > | m_GlobalParameterMap |
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") | |
SubsysReco module creating calorimeter tower objects (RawTowerv1) from hits (PHG4Hit) using j,k indeces of these hits.
Definition at line 34 of file RawDigitBuilderTTL.h.
View newest version in sPHENIX GitHub at line 34 of file RawDigitBuilderTTL.h
RawDigitBuilderTTL::RawDigitBuilderTTL | ( | const std::string & | name = "RawDigitBuilderTTL" | ) |
Definition at line 50 of file RawDigitBuilderTTL.cc.
View newest version in sPHENIX GitHub at line 50 of file RawDigitBuilderTTL.cc
|
inlineoverride |
Definition at line 38 of file RawDigitBuilderTTL.h.
View newest version in sPHENIX GitHub at line 38 of file RawDigitBuilderTTL.h
|
private |
Define minimum tower energy. After processing an event, towers with lower energy are will be deleted. Create nodes for output.
Name of output node for RawTowerContainer: "TOWER_" + detector;
Definition at line 173 of file RawDigitBuilderTTL.cc.
View newest version in sPHENIX GitHub at line 173 of file RawDigitBuilderTTL.cc
References PHCompositeNode::addNode(), PHNodeIterator::findFirst(), m_Detector, and PHWHERE.
Referenced by InitRun().
void RawDigitBuilderTTL::Detector | ( | const std::string & | d | ) |
Name of the detector node the G4Hits should be taken from.
Definition at line 167 of file RawDigitBuilderTTL.cc.
View newest version in sPHENIX GitHub at line 167 of file RawDigitBuilderTTL.cc
References d, and m_Detector.
|
inlineoverridevirtual |
end of process
Reimplemented from SubsysReco.
Definition at line 50 of file RawDigitBuilderTTL.h.
View newest version in sPHENIX GitHub at line 50 of file RawDigitBuilderTTL.h
|
inline |
Definition at line 57 of file RawDigitBuilderTTL.h.
View newest version in sPHENIX GitHub at line 57 of file RawDigitBuilderTTL.h
References m_makeZClustering.
|
inlineoverridevirtual |
module initialization
Reimplemented from SubsysReco.
Definition at line 41 of file RawDigitBuilderTTL.h.
View newest version in sPHENIX GitHub at line 41 of file RawDigitBuilderTTL.h
|
overridevirtual |
run initialization
Reimplemented from SubsysReco.
Definition at line 62 of file RawDigitBuilderTTL.cc.
View newest version in sPHENIX GitHub at line 62 of file RawDigitBuilderTTL.cc
References PHCompositeNode::addNode(), CreateNodes(), e, Fun4AllReturnCodes::EVENT_OK, g4zmq::exit(), PHNodeIterator::findFirst(), and PHWHERE.
|
private |
Definition at line 203 of file RawDigitBuilderTTL.cc.
View newest version in sPHENIX GitHub at line 203 of file RawDigitBuilderTTL.cc
References TrkrClusterContainer::identify(), TrkrClusterContainer::size(), and Fun4AllBase::Verbosity().
|
overridevirtual |
event processing
Reimplemented from SubsysReco.
Definition at line 108 of file RawDigitBuilderTTL.cc.
View newest version in sPHENIX GitHub at line 108 of file RawDigitBuilderTTL.cc
References Fun4AllReturnCodes::ABORTRUN, TrkrClusterContainer::addCluster(), Fun4AllReturnCodes::EVENT_OK, g4zmq::exit(), TrkrDefs::genHitSetKey(), PHG4Hit::get_edep(), PHG4Hit::get_index_j(), PHG4Hit::get_local_x(), PHG4Hit::get_local_y(), PHG4Hit::get_local_z(), PHG4Hit::get_strip_y_index(), PHG4Hit::get_strip_z_index(), PHG4HitContainer::getHits(), m_clusterlist, m_Detector, PHWHERE, tmp, and TrkrDefs::ttl.
|
inline |
option to turn off z-dimension clustering
Definition at line 53 of file RawDigitBuilderTTL.h.
View newest version in sPHENIX GitHub at line 53 of file RawDigitBuilderTTL.h
References m_makeZClustering.
|
private |
Definition at line 81 of file RawDigitBuilderTTL.h.
View newest version in sPHENIX GitHub at line 81 of file RawDigitBuilderTTL.h
Referenced by process_event().
|
private |
Read geometry information from table stored in text-file
Definition at line 91 of file RawDigitBuilderTTL.h.
View newest version in sPHENIX GitHub at line 91 of file RawDigitBuilderTTL.h
Referenced by CreateNodes(), Detector(), and process_event().
|
private |
Definition at line 96 of file RawDigitBuilderTTL.h.
View newest version in sPHENIX GitHub at line 96 of file RawDigitBuilderTTL.h
|
private |
Definition at line 100 of file RawDigitBuilderTTL.h.
View newest version in sPHENIX GitHub at line 100 of file RawDigitBuilderTTL.h
|
private |
Definition at line 99 of file RawDigitBuilderTTL.h.
View newest version in sPHENIX GitHub at line 99 of file RawDigitBuilderTTL.h
Referenced by GetZClustering(), and SetZClustering().
|
private |
Definition at line 92 of file RawDigitBuilderTTL.h.
View newest version in sPHENIX GitHub at line 92 of file RawDigitBuilderTTL.h