77 std::string bitWise_flags(
"bitWise_flags");
79 const EventIDBase& EIHandle = context.eventID();
80 long int thisTimeStamp = (EIHandle).time_stamp();
81 long int thisTimeStampns = (EIHandle).time_stamp_ns_offset();
82 uint32_t thisLB = (EIHandle).lumi_block();
83 unsigned long long thisEv = (EIHandle).event_number();
84 ATH_MSG_DEBUG ( name() <<
" processing EN : " << thisEv <<
" in LB : " << thisLB <<
" TS : " << thisTimeStamp <<
" TSNS : " << thisTimeStampns );
89 ATH_MSG_DEBUG (
"Cells handle size: " << cellsHandle->size() <<
"..." );
92 std::set<unsigned int> bf;
93 std::vector<HWIdentifier> MNBfeb;
98 bf.insert(badchan.first);
112 if ( !(cellsHandle.
cptr()) )
return StatusCode::FAILURE;
113 unsigned int flag = 0;
116 std::unique_ptr<LArNoisyROSummary> noisyRO =
m_noisyROTool->process(context, cellsHandle.
cptr(), &bf, &MNBfeb,
nullptr);
122 if ( noisyRO->BadFEBFlaggedPartitions() ) {
130 if ( noisyRO->BadFEB_WFlaggedPartitions() ) {
138 if ( noisyRO->SatTightFlaggedPartitions() ) {
146 if ( noisyRO->MNBLooseFlaggedPartitions() ) {
154 if ( noisyRO->MNBTightFlaggedPartitions() ) {
162 if ( noisyRO->MNBTight_PsVetoFlaggedPartitions() ) {
171 if ( (flag &
m_mask) != 0x0 ) {
187 boost::property_tree::ptree event_tree;
188 event_tree.put(
"eventNumber",thisEv);
189 event_tree.put(
"LBNumber",thisLB);
191 hltinterface::IInfoRegister::instance()->beginEvent(event_tree);
200 for(
unsigned int dd=0;dd<tt.size();dd++){
202 toBeCleared = (int)dd-1;
207 if ( toBeCleared > 0 ) {
208 ee.erase(ee.begin(),ee.begin()+(toBeCleared) );
209 tt.erase(tt.begin(),tt.begin()+(toBeCleared) );
210 ttn.erase(ttn.begin(),ttn.begin()+(toBeCleared) );
212 m_timeTagPosRec = thisTimeStamp ;
218 hltinterface::IInfoRegister::instance()->endEvent(event_tree);
219 }
catch(
const std::exception &ex){
220 ATH_MSG_INFO(
"Caught exception while calling hltinterface::IInfoRegister::instance()->endEvent for event " << thisEv
221 <<
" at LB " << thisLB
222 <<
". Exception was "<<ex.what());
226 auto output = std::make_unique<bool>(pass);
229 return StatusCode::SUCCESS;