|
| edep_hist = TH1F("CDC_edep", "Energy deposition from CDCSimHits", 100, 0.0, 10e-6) |
| histogram for SimHit energy deposition
|
|
| pos_hist |
| histogram for SimHit positions More...
|
|
Generate some histograms to pass to the display.
Definition at line 23 of file histogram_monitor.py.
◆ event()
reimplementation of Module::event().
Definition at line 39 of file histogram_monitor.py.
40 """reimplementation of Module::event()."""
46 for hit
in cdcsimhits:
47 self.edep_hist.Fill(hit.getEnergyDep())
49 self.pos_hist.Fill(p.X(), p.Y(), p.Z())
51 displayData.obj().addHistogram(
"CDC_edep", self.edep_hist)
52 displayData.obj().addHistogram(
"CDC_pos", self.pos_hist)
A (simplified) python wrapper for StoreArray.
a (simplified) python wrapper for StoreObjPtr.
◆ initialize()
◆ pos_hist
Initial value:= TH3F("CDC_pos", "Positions of CDCSimHits",
100, -150.0, 150.0,
100, -150.0, 150.0,
100, -150.0, 150.0)
histogram for SimHit positions
Definition at line 29 of file histogram_monitor.py.
The documentation for this class was generated from the following file: