File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -358,8 +358,8 @@ namespace blip {
358358 art::fill_ptr_vector (plist, pHandle);
359359
360360 // -- SimEnergyDeposits
361- art::Handle<std::vector<sim::SimEnergyDeposit > > sedHandle;
362- std::vector<art::Ptr<sim::SimEnergyDeposit > > sedlist;
361+ art::Handle<std::vector<sim::IDE > > sedHandle;
362+ std::vector<art::Ptr<sim::IDE > > sedlist;
363363 if (evt.getByLabel (fSimDepProducer ,sedHandle)){
364364 art::fill_ptr_vector (sedlist, sedHandle);
365365 }
Original file line number Diff line number Diff line change @@ -61,9 +61,9 @@ namespace BlipUtils {
6161 pinfo.depEnergy = 0 ;
6262 pinfo.depElectrons = 0 ;
6363 for (auto & sed : sedvec ) {
64- if ( sed->TrackID () == part.TrackId () ) {
65- pinfo.depEnergy += sed->Energy () ;
66- pinfo.depElectrons += sed->NumElectrons () ;
64+ if ( sed->trackID == part.TrackId () ) {
65+ pinfo.depEnergy += sed->energy ;
66+ pinfo.depElectrons += sed->numElectrons ;
6767 }
6868 }
6969
Original file line number Diff line number Diff line change 3838#include " TH1D.h"
3939
4040
41- typedef std::vector<art::Ptr<sim::SimEnergyDeposit >> SEDVec_t;
41+ typedef std::vector<art::Ptr<sim::IDE >> SEDVec_t;
4242
4343geo::View_t kViews [3 ]={geo::kU , geo::kV , geo::kW };
4444
You can’t perform that action at this time.
0 commit comments