3 #include "StjTrgDisableTowerHT.h"
19 if( ! _src->soft() ) {
24 vector<int> srcTowers = _src->towers();
25 vector<int> srcTowerDsmAdc = _src->towerDsmAdc();
26 vector<unsigned int> srcTowerAdc = _src->towerAdc();
27 vector<double> srcTowerEnergy = _src->towerEnergy();
28 vector<double> srcTowerEt = _src->towerEt();
30 for(
size_t i = 0; i != srcTowers.size(); ++i) {
31 _towers.push_back(srcTowers[i]);
32 _towerDsmAdc.push_back(srcTowerDsmAdc[i]);
33 _towerAdc.push_back(srcTowerAdc[i]);
34 if( _badTowerIdSet.count(srcTowers[i]) )
36 _towerEnergy.push_back(0.0);
37 _towerEt.push_back(0.0);
41 _towerEnergy.push_back(srcTowerEnergy[i]);
42 _towerEt.push_back(srcTowerEt[i]);
46 _passed = ( ! _towers.empty() );
49 bool StjTrgDisableTowerHT::soft()
const
55 vector<int> StjTrgDisableTowerHT::towers()
61 vector<int> StjTrgDisableTowerHT::towerDsmAdc()
67 vector<unsigned int> StjTrgDisableTowerHT::towerAdc()
73 vector<double> StjTrgDisableTowerHT::towerEnergy()
79 vector<double> StjTrgDisableTowerHT::towerEt()