ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
simple trigger emulation More...
#include <coresoftware/blob/master/offline/packages/trigger/CaloTriggerSim.h>
Public Member Functions | |
CaloTriggerSim (const std::string &name="CaloTriggerSim") | |
~CaloTriggerSim () override | |
int | InitRun (PHCompositeNode *topNode) override |
int | process_event (PHCompositeNode *topNode) override |
void | set_truncation (const int emulate_truncation) |
double | truncate_8bit (const double raw_E) const |
Public Member Functions inherited from SubsysReco | |
~SubsysReco () override | |
virtual int | End (PHCompositeNode *) |
Called at the end of all processing. | |
virtual int | EndRun (const int) |
Called at the end of each run. | |
virtual int | Init (PHCompositeNode *) |
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 | |
int | CreateNode (PHCompositeNode *topNode) |
void | FillNode (PHCompositeNode *topNode) |
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") | |
simple trigger emulation
This module constructs calo-based trigger signatures
Definition at line 26 of file CaloTriggerSim.h.
View newest version in sPHENIX GitHub at line 26 of file CaloTriggerSim.h
CaloTriggerSim::CaloTriggerSim | ( | const std::string & | name = "CaloTriggerSim" | ) |
Definition at line 36 of file CaloTriggerSim.cc.
View newest version in sPHENIX GitHub at line 36 of file CaloTriggerSim.cc
|
inlineoverride |
Definition at line 30 of file CaloTriggerSim.h.
View newest version in sPHENIX GitHub at line 30 of file CaloTriggerSim.h
|
private |
Definition at line 781 of file CaloTriggerSim.cc.
View newest version in sPHENIX GitHub at line 781 of file CaloTriggerSim.cc
References Fun4AllReturnCodes::ABORTRUN, PHCompositeNode::addNode(), Fun4AllReturnCodes::EVENT_OK, g4zmq::exit(), PHNodeIterator::findFirst(), m_EmulateTruncationFlag, and PHWHERE.
Referenced by InitRun().
|
private |
Definition at line 818 of file CaloTriggerSim.cc.
View newest version in sPHENIX GitHub at line 818 of file CaloTriggerSim.cc
References m_EMCAL_2x2_BEST_E, m_EMCAL_2x2_BEST_ETA, m_EMCAL_2x2_BEST_PHI, m_EMCAL_4x4_BEST2_E, m_EMCAL_4x4_BEST2_ETA, m_EMCAL_4x4_BEST2_PHI, m_EMCAL_4x4_BEST_E, m_EMCAL_4x4_BEST_ETA, m_EMCAL_4x4_BEST_PHI, m_EmulateTruncationFlag, m_FULLCALO_0p2x0p2_BEST_E, m_FULLCALO_0p2x0p2_BEST_ETA, m_FULLCALO_0p2x0p2_BEST_PHI, m_FULLCALO_0p4x0p4_BEST_E, m_FULLCALO_0p4x0p4_BEST_ETA, m_FULLCALO_0p4x0p4_BEST_PHI, m_FULLCALO_0p6x0p6_BEST_E, m_FULLCALO_0p6x0p6_BEST_ETA, m_FULLCALO_0p6x0p6_BEST_PHI, m_FULLCALO_0p8x0p8_BEST_E, m_FULLCALO_0p8x0p8_BEST_ETA, m_FULLCALO_0p8x0p8_BEST_PHI, m_FULLCALO_1p0x1p0_BEST_E, m_FULLCALO_1p0x1p0_BEST_ETA, m_FULLCALO_1p0x1p0_BEST_PHI, CaloTriggerInfo::set_best2_EMCal_4x4_E(), CaloTriggerInfo::set_best2_EMCal_4x4_eta(), CaloTriggerInfo::set_best2_EMCal_4x4_phi(), CaloTriggerInfo::set_best_EMCal_2x2_E(), CaloTriggerInfo::set_best_EMCal_2x2_eta(), CaloTriggerInfo::set_best_EMCal_2x2_phi(), CaloTriggerInfo::set_best_EMCal_4x4_E(), CaloTriggerInfo::set_best_EMCal_4x4_eta(), CaloTriggerInfo::set_best_EMCal_4x4_phi(), CaloTriggerInfo::set_best_FullCalo_0p2x0p2_E(), CaloTriggerInfo::set_best_FullCalo_0p2x0p2_eta(), CaloTriggerInfo::set_best_FullCalo_0p2x0p2_phi(), CaloTriggerInfo::set_best_FullCalo_0p4x0p4_E(), CaloTriggerInfo::set_best_FullCalo_0p4x0p4_eta(), CaloTriggerInfo::set_best_FullCalo_0p4x0p4_phi(), CaloTriggerInfo::set_best_FullCalo_0p6x0p6_E(), CaloTriggerInfo::set_best_FullCalo_0p6x0p6_eta(), CaloTriggerInfo::set_best_FullCalo_0p6x0p6_phi(), CaloTriggerInfo::set_best_FullCalo_0p8x0p8_E(), CaloTriggerInfo::set_best_FullCalo_0p8x0p8_eta(), CaloTriggerInfo::set_best_FullCalo_0p8x0p8_phi(), CaloTriggerInfo::set_best_FullCalo_1p0x1p0_E(), CaloTriggerInfo::set_best_FullCalo_1p0x1p0_eta(), and CaloTriggerInfo::set_best_FullCalo_1p0x1p0_phi().
Referenced by process_event().
|
overridevirtual |
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 98 of file CaloTriggerSim.cc.
View newest version in sPHENIX GitHub at line 98 of file CaloTriggerSim.cc
References CreateNode().
|
overridevirtual |
Called for each event. This is where you do the real work.
Reimplemented from SubsysReco.
Definition at line 103 of file CaloTriggerSim.cc.
View newest version in sPHENIX GitHub at line 103 of file CaloTriggerSim.cc
References kdfinder::abs(), Fun4AllReturnCodes::EVENT_OK, FillNode(), RawTower::get_energy(), RawTowerGeom::get_eta(), RawTowerGeomContainer_Cylinderv1::get_etabin(), RawTowerGeomContainer_Cylinderv1::get_etabins(), RawTowerGeomContainer_Cylinderv1::get_etacenter(), RawTower::get_key(), RawTowerGeom::get_phi(), RawTowerGeomContainer_Cylinderv1::get_phibin(), RawTowerGeomContainer_Cylinderv1::get_phibins(), RawTowerGeomContainer_Cylinderv1::get_phicenter(), RawTowerGeomContainerv1::get_tower_geometry(), RawTowerContainer::getTowers(), m_EMCAL_1x1_MAP, m_EMCAL_1x1_NETA, m_EMCAL_1x1_NPHI, m_EMCAL_2x2_BEST_E, m_EMCAL_2x2_BEST_ETA, m_EMCAL_2x2_BEST_PHI, m_EMCAL_2x2_MAP, m_EMCAL_2x2_NETA, m_EMCAL_2x2_NPHI, m_EMCAL_4x4_BEST2_E, m_EMCAL_4x4_BEST2_ETA, m_EMCAL_4x4_BEST2_PHI, m_EMCAL_4x4_BEST_E, m_EMCAL_4x4_BEST_ETA, m_EMCAL_4x4_BEST_PHI, m_EMCAL_4x4_MAP, m_EMCAL_4x4_NETA, m_EMCAL_4x4_NPHI, m_EmulateTruncationFlag, m_FULLCALO_0p1x0p1_MAP, m_FULLCALO_0p1x0p1_NETA, m_FULLCALO_0p1x0p1_NPHI, m_FULLCALO_0p2x0p2_BEST_E, m_FULLCALO_0p2x0p2_BEST_ETA, m_FULLCALO_0p2x0p2_BEST_PHI, m_FULLCALO_0p2x0p2_MAP, m_FULLCALO_0p2x0p2_NETA, m_FULLCALO_0p2x0p2_NPHI, m_FULLCALO_0p4x0p4_BEST_E, m_FULLCALO_0p4x0p4_BEST_ETA, m_FULLCALO_0p4x0p4_BEST_PHI, m_FULLCALO_0p4x0p4_MAP, m_FULLCALO_0p4x0p4_NETA, m_FULLCALO_0p4x0p4_NPHI, m_FULLCALO_0p6x0p6_BEST_E, m_FULLCALO_0p6x0p6_BEST_ETA, m_FULLCALO_0p6x0p6_BEST_PHI, m_FULLCALO_0p6x0p6_MAP, m_FULLCALO_0p6x0p6_NETA, m_FULLCALO_0p6x0p6_NPHI, m_FULLCALO_0p8x0p8_BEST_E, m_FULLCALO_0p8x0p8_BEST_ETA, m_FULLCALO_0p8x0p8_BEST_PHI, m_FULLCALO_0p8x0p8_MAP, m_FULLCALO_0p8x0p8_NETA, m_FULLCALO_0p8x0p8_NPHI, m_FULLCALO_1p0x1p0_BEST_E, m_FULLCALO_1p0x1p0_BEST_ETA, m_FULLCALO_1p0x1p0_BEST_PHI, m_FULLCALO_1p0x1p0_MAP, m_FULLCALO_1p0x1p0_NETA, m_FULLCALO_1p0x1p0_NPHI, m_FULLCALO_PHI_END, m_FULLCALO_PHI_START, M_PI, RawTowerContainer::size(), truncate_8bit(), and Fun4AllBase::Verbosity().
Definition at line 35 of file CaloTriggerSim.h.
View newest version in sPHENIX GitHub at line 35 of file CaloTriggerSim.h
References m_EmulateTruncationFlag.
double CaloTriggerSim::truncate_8bit | ( | const double | raw_E | ) | const |
Definition at line 91 of file CaloTriggerSim.cc.
View newest version in sPHENIX GitHub at line 91 of file CaloTriggerSim.cc
References min.
Referenced by process_event().
|
private |
Definition at line 109 of file CaloTriggerSim.h.
View newest version in sPHENIX GitHub at line 109 of file CaloTriggerSim.h
Referenced by process_event().
|
private |
Definition at line 44 of file CaloTriggerSim.h.
View newest version in sPHENIX GitHub at line 44 of file CaloTriggerSim.h
Referenced by process_event().
|
private |
Definition at line 45 of file CaloTriggerSim.h.
View newest version in sPHENIX GitHub at line 45 of file CaloTriggerSim.h
Referenced by process_event().
|
private |
Definition at line 53 of file CaloTriggerSim.h.
View newest version in sPHENIX GitHub at line 53 of file CaloTriggerSim.h
Referenced by FillNode(), and process_event().
|
private |
Definition at line 55 of file CaloTriggerSim.h.
View newest version in sPHENIX GitHub at line 55 of file CaloTriggerSim.h
Referenced by FillNode(), and process_event().
|
private |
Definition at line 54 of file CaloTriggerSim.h.
View newest version in sPHENIX GitHub at line 54 of file CaloTriggerSim.h
Referenced by FillNode(), and process_event().
|
private |
Definition at line 110 of file CaloTriggerSim.h.
View newest version in sPHENIX GitHub at line 110 of file CaloTriggerSim.h
Referenced by process_event().
|
private |
Definition at line 47 of file CaloTriggerSim.h.
View newest version in sPHENIX GitHub at line 47 of file CaloTriggerSim.h
Referenced by process_event().
|
private |
Definition at line 48 of file CaloTriggerSim.h.
View newest version in sPHENIX GitHub at line 48 of file CaloTriggerSim.h
Referenced by process_event().
|
private |
Definition at line 61 of file CaloTriggerSim.h.
View newest version in sPHENIX GitHub at line 61 of file CaloTriggerSim.h
Referenced by FillNode(), and process_event().
|
private |
Definition at line 63 of file CaloTriggerSim.h.
View newest version in sPHENIX GitHub at line 63 of file CaloTriggerSim.h
Referenced by FillNode(), and process_event().
|
private |
Definition at line 62 of file CaloTriggerSim.h.
View newest version in sPHENIX GitHub at line 62 of file CaloTriggerSim.h
Referenced by FillNode(), and process_event().
|
private |
Definition at line 57 of file CaloTriggerSim.h.
View newest version in sPHENIX GitHub at line 57 of file CaloTriggerSim.h
Referenced by FillNode(), and process_event().
|
private |
Definition at line 59 of file CaloTriggerSim.h.
View newest version in sPHENIX GitHub at line 59 of file CaloTriggerSim.h
Referenced by FillNode(), and process_event().
|
private |
Definition at line 58 of file CaloTriggerSim.h.
View newest version in sPHENIX GitHub at line 58 of file CaloTriggerSim.h
Referenced by FillNode(), and process_event().
|
private |
Definition at line 111 of file CaloTriggerSim.h.
View newest version in sPHENIX GitHub at line 111 of file CaloTriggerSim.h
Referenced by process_event().
|
private |
Definition at line 50 of file CaloTriggerSim.h.
View newest version in sPHENIX GitHub at line 50 of file CaloTriggerSim.h
Referenced by process_event().
|
private |
Definition at line 51 of file CaloTriggerSim.h.
View newest version in sPHENIX GitHub at line 51 of file CaloTriggerSim.h
Referenced by process_event().
|
private |
Definition at line 42 of file CaloTriggerSim.h.
View newest version in sPHENIX GitHub at line 42 of file CaloTriggerSim.h
Referenced by CreateNode(), FillNode(), process_event(), and set_truncation().
|
private |
Definition at line 112 of file CaloTriggerSim.h.
View newest version in sPHENIX GitHub at line 112 of file CaloTriggerSim.h
Referenced by process_event().
|
private |
Definition at line 70 of file CaloTriggerSim.h.
View newest version in sPHENIX GitHub at line 70 of file CaloTriggerSim.h
Referenced by process_event().
|
private |
Definition at line 71 of file CaloTriggerSim.h.
View newest version in sPHENIX GitHub at line 71 of file CaloTriggerSim.h
Referenced by process_event().
|
private |
Definition at line 89 of file CaloTriggerSim.h.
View newest version in sPHENIX GitHub at line 89 of file CaloTriggerSim.h
Referenced by FillNode(), and process_event().
|
private |
Definition at line 91 of file CaloTriggerSim.h.
View newest version in sPHENIX GitHub at line 91 of file CaloTriggerSim.h
Referenced by FillNode(), and process_event().
|
private |
Definition at line 90 of file CaloTriggerSim.h.
View newest version in sPHENIX GitHub at line 90 of file CaloTriggerSim.h
Referenced by FillNode(), and process_event().
|
private |
Definition at line 113 of file CaloTriggerSim.h.
View newest version in sPHENIX GitHub at line 113 of file CaloTriggerSim.h
Referenced by process_event().
|
private |
Definition at line 73 of file CaloTriggerSim.h.
View newest version in sPHENIX GitHub at line 73 of file CaloTriggerSim.h
Referenced by process_event().
|
private |
Definition at line 74 of file CaloTriggerSim.h.
View newest version in sPHENIX GitHub at line 74 of file CaloTriggerSim.h
Referenced by process_event().
|
private |
Definition at line 93 of file CaloTriggerSim.h.
View newest version in sPHENIX GitHub at line 93 of file CaloTriggerSim.h
Referenced by FillNode(), and process_event().
|
private |
Definition at line 95 of file CaloTriggerSim.h.
View newest version in sPHENIX GitHub at line 95 of file CaloTriggerSim.h
Referenced by FillNode(), and process_event().
|
private |
Definition at line 94 of file CaloTriggerSim.h.
View newest version in sPHENIX GitHub at line 94 of file CaloTriggerSim.h
Referenced by FillNode(), and process_event().
|
private |
Definition at line 114 of file CaloTriggerSim.h.
View newest version in sPHENIX GitHub at line 114 of file CaloTriggerSim.h
Referenced by process_event().
|
private |
Definition at line 76 of file CaloTriggerSim.h.
View newest version in sPHENIX GitHub at line 76 of file CaloTriggerSim.h
Referenced by process_event().
|
private |
Definition at line 77 of file CaloTriggerSim.h.
View newest version in sPHENIX GitHub at line 77 of file CaloTriggerSim.h
Referenced by process_event().
|
private |
Definition at line 97 of file CaloTriggerSim.h.
View newest version in sPHENIX GitHub at line 97 of file CaloTriggerSim.h
Referenced by FillNode(), and process_event().
|
private |
Definition at line 99 of file CaloTriggerSim.h.
View newest version in sPHENIX GitHub at line 99 of file CaloTriggerSim.h
Referenced by FillNode(), and process_event().
|
private |
Definition at line 98 of file CaloTriggerSim.h.
View newest version in sPHENIX GitHub at line 98 of file CaloTriggerSim.h
Referenced by FillNode(), and process_event().
|
private |
Definition at line 115 of file CaloTriggerSim.h.
View newest version in sPHENIX GitHub at line 115 of file CaloTriggerSim.h
Referenced by process_event().
|
private |
Definition at line 79 of file CaloTriggerSim.h.
View newest version in sPHENIX GitHub at line 79 of file CaloTriggerSim.h
Referenced by process_event().
|
private |
Definition at line 80 of file CaloTriggerSim.h.
View newest version in sPHENIX GitHub at line 80 of file CaloTriggerSim.h
Referenced by process_event().
|
private |
Definition at line 101 of file CaloTriggerSim.h.
View newest version in sPHENIX GitHub at line 101 of file CaloTriggerSim.h
Referenced by FillNode(), and process_event().
|
private |
Definition at line 103 of file CaloTriggerSim.h.
View newest version in sPHENIX GitHub at line 103 of file CaloTriggerSim.h
Referenced by FillNode(), and process_event().
|
private |
Definition at line 102 of file CaloTriggerSim.h.
View newest version in sPHENIX GitHub at line 102 of file CaloTriggerSim.h
Referenced by FillNode(), and process_event().
|
private |
Definition at line 116 of file CaloTriggerSim.h.
View newest version in sPHENIX GitHub at line 116 of file CaloTriggerSim.h
Referenced by process_event().
|
private |
Definition at line 82 of file CaloTriggerSim.h.
View newest version in sPHENIX GitHub at line 82 of file CaloTriggerSim.h
Referenced by process_event().
|
private |
Definition at line 83 of file CaloTriggerSim.h.
View newest version in sPHENIX GitHub at line 83 of file CaloTriggerSim.h
Referenced by process_event().
|
private |
Definition at line 105 of file CaloTriggerSim.h.
View newest version in sPHENIX GitHub at line 105 of file CaloTriggerSim.h
Referenced by FillNode(), and process_event().
|
private |
Definition at line 107 of file CaloTriggerSim.h.
View newest version in sPHENIX GitHub at line 107 of file CaloTriggerSim.h
Referenced by FillNode(), and process_event().
|
private |
Definition at line 106 of file CaloTriggerSim.h.
View newest version in sPHENIX GitHub at line 106 of file CaloTriggerSim.h
Referenced by FillNode(), and process_event().
|
private |
Definition at line 117 of file CaloTriggerSim.h.
View newest version in sPHENIX GitHub at line 117 of file CaloTriggerSim.h
Referenced by process_event().
|
private |
Definition at line 85 of file CaloTriggerSim.h.
View newest version in sPHENIX GitHub at line 85 of file CaloTriggerSim.h
Referenced by process_event().
|
private |
Definition at line 86 of file CaloTriggerSim.h.
View newest version in sPHENIX GitHub at line 86 of file CaloTriggerSim.h
Referenced by process_event().
|
private |
Definition at line 67 of file CaloTriggerSim.h.
View newest version in sPHENIX GitHub at line 67 of file CaloTriggerSim.h
Referenced by process_event().
|
private |
Definition at line 66 of file CaloTriggerSim.h.
View newest version in sPHENIX GitHub at line 66 of file CaloTriggerSim.h
Referenced by process_event().