![]() |
Analysis Software
Documentation for sPHENIX simulation software
|
#include <analysis/blob/master/Calo_waveform_sim/src/CaloWaveFormSim.h>
Inheritance diagram for CaloWaveFormSim:
Collaboration diagram for CaloWaveFormSim:Public Member Functions | |
| CaloWaveFormSim (const std::string &name="CaloWaveFormSim", const std::string &fname="MyNtuple.root") | |
| constructor | |
| virtual | ~CaloWaveFormSim () |
| destructor | |
| int | Init (PHCompositeNode *) |
| full initialization | |
| int | process_event (PHCompositeNode *) |
| event processing method | |
| int | End (PHCompositeNode *) |
| end of run method | |
| int | process_g4hits (PHCompositeNode *) |
| int | process_g4cells (PHCompositeNode *) |
| int | process_towers (PHCompositeNode *) |
| int | process_clusters (PHCompositeNode *) |
| void | Detector (const std::string &name) |
Public Member Functions inherited from SubsysReco | |
| ~SubsysReco () override | |
| virtual int | EndRun (const int) |
| Called at the end of each run. | |
| virtual int | InitRun (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. | |
Static Public Member Functions | |
| static double | template_function (double *x, double *par) |
| static double | template_function_ihcal (double *x, double *par) |
| static double | template_function_ohcal (double *x, double *par) |
Protected Attributes | |
| std::string | detector |
| std::string | outfilename |
| Fun4AllHistoManager * | hm |
| TFile * | outfile |
| std::vector< float > | m_t0 |
| std::vector< float > | m_edep |
| std::vector< float > | m_nhits |
| std::vector< float > | m_z0 |
| std::vector< float > | m_x0 |
| std::vector< float > | m_y0 |
| std::vector< float > | m_eta |
| std::vector< float > | m_phi |
| std::vector< float > | m_primid |
| std::vector< float > | m_primpt |
| std::vector< float > | m_primeta |
| std::vector< float > | m_primphi |
| std::vector< float > | m_primtrkid |
| std::vector< float > | m_g4primtrkid |
| std::vector< float > | m_g4primpt |
| std::vector< float > | m_etabin |
| std::vector< float > | m_phibin |
| std::vector< float > | m_geoetabin |
| std::vector< float > | m_geophibin |
| int | m_waveform [24576][16] |
| int | m_waveform_ihcal [1536][16] |
| int | m_waveform_ohcal [1536][16] |
| int | m_ndep [24576] |
| float | m_tedep [24576] |
| float | m_tedep_ihcal [1536] |
| float | m_tedep_ohcal [1536] |
| float | m_extractedadc [24576] |
| float | m_extractedtime [24576] |
| float | m_extractedadc_ihcal [1536] |
| float | m_extractedtime_ihcal [1536] |
| float | m_extractedadc_ohcal [1536] |
| float | m_extractedtime_ohcal [1536] |
| float | m_toweradc [24576] |
| float | m_toweradc_ihcal [1536] |
| float | m_toweradc_ohcal [1536] |
| int | m_npeaks_ihcal [1536] |
| int | m_npeaks_ohcal [1536] |
| TTree * | g4hitntuple |
| CaloWaveformProcessing * | WaveformProcessing |
| CaloWaveformProcessing * | WaveformProcessing_ihcal |
| CaloWaveformProcessing * | WaveformProcessing_ohcal |
| PHG4FullProjSpacalCellReco::LightCollectionModel | light_collection_model |
| TTree * | noise_midrad |
| TTree * | noise_lowrad |
| TTree * | noise_norad |
| float | noise_val_midrad [31] |
| float | noise_val_lowrad [31] |
| float | noise_val_norad [31] |
| TRandom3 * | rnd |
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") | |
Definition at line 17 of file CaloWaveFormSim.h.
View newest version in sPHENIX GitHub at line 17 of file CaloWaveFormSim.h
| CaloWaveFormSim::CaloWaveFormSim | ( | const std::string & | name = "CaloWaveFormSim", |
| const std::string & | fname = "MyNtuple.root" |
||
| ) |
constructor
Definition at line 78 of file CaloWaveFormSim.cc.
View newest version in sPHENIX GitHub at line 78 of file CaloWaveFormSim.cc
|
virtual |
destructor
Definition at line 89 of file CaloWaveFormSim.cc.
View newest version in sPHENIX GitHub at line 89 of file CaloWaveFormSim.cc
References g4hitntuple, and hm.
|
inline |
Definition at line 43 of file CaloWaveFormSim.h.
View newest version in sPHENIX GitHub at line 43 of file CaloWaveFormSim.h
References perf_headwind::name.
Referenced by Fun4All_CaloWaveFormSim().
Here is the caller graph for this function:
|
virtual |
end of run method
Reimplemented from SubsysReco.
Definition at line 780 of file CaloWaveFormSim.cc.
View newest version in sPHENIX GitHub at line 780 of file CaloWaveFormSim.cc
References Fun4AllHistoManager::dumpHistos(), g4hitntuple, hm, outfile, and outfilename.
Here is the call graph for this function:
|
virtual |
full initialization
Reimplemented from SubsysReco.
Definition at line 95 of file CaloWaveFormSim.cc.
View newest version in sPHENIX GitHub at line 95 of file CaloWaveFormSim.cc
References assert, g4hitntuple, h_template, h_template_ihcal, h_template_ohcal, hm, i, CaloWaveformProcessing::initialize_processing(), light_collection_model, m_extractedadc, m_extractedadc_ihcal, m_extractedadc_ohcal, m_extractedtime, m_extractedtime_ihcal, m_extractedtime_ohcal, m_primeta, m_primphi, m_primpt, m_tedep, m_tedep_ihcal, m_tedep_ohcal, m_toweradc, m_toweradc_ihcal, m_toweradc_ohcal, Fun4AllBase::Name(), noise_lowrad, noise_midrad, noise_norad, noise_val_lowrad, noise_val_midrad, noise_val_norad, outfile, outfilename, rnd, CaloWaveformProcessing::set_processing_type(), CaloWaveformProcessing::set_template_file(), CaloWaveformProcessing::TEMPLATE, WaveformProcessing, WaveformProcessing_ihcal, and WaveformProcessing_ohcal.
Here is the call graph for this function:| int CaloWaveFormSim::process_clusters | ( | PHCompositeNode * | ) |
|
virtual |
event processing method
Reimplemented from SubsysReco.
Definition at line 199 of file CaloWaveFormSim.cc.
View newest version in sPHENIX GitHub at line 199 of file CaloWaveFormSim.cc
References Fun4AllReturnCodes::EVENT_OK, and process_g4hits().
Here is the call graph for this function:| int CaloWaveFormSim::process_g4cells | ( | PHCompositeNode * | ) |
| int CaloWaveFormSim::process_g4hits | ( | PHCompositeNode * | topNode | ) |
Definition at line 206 of file CaloWaveFormSim.cc.
View newest version in sPHENIX GitHub at line 206 of file CaloWaveFormSim.cc
References assert, detector, energy, eta, KF_timing::etabin, Fun4AllReturnCodes::EVENT_OK, PHG4CylinderGeom_Spacalv3::scint_id_coder::fiber_ID, g4hitntuple, PHG4Particle::get_e(), PHG4CylinderCellGeom_Spacalv1::get_etabin_block(), PHG4CylinderGeom_Spacalv3::get_n_subtower_eta(), PHG4CylinderGeom_Spacalv3::get_n_subtower_phi(), PHG4Particle::get_pid(), PHG4Particle::get_px(), PHG4Particle::get_py(), PHG4Particle::get_pz(), PHG4CylinderGeom_Spacalv3::get_sector_tower_map(), PHG4CylinderGeom_Spacalv3::get_tower_z_phi_ID(), PHG4Particle::get_track_id(), PHG4CylinderCellGeomContainer::GetFirstLayerCellGeom(), PHG4CylinderGeomContainer::GetFirstLayerGeom(), PHG4HitContainer::getHits(), PHG4TruthInfoContainer::GetPrimaryParticleRange(), RawTowerContainer::getTowers(), PHG4HitDefs::hit_idbits, i, j, k, light_collection_model, testing::internal::Log(), m_etabin, m_extractedadc, m_extractedadc_ihcal, m_extractedadc_ohcal, m_extractedtime, m_extractedtime_ihcal, m_extractedtime_ohcal, m_ndep, m_phibin, m_primeta, m_primid, m_primphi, m_primpt, m_primtrkid, m_tedep, m_tedep_ihcal, m_tedep_ohcal, m_toweradc, m_toweradc_ihcal, m_toweradc_ohcal, m_waveform, m_waveform_ihcal, m_waveform_ohcal, noise_lowrad, noise_midrad, noise_norad, noise_val_lowrad, noise_val_midrad, noise_val_norad, ActsTests::PropagationDatasets::phi, CaloWaveformProcessing::process_waveform(), physmon_track_finding_ttbar::pt, rnd, ROWDIM, PHG4CylinderGeom_Spacalv3::scint_id_coder::sector_ID, template_function(), template_function_ihcal(), template_function_ohcal(), ActsTests::PropagationDatasets::theta, Acts::Test::tmp(), PHG4CylinderGeom_Spacalv3::scint_id_coder::tower_ID, WaveformProcessing, WaveformProcessing_ihcal, WaveformProcessing_ohcal, ambiguity_solver_full_chain::x, y, and physmon_track_finding_ttbar::z.
Referenced by process_event().
Here is the call graph for this function:
Here is the caller graph for this function:| int CaloWaveFormSim::process_towers | ( | PHCompositeNode * | ) |
Definition at line 58 of file CaloWaveFormSim.cc.
View newest version in sPHENIX GitHub at line 58 of file CaloWaveFormSim.cc
References h_template, and v1.
Referenced by process_g4hits().
Here is the caller graph for this function:Definition at line 64 of file CaloWaveFormSim.cc.
View newest version in sPHENIX GitHub at line 64 of file CaloWaveFormSim.cc
References h_template_ihcal, and v1.
Referenced by process_g4hits().
Here is the caller graph for this function:Definition at line 70 of file CaloWaveFormSim.cc.
View newest version in sPHENIX GitHub at line 70 of file CaloWaveFormSim.cc
References h_template_ohcal, and v1.
Referenced by process_g4hits().
Here is the caller graph for this function:
|
protected |
Definition at line 46 of file CaloWaveFormSim.h.
View newest version in sPHENIX GitHub at line 46 of file CaloWaveFormSim.h
Referenced by process_g4hits().
|
protected |
Definition at line 98 of file CaloWaveFormSim.h.
View newest version in sPHENIX GitHub at line 98 of file CaloWaveFormSim.h
Referenced by End(), Init(), process_g4hits(), and ~CaloWaveFormSim().
|
protected |
Definition at line 48 of file CaloWaveFormSim.h.
View newest version in sPHENIX GitHub at line 48 of file CaloWaveFormSim.h
Referenced by End(), Init(), and ~CaloWaveFormSim().
|
protected |
Definition at line 107 of file CaloWaveFormSim.h.
View newest version in sPHENIX GitHub at line 107 of file CaloWaveFormSim.h
Referenced by Init(), and process_g4hits().
|
protected |
Definition at line 52 of file CaloWaveFormSim.h.
View newest version in sPHENIX GitHub at line 52 of file CaloWaveFormSim.h
|
protected |
Definition at line 57 of file CaloWaveFormSim.h.
View newest version in sPHENIX GitHub at line 57 of file CaloWaveFormSim.h
|
protected |
Definition at line 67 of file CaloWaveFormSim.h.
View newest version in sPHENIX GitHub at line 67 of file CaloWaveFormSim.h
Referenced by process_g4hits().
|
protected |
Definition at line 81 of file CaloWaveFormSim.h.
View newest version in sPHENIX GitHub at line 81 of file CaloWaveFormSim.h
Referenced by Init(), and process_g4hits().
|
protected |
Definition at line 84 of file CaloWaveFormSim.h.
View newest version in sPHENIX GitHub at line 84 of file CaloWaveFormSim.h
Referenced by Init(), and process_g4hits().
|
protected |
Definition at line 87 of file CaloWaveFormSim.h.
View newest version in sPHENIX GitHub at line 87 of file CaloWaveFormSim.h
Referenced by Init(), and process_g4hits().
|
protected |
Definition at line 82 of file CaloWaveFormSim.h.
View newest version in sPHENIX GitHub at line 82 of file CaloWaveFormSim.h
Referenced by Init(), and process_g4hits().
|
protected |
Definition at line 85 of file CaloWaveFormSim.h.
View newest version in sPHENIX GitHub at line 85 of file CaloWaveFormSim.h
Referenced by Init(), and process_g4hits().
|
protected |
Definition at line 88 of file CaloWaveFormSim.h.
View newest version in sPHENIX GitHub at line 88 of file CaloWaveFormSim.h
Referenced by Init(), and process_g4hits().
|
protected |
Definition at line 66 of file CaloWaveFormSim.h.
View newest version in sPHENIX GitHub at line 66 of file CaloWaveFormSim.h
|
protected |
Definition at line 65 of file CaloWaveFormSim.h.
View newest version in sPHENIX GitHub at line 65 of file CaloWaveFormSim.h
|
protected |
Definition at line 70 of file CaloWaveFormSim.h.
View newest version in sPHENIX GitHub at line 70 of file CaloWaveFormSim.h
|
protected |
Definition at line 71 of file CaloWaveFormSim.h.
View newest version in sPHENIX GitHub at line 71 of file CaloWaveFormSim.h
|
protected |
Definition at line 76 of file CaloWaveFormSim.h.
View newest version in sPHENIX GitHub at line 76 of file CaloWaveFormSim.h
Referenced by process_g4hits().
|
protected |
Definition at line 53 of file CaloWaveFormSim.h.
View newest version in sPHENIX GitHub at line 53 of file CaloWaveFormSim.h
|
protected |
Definition at line 94 of file CaloWaveFormSim.h.
View newest version in sPHENIX GitHub at line 94 of file CaloWaveFormSim.h
|
protected |
Definition at line 95 of file CaloWaveFormSim.h.
View newest version in sPHENIX GitHub at line 95 of file CaloWaveFormSim.h
|
protected |
Definition at line 58 of file CaloWaveFormSim.h.
View newest version in sPHENIX GitHub at line 58 of file CaloWaveFormSim.h
|
protected |
Definition at line 68 of file CaloWaveFormSim.h.
View newest version in sPHENIX GitHub at line 68 of file CaloWaveFormSim.h
Referenced by process_g4hits().
|
protected |
Definition at line 61 of file CaloWaveFormSim.h.
View newest version in sPHENIX GitHub at line 61 of file CaloWaveFormSim.h
Referenced by Init(), and process_g4hits().
|
protected |
Definition at line 59 of file CaloWaveFormSim.h.
View newest version in sPHENIX GitHub at line 59 of file CaloWaveFormSim.h
Referenced by process_g4hits().
|
protected |
Definition at line 62 of file CaloWaveFormSim.h.
View newest version in sPHENIX GitHub at line 62 of file CaloWaveFormSim.h
Referenced by Init(), and process_g4hits().
|
protected |
Definition at line 60 of file CaloWaveFormSim.h.
View newest version in sPHENIX GitHub at line 60 of file CaloWaveFormSim.h
Referenced by Init(), and process_g4hits().
|
protected |
Definition at line 64 of file CaloWaveFormSim.h.
View newest version in sPHENIX GitHub at line 64 of file CaloWaveFormSim.h
Referenced by process_g4hits().
|
protected |
Definition at line 51 of file CaloWaveFormSim.h.
View newest version in sPHENIX GitHub at line 51 of file CaloWaveFormSim.h
|
protected |
Definition at line 77 of file CaloWaveFormSim.h.
View newest version in sPHENIX GitHub at line 77 of file CaloWaveFormSim.h
Referenced by Init(), and process_g4hits().
|
protected |
Definition at line 78 of file CaloWaveFormSim.h.
View newest version in sPHENIX GitHub at line 78 of file CaloWaveFormSim.h
Referenced by Init(), and process_g4hits().
|
protected |
Definition at line 79 of file CaloWaveFormSim.h.
View newest version in sPHENIX GitHub at line 79 of file CaloWaveFormSim.h
Referenced by Init(), and process_g4hits().
|
protected |
Definition at line 90 of file CaloWaveFormSim.h.
View newest version in sPHENIX GitHub at line 90 of file CaloWaveFormSim.h
Referenced by Init(), and process_g4hits().
|
protected |
Definition at line 91 of file CaloWaveFormSim.h.
View newest version in sPHENIX GitHub at line 91 of file CaloWaveFormSim.h
Referenced by Init(), and process_g4hits().
|
protected |
Definition at line 92 of file CaloWaveFormSim.h.
View newest version in sPHENIX GitHub at line 92 of file CaloWaveFormSim.h
Referenced by Init(), and process_g4hits().
|
protected |
Definition at line 73 of file CaloWaveFormSim.h.
View newest version in sPHENIX GitHub at line 73 of file CaloWaveFormSim.h
Referenced by process_g4hits().
|
protected |
Definition at line 74 of file CaloWaveFormSim.h.
View newest version in sPHENIX GitHub at line 74 of file CaloWaveFormSim.h
Referenced by process_g4hits().
|
protected |
Definition at line 75 of file CaloWaveFormSim.h.
View newest version in sPHENIX GitHub at line 75 of file CaloWaveFormSim.h
Referenced by process_g4hits().
|
protected |
Definition at line 55 of file CaloWaveFormSim.h.
View newest version in sPHENIX GitHub at line 55 of file CaloWaveFormSim.h
|
protected |
Definition at line 56 of file CaloWaveFormSim.h.
View newest version in sPHENIX GitHub at line 56 of file CaloWaveFormSim.h
|
protected |
Definition at line 54 of file CaloWaveFormSim.h.
View newest version in sPHENIX GitHub at line 54 of file CaloWaveFormSim.h
|
protected |
Definition at line 109 of file CaloWaveFormSim.h.
View newest version in sPHENIX GitHub at line 109 of file CaloWaveFormSim.h
Referenced by Init(), and process_g4hits().
|
protected |
Definition at line 108 of file CaloWaveFormSim.h.
View newest version in sPHENIX GitHub at line 108 of file CaloWaveFormSim.h
Referenced by Init(), and process_g4hits().
|
protected |
Definition at line 110 of file CaloWaveFormSim.h.
View newest version in sPHENIX GitHub at line 110 of file CaloWaveFormSim.h
Referenced by Init(), and process_g4hits().
|
protected |
Definition at line 112 of file CaloWaveFormSim.h.
View newest version in sPHENIX GitHub at line 112 of file CaloWaveFormSim.h
Referenced by Init(), and process_g4hits().
|
protected |
Definition at line 111 of file CaloWaveFormSim.h.
View newest version in sPHENIX GitHub at line 111 of file CaloWaveFormSim.h
Referenced by Init(), and process_g4hits().
|
protected |
Definition at line 113 of file CaloWaveFormSim.h.
View newest version in sPHENIX GitHub at line 113 of file CaloWaveFormSim.h
Referenced by Init(), and process_g4hits().
|
protected |
Definition at line 49 of file CaloWaveFormSim.h.
View newest version in sPHENIX GitHub at line 49 of file CaloWaveFormSim.h
|
protected |
Definition at line 47 of file CaloWaveFormSim.h.
View newest version in sPHENIX GitHub at line 47 of file CaloWaveFormSim.h
|
protected |
Definition at line 114 of file CaloWaveFormSim.h.
View newest version in sPHENIX GitHub at line 114 of file CaloWaveFormSim.h
Referenced by Init(), and process_g4hits().
|
protected |
Definition at line 103 of file CaloWaveFormSim.h.
View newest version in sPHENIX GitHub at line 103 of file CaloWaveFormSim.h
Referenced by Init(), and process_g4hits().
|
protected |
Definition at line 104 of file CaloWaveFormSim.h.
View newest version in sPHENIX GitHub at line 104 of file CaloWaveFormSim.h
Referenced by Init(), and process_g4hits().
|
protected |
Definition at line 105 of file CaloWaveFormSim.h.
View newest version in sPHENIX GitHub at line 105 of file CaloWaveFormSim.h
Referenced by Init(), and process_g4hits().