3 #include "StjTrgRaiseThresholdEtJP.h"
14 _jetPatchDsmAdc.clear();
16 _jetPatchEnergy.clear();
19 if( ! _src->soft() ) {
24 vector<int> srcJetPatchs = _src->jetPatches();
25 vector<int> srcJetPatchDsmAdc = _src->jetPatchDsmAdc();
26 vector<unsigned int> srcJetPatchAdc = _src->jetPatchAdc();
27 vector<double> srcJetPatchEnergy = _src->jetPatchEnergy();
28 vector<double> srcJetPatchEt = _src->jetPatchEt();
30 for(
size_t i = 0; i != srcJetPatchs.size(); ++i) {
31 if(srcJetPatchEt[i] < _minEt)
continue;
33 _jetPatches.push_back(srcJetPatchs[i]);
34 _jetPatchDsmAdc.push_back(srcJetPatchDsmAdc[i]);
35 _jetPatchAdc.push_back(srcJetPatchAdc[i]);
36 _jetPatchEnergy.push_back(srcJetPatchEnergy[i]);
37 _jetPatchEt.push_back(srcJetPatchEt[i]);
40 _passed = ( ! _jetPatches.empty() );
43 bool StjTrgRaiseThresholdEtJP::soft()
const
49 vector<int> StjTrgRaiseThresholdEtJP::jetPatches()
55 vector<int> StjTrgRaiseThresholdEtJP::jetPatchDsmAdc()
58 return _jetPatchDsmAdc;
61 vector<unsigned int> StjTrgRaiseThresholdEtJP::jetPatchAdc()
67 vector<double> StjTrgRaiseThresholdEtJP::jetPatchEnergy()
70 return _jetPatchEnergy;
73 vector<double> StjTrgRaiseThresholdEtJP::jetPatchEt()