3 #include "StjeTowerEnergyListToStMuTrackFourVecList.h"
5 #include "StjTowerEnergyToTLorentzVector.h"
7 #include "../emulator/StMuTrackFourVec.h"
8 #include "../emulator/StMuTowerEmu.h"
10 StjeTowerEnergyListToStMuTrackFourVecList::StjeTowerEnergyListToStMuTrackFourVecList()
13 FourList StjeTowerEnergyListToStMuTrackFourVecList::operator()(
const StjTowerEnergyList& energyDepositList)
17 for(StjTowerEnergyList::const_iterator tower = energyDepositList.begin(); tower != energyDepositList.end(); ++tower) {
19 TLorentzVector p4 = _energyTo4p(*tower);
32 TLorentzVector mom = _energyTo4p(tower);
37 ret->_adc = tower.adc;
38 ret->_pedestal = tower.pedestal;
39 ret->_rms = tower.rms;
40 ret->_status = tower.status;
41 ret->_id = tower.towerId;
42 ret->_detectorId = tower.detectorId;