16 m_LArOnlineIDHelper(nullptr) {
31 std::vector<std::string>
part;
47 if( !
isMC && badCont->size()==0) {
69 if( !
isMC && mnbCont->size()==0) {
101 if (!noisyRO.isValid())
104 return StatusCode::SUCCESS;
107 unsigned int LBN = eventInfo->
lumiBlock();
110 const std::vector<HWIdentifier>& mnbtightFEB = noisyRO->get_MNBTight_febs();
111 const std::vector<HWIdentifier>& mnbtight_PsVetoFEB = noisyRO->get_MNBTight_PsVeto_febs();
112 const std::vector<HWIdentifier>& mnblooseFEB = noisyRO->get_MNBLoose_febs();
115 std::vector<int> v_candidate_MNBTightFEB;
116 std::vector<int> v_candidate_MNBTight_PsVetoFEB;
117 std::vector<int> v_candidate_MNBLooseFEB;
119 for(
unsigned int iFeb=0; iFeb<mnbtightFEB.size(); iFeb++)
120 v_candidate_MNBTightFEB.push_back(mnbtightFEB.at(iFeb).get_identifier32().get_compact());
122 for(
unsigned int iFeb=0; iFeb<mnbtight_PsVetoFEB.size(); iFeb++)
123 v_candidate_MNBTight_PsVetoFEB.push_back(mnbtight_PsVetoFEB.at(iFeb).get_identifier32().get_compact());
126 for(
unsigned int iFeb=0; iFeb<mnblooseFEB.size(); iFeb++)
127 v_candidate_MNBLooseFEB.push_back(mnblooseFEB.at(iFeb).get_identifier32().get_compact());
130 if(v_candidate_MNBLooseFEB.size() > 0 || v_candidate_MNBTightFEB.size() > 0) {
137 auto mon_candidate_MNBTightFEB =
Monitored::Collection(
"v_candidate_MNBTightFEB", v_candidate_MNBTightFEB);
138 auto mon_candidate_MNBTight_PsVetoFEB =
Monitored::Collection(
"v_candidate_MNBTight_PsVetoFEB", v_candidate_MNBTight_PsVetoFEB);
139 auto mon_candidate_MNBLooseFEB =
Monitored::Collection(
"v_candidate_MNBLooseFEB", v_candidate_MNBLooseFEB);
143 fill(
m_MonGroupName,candidate_MNB_time,candidate_MNB_time_ns,n_candidate_MNBTight_FEB,n_candidate_MNBTight_PsVeto_FEB,n_candidate_MNBLoose_FEB,mon_candidate_MNBTightFEB,mon_candidate_MNBTight_PsVetoFEB,mon_candidate_MNBLooseFEB);
176 if ( burstveto ) algo |= 0x4;
184 unsigned long trigbits = 0;
185 unsigned long L1trigbits = 0;
193 ATH_MSG_DEBUG(
"Trigger words: " << std::hex << trigbits <<
" " << L1trigbits << std::dec);
195 if(!
m_doHisto)
return StatusCode::SUCCESS;
198 const std::vector<HWIdentifier>& noisyFEB = noisyRO->get_noisy_febs();
202 unsigned int NbNoisyFEB = 0;
209 for (
size_t i = 0;
i<noisyFEB.size();
i++) {
230 ATH_MSG_DEBUG(
"MNBTight FEB vector size " << mnbtightFEB.size());
235 for (
size_t i = 0;
i<mnbtightFEB.size();
i++) {
246 if((noisyRO->MNBTightFlaggedPartitions() & partMask[
partition]) != 0){
261 ATH_MSG_DEBUG(
"MNBTight_PsVeto FEB vector size " << mnbtight_PsVetoFEB.size());
262 for (
size_t i = 0;
i<mnbtight_PsVetoFEB.size();
i++) {
273 if((noisyRO->MNBTight_PsVetoFlaggedPartitions() & partMask[
partition]) != 0){
274 slot_PsVetoTight =
unsigned(slot_PsVetoTightCan);
275 FT_PsVetoTight =
unsigned(FT_PsVetoTightCan);
288 ATH_MSG_DEBUG(
"MNBLoose FEB vector size " << mnblooseFEB.size());
289 for (
size_t i = 0;
i<mnblooseFEB.size();
i++) {
300 if((noisyRO->MNBLooseFlaggedPartitions() & partMask[
partition]) != 0){
311 uint8_t BadFEBPartitions = noisyRO->BadFEBFlaggedPartitions();
312 if ( BadFEBPartitions != 0) {
316 if ( (BadFEBPartitions & partMask[
i]) != 0 ) {
329 uint8_t SatTightPartitions = noisyRO->SatTightFlaggedPartitions();
334 if ( (SatTightPartitions & partMask[
i]) != 0 ) {
345 uint8_t MNBTightPartitions = noisyRO->MNBTightFlaggedPartitions();
346 if ( MNBTightPartitions != 0) {
350 if ( (MNBTightPartitions & partMask[
i]) != 0 ) {
360 uint8_t MNBTight_PsVetoPartitions = noisyRO->MNBTight_PsVetoFlaggedPartitions();
361 if ( MNBTight_PsVetoPartitions != 0) {
365 if ( (MNBTight_PsVetoPartitions & partMask[
i]) != 0 ) {
375 uint8_t MNBLoosePartitions = noisyRO->MNBLooseFlaggedPartitions();
376 if ( MNBLoosePartitions != 0) {
380 if ( (MNBLoosePartitions & partMask[
i]) != 0 ) {
389 return StatusCode::SUCCESS;
393 unsigned long triggerbits,
unsigned long L1triggerbits)
const{
396 if ( triggerbits ==0 ) {
401 if ( triggerbits & (0
x1 <<
i) ) {
409 if ( L1triggerbits ==0 ) {
414 if ( L1triggerbits & (0
x1 <<
i) ) {