33 return StatusCode::SUCCESS;
48 if ( !eFexContainer.
isValid() ) {
53 nEmTOBs_total = eFexContainer->
size();
59 if(
key.key().find(
"Sim") == std::string::npos) {
73 if ( !eFexTauContainer.
isValid() ) {
78 nTauTOBs_total = eFexTauContainer->
size();
84 if(
key.key().find(
"Sim") == std::string::npos) {
94 return StatusCode::SUCCESS;
120 if (efexEmRoI->et() >= cut_et){
121 nEmTOBs_passcut += 1;
122 TOBeT = efexEmRoI->et();
124 TOBeta = efexEmRoI->eta();
125 TOBphi = efexEmRoI->phi();
127 TOBshelfNumber=efexEmRoI->shelfNumber();
130 if (TOBshelfNumber == 0) {
131 TOBeFEXNumberSh0 =
int(efexEmRoI->eFexNumber());
134 TOBeFEXNumberSh1 =
int(efexEmRoI->eFexNumber());
137 TOBfpga = efexEmRoI->fpga();
139 TOBReta = efexEmRoI->Reta();
141 TOBRhad = efexEmRoI->Rhad();
143 TOBWstot = efexEmRoI->Wstot();
145 TOBReta_threshold = efexEmRoI->RetaThresholds();
147 TOBRhad_threshold = efexEmRoI->RhadThresholds();
149 TOBWstot_threshold = efexEmRoI->WstotThresholds();
151 int iPhi = efexEmRoI->iPhi();
153 binNumber = (
iPhi+32)*50 + 25 + efexEmRoI->iEta();
159 return StatusCode::SUCCESS;
184 if (efexTauRoI->et() >= cut_et){
185 nTauTOBs_passcut += 1;
186 tauTOBeT = efexTauRoI->et();
188 tauTOBeta = efexTauRoI->eta();
189 tauTOBphi = efexTauRoI->phi();
191 tauTOBshelfNumber=efexTauRoI->shelfNumber();
194 if (tauTOBshelfNumber == 0) {
195 tauTOBeFEXNumberSh0 =
int(efexTauRoI->eFexNumber());
198 tauTOBeFEXNumberSh1 =
int(efexTauRoI->eFexNumber());
201 tauTOBfpga = efexTauRoI->fpga();
203 tauTOBRcore = efexTauRoI->rCore();
205 tauTOBRhad = efexTauRoI->rHad();
207 tauTOBRcore_threshold=efexTauRoI->rCoreThresholds();
209 tauTOBRhad_threshold=efexTauRoI->rHadThresholds();
211 tauTOBthree_threshold=efexTauRoI->tauThreeThresholds();
213 int iPhi = efexTauRoI->iPhi();
215 binNumber = (
iPhi+32)*50 + 26 + efexTauRoI->iEta();
221 return StatusCode::SUCCESS;