#include <LucidHitsTestTool.h>
Definition at line 10 of file LucidHitsTestTool.h.
◆ LucidHitsTestTool()
LucidHitsTestTool::LucidHitsTestTool |
( |
const std::string & |
type, |
|
|
const std::string & |
name, |
|
|
const IInterface * |
parent |
|
) |
| |
◆ getPrimary()
◆ initialize()
StatusCode LucidHitsTestTool::initialize |
( |
| ) |
|
|
virtual |
◆ processEvent()
StatusCode LucidHitsTestTool::processEvent |
( |
| ) |
|
Definition at line 65 of file LucidHitsTestTool.cxx.
71 m_x_v_y_edep->Fill( hit.GetX() , hit.GetY() , hit.GetEnergy() );
73 m_R_v_z_edep->Fill( std::sqrt( hit.GetX()*hit.GetX() + hit.GetY()*hit.GetY() ) , std::abs( hit.GetZ() ) , hit.GetEnergy() );
74 m_R_v_z_hits->Fill( std::sqrt( hit.GetX()*hit.GetX() + hit.GetY()*hit.GetY() ) , std::abs( hit.GetZ() ) );
76 m_R_v_z_post->Fill( std::sqrt( hit.GetEPX()*hit.GetEPX() + hit.GetEPY()*hit.GetEPY() ) , std::abs( hit.GetEPZ() ) );
78 m_pdgid->Fill( hit.GetPdgCode() );
79 m_time_edep->Fill( hit.GetPreStepTime() , hit.GetPostStepTime() , hit.GetEnergy() );
85 etot+=hit.GetEnergy();
89 return StatusCode::SUCCESS;
◆ m_gen_volume
TH1 * LucidHitsTestTool::m_gen_volume |
|
protected |
◆ m_histSvc
◆ m_hit_edep
TH1 * LucidHitsTestTool::m_hit_edep |
|
protected |
◆ m_key
std::string SimTestToolBase::m_key |
|
protectedinherited |
◆ m_path
std::string SimTestHisto::m_path {"/truth/"} |
|
protectedinherited |
◆ m_pdgid
TH1* LucidHitsTestTool::m_pdgid |
|
protected |
◆ m_R_v_z_edep
TH2 * LucidHitsTestTool::m_R_v_z_edep |
|
protected |
◆ m_R_v_z_hits
TH2 * LucidHitsTestTool::m_R_v_z_hits |
|
protected |
◆ m_R_v_z_post
TH2 * LucidHitsTestTool::m_R_v_z_post |
|
protected |
◆ m_time_edep
TH2 * LucidHitsTestTool::m_time_edep |
|
protected |
◆ m_total_e
TH1 * LucidHitsTestTool::m_total_e |
|
protected |
◆ m_tubeid
TH1 * LucidHitsTestTool::m_tubeid |
|
protected |
◆ m_wavelength
TH1 * LucidHitsTestTool::m_wavelength |
|
protected |
◆ m_x_v_y_edep
TH2* LucidHitsTestTool::m_x_v_y_edep |
|
protected |
◆ m_x_v_y_hits
TH2 * LucidHitsTestTool::m_x_v_y_hits |
|
protected |
◆ m_x_v_y_post
TH2* LucidHitsTestTool::m_x_v_y_post |
|
protected |
The documentation for this class was generated from the following files:
#define _TH2D(var, name, nbinx, xmin, xmax, nbiny, ymin, ymax)
#define _TH2D_WEIGHTED(var, name, nbinx, xmin, xmax, nbiny, ymin, ymax)