#include <SiHitsTestTool.h>
Definition at line 11 of file SiHitsTestTool.h.
◆ SiHitsTestTool()
SiHitsTestTool::SiHitsTestTool |
( |
const std::string & |
type, |
|
|
const std::string & |
name, |
|
|
const IInterface * |
parent |
|
) |
| |
◆ getPrimary()
◆ initialize()
StatusCode SiHitsTestTool::initialize |
( |
| ) |
|
|
virtual |
Reimplemented from SimTestToolBase.
Definition at line 31 of file SiHitsTestTool.cxx.
41 std::string
detName(
"Pixel"); std::string detpathName(
"Pixel");
44 detName =
"Pixel"; detpathName =
"Pixel";
47 detName =
"PileupPixel"; detpathName =
"Pixel";
50 detName =
"SCT"; detpathName =
"SCT";
53 detName =
"PileupSCT"; detpathName =
"SCT";
57 return StatusCode::FAILURE;
87 return StatusCode::SUCCESS;
◆ processEvent()
StatusCode SiHitsTestTool::processEvent |
( |
| ) |
|
Definition at line 90 of file SiHitsTestTool.cxx.
94 for (
const SiHit& hit : *p_collection) {
96 HepGeom::Point3D<double>
u = ghit.getGlobalPosition();
104 m_hits_time->Fill(hit.meanTime(),hit.energyLoss());
110 double step_length = ( hit.localStartPosition()-hit.localEndPosition() ).
mag();
114 if (hit.getBarrelEndcap()==0) {
137 return StatusCode::SUCCESS;
◆ m_collection
std::string SiHitsTestTool::m_collection |
|
private |
◆ m_histSvc
◆ m_hits_edep
TH1 * SiHitsTestTool::m_hits_edep |
|
private |
◆ m_hits_edep_r
TH1 * SiHitsTestTool::m_hits_edep_r |
|
private |
◆ m_hits_edep_z
TH1* SiHitsTestTool::m_hits_edep_z |
|
private |
◆ m_hits_edep_zr
TH2* SiHitsTestTool::m_hits_edep_zr |
|
private |
◆ m_hits_log_barcode
TH1* SiHitsTestTool::m_hits_log_barcode |
|
private |
◆ m_hits_log_edep
TH1 * SiHitsTestTool::m_hits_log_edep |
|
private |
◆ m_hits_log_step_length
TH1 * SiHitsTestTool::m_hits_log_step_length |
|
private |
◆ m_hits_step_length
TH1* SiHitsTestTool::m_hits_step_length |
|
private |
◆ m_hits_time
TH1* SiHitsTestTool::m_hits_time |
|
private |
◆ m_hits_xy
TH2* SiHitsTestTool::m_hits_xy |
|
private |
◆ m_hits_zr
TH2 * SiHitsTestTool::m_hits_zr |
|
private |
◆ m_indetBarrel
TH2* SiHitsTestTool::m_indetBarrel |
|
private |
◆ m_indetLongView
TH2 * SiHitsTestTool::m_indetLongView |
|
private |
◆ m_key
std::string SimTestToolBase::m_key |
|
protectedinherited |
◆ m_path
std::string SimTestHisto::m_path {"/truth/"} |
|
protectedinherited |
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)