Analysis Software
Documentation for sPHENIX simulation software
|
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 = std::numeric_limits<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 28 of file CaloTriggerSim.h.
View newest version in sPHENIX GitHub at line 28 of file CaloTriggerSim.h
CaloTriggerSim::CaloTriggerSim | ( | const std::string & | name = "CaloTriggerSim" | ) |
Definition at line 33 of file CaloTriggerSim.cc.
View newest version in sPHENIX GitHub at line 33 of file CaloTriggerSim.cc
|
inlineoverride |
Definition at line 32 of file CaloTriggerSim.h.
View newest version in sPHENIX GitHub at line 32 of file CaloTriggerSim.h
|
private |
Definition at line 784 of file CaloTriggerSim.cc.
View newest version in sPHENIX GitHub at line 784 of file CaloTriggerSim.cc
References Fun4AllReturnCodes::ABORTRUN, PHCompositeNode::addNode(), Fun4AllReturnCodes::EVENT_OK, PHNodeIterator::findFirst(), m_EmulateTruncationFlag, and PHWHERE.
Referenced by InitRun().
|
private |
Definition at line 821 of file CaloTriggerSim.cc.
View newest version in sPHENIX GitHub at line 821 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 46 of file CaloTriggerSim.cc.
View newest version in sPHENIX GitHub at line 46 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 51 of file CaloTriggerSim.cc.
View newest version in sPHENIX GitHub at line 51 of file CaloTriggerSim.cc
References Enable::CEMC, channel(), INTTVtxZ::dphi, TowerInfoContainer::encode_key(), RawTowerDefs::encode_towerid(), Fun4AllReturnCodes::EVENT_OK, FillNode(), TowerInfo::get_energy(), RawTowerGeom::get_eta(), RawTowerGeomContainer::get_etabins(), RawTowerGeomContainer::get_etacenter(), RawTowerGeom::get_phi(), RawTowerGeomContainer::get_phibins(), RawTowerGeomContainer::get_phicenter(), TowerInfoContainer::get_tower_at_channel(), RawTowerGeomContainer::get_tower_geometry(), TowerInfoContainer::getTowerEtaBin(), TowerInfoContainer::getTowerPhiBin(), RawTowerDefs::HCALIN, 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, TowerInfoContainer::size(), truncate_8bit(), and Fun4AllBase::Verbosity().
|
inline |
Definition at line 37 of file CaloTriggerSim.h.
View newest version in sPHENIX GitHub at line 37 of file CaloTriggerSim.h
References m_EmulateTruncationFlag.
Definition at line 39 of file CaloTriggerSim.cc.
View newest version in sPHENIX GitHub at line 39 of file CaloTriggerSim.cc
References Acts::UnitConstants::min.
Referenced by 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 46 of file CaloTriggerSim.h.
View newest version in sPHENIX GitHub at line 46 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 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 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 56 of file CaloTriggerSim.h.
View newest version in sPHENIX GitHub at line 56 of file CaloTriggerSim.h
Referenced by FillNode(), and process_event().
|
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 49 of file CaloTriggerSim.h.
View newest version in sPHENIX GitHub at line 49 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 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 65 of file CaloTriggerSim.h.
View newest version in sPHENIX GitHub at line 65 of file CaloTriggerSim.h
Referenced by FillNode(), and process_event().
|
private |
Definition at line 64 of file CaloTriggerSim.h.
View newest version in sPHENIX GitHub at line 64 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 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 60 of file CaloTriggerSim.h.
View newest version in sPHENIX GitHub at line 60 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 52 of file CaloTriggerSim.h.
View newest version in sPHENIX GitHub at line 52 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 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 CreateNode(), FillNode(), process_event(), and set_truncation().
|
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 72 of file CaloTriggerSim.h.
View newest version in sPHENIX GitHub at line 72 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 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 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 92 of file CaloTriggerSim.h.
View newest version in sPHENIX GitHub at line 92 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 75 of file CaloTriggerSim.h.
View newest version in sPHENIX GitHub at line 75 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 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 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 96 of file CaloTriggerSim.h.
View newest version in sPHENIX GitHub at line 96 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 78 of file CaloTriggerSim.h.
View newest version in sPHENIX GitHub at line 78 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 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 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 100 of file CaloTriggerSim.h.
View newest version in sPHENIX GitHub at line 100 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 81 of file CaloTriggerSim.h.
View newest version in sPHENIX GitHub at line 81 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 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 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 104 of file CaloTriggerSim.h.
View newest version in sPHENIX GitHub at line 104 of file CaloTriggerSim.h
Referenced by FillNode(), and process_event().
|
private |
Definition at line 118 of file CaloTriggerSim.h.
View newest version in sPHENIX GitHub at line 118 of file CaloTriggerSim.h
Referenced by process_event().
|
private |
Definition at line 84 of file CaloTriggerSim.h.
View newest version in sPHENIX GitHub at line 84 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 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 109 of file CaloTriggerSim.h.
View newest version in sPHENIX GitHub at line 109 of file CaloTriggerSim.h
Referenced by FillNode(), and process_event().
|
private |
Definition at line 108 of file CaloTriggerSim.h.
View newest version in sPHENIX GitHub at line 108 of file CaloTriggerSim.h
Referenced by FillNode(), and process_event().
|
private |
Definition at line 119 of file CaloTriggerSim.h.
View newest version in sPHENIX GitHub at line 119 of file CaloTriggerSim.h
Referenced by process_event().
|
private |
Definition at line 87 of file CaloTriggerSim.h.
View newest version in sPHENIX GitHub at line 87 of file CaloTriggerSim.h
Referenced by process_event().
|
private |
Definition at line 88 of file CaloTriggerSim.h.
View newest version in sPHENIX GitHub at line 88 of file CaloTriggerSim.h
Referenced by process_event().
|
private |
Definition at line 69 of file CaloTriggerSim.h.
View newest version in sPHENIX GitHub at line 69 of file CaloTriggerSim.h
Referenced by process_event().
|
private |
Definition at line 68 of file CaloTriggerSim.h.
View newest version in sPHENIX GitHub at line 68 of file CaloTriggerSim.h
Referenced by process_event().